Peter Bako <[EMAIL PROTECTED]> wrote on Wed 26.Apr'06 at 17:54:40 -0700

> A question to the DHCP gods....
>  
> Within the dhcpd.conf file, if I have a defined range and then define a
> single host to be always assigned by MAC address and use an IP address that
> is normally within the DHCP range, is that number automatically excluded
> from the range, or do I have to make sure that the address given out by the
> host statement is outside of the normal DHCP pool?  For example:
> -----
> shared-network LOCAL-NET {
>         option  domain-name "xyz.org";
>         option  domain-name-servers 192.168.14.2;
>  
>         subnet 192.168.14.0 netmask 255.255.255.0 {
>                 option routers 192.168.14.1;
>  
>                 range 192.168.14.25 192.168.14.254;
>         }
> }
>  
>         host box1 {
>                 hardware ethernet xx:xx:xx:xx:xx:xx;
>                 fixed-address 192.168.14.35;
> }
dhcpd will complain:
e.g
Mar 10 21:44:05 ares dhcpd: Both dynamic and static leases present for
192.168.0.100.
Mar 10 21:44:05 ares dhcpd: Either remove host declaration hera or remove
192.168.0.100
Mar 10 21:44:05 ares dhcpd: from the dynamic address pool for TNET_WIRED

I dont have that many machines that the range pool gets depleted so I cant
really say if the IP get's delegated to some other box if there's a host
decleration for a some "box".

However I dont think this is good practice.

-- 
Thordur I. Bjornsson
Humppa!

Reply via email to