DHCP Server - Eth0

Glenn Satchell Glenn.Satchell at uniq.com.au
Fri Jun 19 04:37:26 UTC 2009


Hi Mike

Your dhcpd.conf definitions look just fine. The empty subnet
declaration is exactly the right answer to the start up error message.

No idea why requests drop off though. Can you snoop the traffic to see
if any requests are still coming in, even though dhcpd is not
responding?

What version of dhcpd are you using (dhcpd --version). You may need a
newer (or older) version.

regards,
-glenn

>Subject: DHCP Server - Eth0
>Date: Thu, 18 Jun 2009 23:24:12 -0500
>
>
>Hello,
>
>I'm new to this list, but I have been working with various DHCP servers over 
the years.
>
>I have a DHCP server running on Fedora 11, which works fine, however I have 
been running into an
>issue.
>
>The subnet that the DHCP server is installed, will not serve any DHCP addresses 
for that subnet. All
>subnets are remote.
>
>When I first configured dhcpd.conf, and try to start the DHCP server, I had a 
FAILED error because there was not a local subnet configured
>in dhcpd.conf.
>
>I went ahead and configured a subnet, basically a declaration, however the DHCP 
server will stop handing out addresses for the remote IP's and try to hand out 
addresses on the local network interface. Of course this fails miserably when 
there are no addresses to hand out, since that subnet will not have any DHCP 
clients.
>
>DHCPD.CONF:
>
>subnet 192.168.11.0 netmask 255.255.255.0 {
>       option routers                  192.168.11.1; #Default Gateway
>       option subnet-mask              255.255.255.0;
>       option domain-name              "domain.com";
>       option domain-name-servers      10.22.10.150;
>    range  192.168.11.51 192.168.11.200;  #DHCP Range to assign
>       default-lease-time 43200;
>       max-lease-time 86400;
>        authoritative;
>
>}
>subnet 172.16.0.0 netmask 255.255.255.0 {
>       option routers                  172.16.0.1; #Default Gateway
>       option subnet-mask              255.255.255.0;
>       option domain-name              "domain.com";
>       option domain-name-servers      10.22.10.150;
>    range 172.16.0.51 172.16.0.200;  #DHCP Range to assign
>       default-lease-time 43200;
>       max-lease-time 86400;
>}
>
>subnet 10.22.10.0 netmask 255.255.255.0 {
>}
>
>
>The local network for this server is the 10.22.10.x subnet.
>
>Thoughts?
>
>Thanks in advance,
>
>Mike
>
>
>
>_______________________________________________
>dhcp-users mailing list
>dhcp-users at lists.isc.org
>https://lists.isc.org/mailman/listinfo/dhcp-users




More information about the dhcp-users mailing list