[ncolug] Re: Wifi billing with mac filter?

Righ, but both subinterfaces are going to see the boradcast.  So it will
look like there was a request on each of the networks that the DHCP server
is providing addresses for.  Because of that, the range that is all
reserved will not have a free address to give to the requesting client, so
it will send a NACK.

Because of this, even if the other sub-interface responds with a proposal,
the client will receive the NACK and not bind to that address.



> By the MAC address as Bryan stated earlier.  Atleast the ISC dhcp
> server can handle this is memory serves.
>
> Mike
>
> On Tue, Nov 07, 2006 at 12:57:17PM -0500, Michael Knisely wrote:
>> How could you server 2 dhcp address spaces off the same physical
>> interface even if you are using subinterfaces?
>>
>> The dhcp request is going to come in as a 255.255.255.255 broadcast and
>> a ff.ff.ff.ff.ff.ff boradcast.  It's going to hit both of the
>> subinterfaces.
>>
>> If you reserve the entire pool, you'll get the DHCP server giving the
>> client a NACK and the client won't accept the offer by on the other
>> subinterface.
>>
>> Mike K.
>>
>> Bryan Savage wrote:
>> >Michael Knisely wrote:
>> >>So, would you use policy based routing to direct users within the
>> >>reserved
>> >>DHCP pool to one captive portal and those not reserved to the
>> >>authenticating server's portal?
>> >>Or, would you use Apache to display a page based upon the address of
>> >>the requester?  What is the Apache module that does this?
>> >>
>> >Keep all the business logic is in the router/firewall.  Putting any
>> >type of list in Apache would mean duplicate effort to maintain the
>> list.
>> >You /could/ use one pool but I suggest using use two pools for
>> >simplicity (Authorized MAC addresses in one pool.  Everyone else in
>> >another).
>> >>You're not, as I know DHCPD, going to be able to assign two different
>> >>address ranges via the same physical LAN, right?
>> >>
>> >>
>> >>
>> >You can assign multiple number of IP ranges on the same interface. I'd
>> >have to look up how to do this but I know it is possible since I've
>> >done it.  It's also noteworthy that if you want two different subnets
>> >to work on the same interface, you need two IP addresses on that
>> >interface.
>> >
>> >Bryan
>> >
>> >
>> >
>> >Bryan
>> >
>> >
>> >
>> >To unsubscribe send to ncolug-request@xxxxxxxxxxxxx with 'unsubscribe'
>> >in the Subject field.
>> >
>>
>>
>> To unsubscribe send to ncolug-request@xxxxxxxxxxxxx with 'unsubscribe'
>> in
>> the Subject field.
>>
>>
>
> To unsubscribe send to ncolug-request@xxxxxxxxxxxxx with 'unsubscribe' in
> the Subject field.
>
>



To unsubscribe send to ncolug-request@xxxxxxxxxxxxx with 'unsubscribe' in the 
Subject field.

Other related posts: