ignore hosts

Simon Hobson dhcp1 at thehobsons.co.uk
Sat Dec 10 08:31:15 UTC 2011


Anthony R Fletcher wrote:

>  > subnet 10.11.12.0 netmask 255.255.255.0
>>  {
>>     option routers 10.11.12.1;
>>     option broadcast-address 10.11.12.255;
>>     option subnet-mask 255.255.255.0;
>>     ignore booting ;
>>  }
>  >
>>  group {
>>     allow booting ;
>>     host host1 {
>>       hardware ethernet 00:88:aa:43:00:8d;
>>       fixed-address host1; }
>>     }
>>     #..... many others ....
>>  }
>
>Just tried this and I'm still getting the messages. :-( I also tried
>putting the "ignore booting ;" outside the subnet, with the same copious
>log messages.

Ahh, try this :

subnet 10.11.12.0 netmask 255.255.255.0
{
    option routers 10.11.12.1;
    option broadcast-address 10.11.12.255;
    option subnet-mask 255.255.255.0;
    pool {
      range 10.11.12.2 10.11.12.254 ;
      ignore booting ;
    }
}

The unknown leases messages will be because the server isn't 
configured to offer that address. By adding a range statement in a 
pool, all the addresses will now be available for lease and hence not 
unknown leases. The "ignore booting" will avoid them being handed out 
to clients.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ 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