Address from wrong pool

Siegenthaler Tina tina at ieu.uzh.ch
Fri Feb 5 13:49:20 UTC 2010


>>>
>>
>> There's no hard and fast rule about which pool a client can draw a  
>> lease from when there is more than one valid pool. You need to deny  
>> those two classes from the shared pool.
>>
>>
>
> Thanks. I was afraid it would be something like this. Pity, this  
> would have been nice and easy, now the config will be much mor  
> complicated to create from the database. But I'm sure I will get it  
> to work...
>
> Tina
>

Hm, now trying to adapt my config - next question: Can you have an  
include statement inside a pool declaration, like:

subnet 130.60.79.192 netmask 255.255.255.192 {
         option routers 130.60.79.193;
         option broadcast-address 130.60.79.255;
         include "/include-dhcp-ieu/Y11Kpools-dhcp";
         pool {
                 failover peer "DHCP-IEU";
                 deny dynamic bootp clients;
                 allow known-clients;
                 include "/include-dhcp-ieu/Y11Kdeny-dhcp";
                 range 130.60.79.200 130.60.79.220;
         }
         default-lease-time 21600;
         max-lease-time 21600;
}

Doesn't seem to work for me.

Thanks again, Tina






More information about the dhcp-users mailing list