Host with static entries in an other subnet

Simon Hobson dhcp1 at
Fri Sep 28 14:41:05 UTC 2007

Patrick Cervicek wrote:

>We are useing one DHCP-Server for several Subnets. Following sceneario
>makes problems:
>- one subnet for the clients (static host-entries)
>- one subnet for client-installaton (dynamic)
>As soon as we move a client (with a static host-entry) to our dynamic
>installation-vlan, this client won't get an IP
>>... dhcpd: DHCPDISCOVER from 00:12:34:56:78:9c via 
>>network 134.108.71/24: no free leases
>When we comment out the the static host-entry, it works
>How can we use a dynmic range in our installation-vlan WITHOUT removing
>the static host-entry first? We are already thinking about a second
>independend DHCP-Server for the installation-subnet, but there should be
>an easier way ...

It should "just work" ...

>Here an example of our dhcpd.conf
>subnet netmask {
>     option ... ;
>### won't get an IP-Adress in other subnet :-(
>host pc1025   { hardware ethernet 00:12:34:56:78:9c; fixed-address
> }
>### temporaliy disabled for installation subnet
>###host pc1030   { hardware ethernet 00:12:34:56:78:9f; fixed-address
> }
># Installation-subnet
>subnet netmask {
>     range;

Take the host statements out of the subnet declaration - they are 
global, but putting them inside a subnet declaration can cause some 
interesting effects.

More information about the dhcp-users mailing list