class options.

Simon Hobson dhcp1 at thehobsons.co.uk
Thu Sep 7 16:34:05 UTC 2006


I wrote:

>Are there any clients that will not be a member of any class ? If not
>then you can simply do :
>
>shared subnet "randomusers" {
>    subnet 10.0.0.0 netmask 255.255.255.0 {
>    pool {
>      range 10.0.0.10 10.0.0.50;
>      deny members of "foo";
>      deny members of "bar";
>      ....  other stuff
>      }
>    pool {
>      range 10.0.0.110 10.0.0.150;
>      allow members of "foo";
>      ....  other stuff
>      }
>    pool {
>      range 10.0.0.210 10.0.0.250;
>      allow members of "bar";
>      ....  other stuff
>      }
>}

Just to rephrase that slightly ...

In the above, any clients which are not a member of foo or bar will 
get an address from the first pool - whether they have a host 
statement or not.

So if all configured clients are in foo or bar, then only 
'unconfigured' clients will get an address in the first pool without 
using host statements at all. If 'unconfigured' is the same as 
'unknown' for your purposes then you don't need any host statements 
at all.

Simon


More information about the dhcp-users mailing list