class member

Simon Hobson dhcp1 at
Thu Nov 20 18:14:44 UTC 2008

Paolo Barbato wrote:
>I'd like to restrict access to some specific pools, from some 
>specific VLAN,  by means of a class that take care of the source ip 
>of the request packet.
>I mean the "via" IP address.
>Is it possible ?

It's not only possible, it's automagic !

If the only thing you look at is the relay agent address (GIAddr, 
Gateway Interface Address) then all the class membership will tell 
you is which physical the client is connected to - including which 
VLAN as VLANs are treated just the same as multiple real LANs. The 
server will automagically take care of only assigning addresses to 
clients from pools which are appropriate to the physical network.

If this isn't working for you then post your config and we can take a 
look, but fist, check that you haven't used a shared-network where 
you shouldn't have (VLANs are NOT a shared network).

Simon Hobson

Visit for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

More information about the dhcp-users mailing list