DHCP Server - Eth0

Koponick, Michael Michael.Koponick at e-hps.com
Fri Jun 19 04:24:12 UTC 2009


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






More information about the dhcp-users mailing list