Host with static entries in an other subnet

Patrick Cervicek patrick.postfix at cervicek.de
Fri Sep 28 11:12:28 UTC 2007


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 134.108.71.252: 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 ...

Here an example of our dhcpd.conf

subnet 134.108.97.0 netmask 255.255.255.0 {
     option ... ;
### won't get an IP-Adress in other subnet :-(
host pc1025   { hardware ethernet 00:12:34:56:78:9c; fixed-address
pc1025.example.de }
### temporaliy disabled for installation subnet
###host pc1030   { hardware ethernet 00:12:34:56:78:9f; fixed-address
pc1030.example.de }
}

# Installation-subnet
subnet 134.108.71.0 netmask 255.255.255.0 {
     range 134.108.71.100 134.108.71.120;
}



More information about the dhcp-users mailing list