DHCPD issues.

Stack Kororā i.am.stack at gmail.com
Tue Jan 10 19:22:56 UTC 2012


Hello all,

I have been reading the man page and digging through online documentation
all day now and I can't seem to get my configuration to work. I would
really appreciate some help.

I have 4 groups of machines. The first group have hard set IP addresses
(172.31.200.x), the second are developer systems (devnet; 172.31.201.x),
third group is PXE booted 64bit machines (aanodes; 172.31.202.x), and the
fourth group is PXE booted 32bit machines (hpnodes; 172.31.203.x). There
are reasons for having the IP ranges split like this. 172.31.200.2 is the
BIND/DHCP/TFTP server.

Below is my dhcpd.conf file as built in my testing environment with virtual
machines (hence why the macs all look similar and the domain is
project.local). Whenever I boot any of the VM's the IP always lands in the
172.31.202.x IP address range. I am sure I have goofed something up in the
below configuration, but I have tried so many things recently that I just
tweaked based on the errors until I had a config file that dhcpd seemed to
like. It doesn't work the way I want it to, but it doesn't throw errors
either. :-)

Any help is appreciated.

Thanks!
~Stack~

--------------------------------------------------------------------------------------
option domain-name "project.local";
option domain-name-servers 172.31.200.2;
authoritive;
ddns-update-style none;

shared-network project.local{
subnet 172.31.200.0 netmask 255.255.255.0 {}
subnet 172.31.201.0 netmask 255.255.255.0 {
    default-lease-time 86400;
    max-lease-time 86400;
    deny unknown-clients;
    range 172.31.201.1 172.31.201.254;
    group "devnet" {
        host dev001.project.local { hardware ethernet 08:00:27:11:4B:E8; }
    }
}
subnet 172.31.202.0 netmask 255.255.255.0 {
    default-lease-time 86400;
    max-lease-time 86400;
    deny unknown-clients;
    filename "pxelinux.0";
    next-server 172.31.200.2;
    range 172.31.202.1 172.31.202.254;
    group "aanodes" {
        host aa001.project.local { hardware ethernet 08:00:27:15:BF:F5; }
    }
}
subnet 172.31.203.0 netmask 255.255.255.0 {
    default-lease-time 86400;
    max-lease-time 86400;
    deny unknown-clients;
    filename "pxelinux.0";
    next-server 172.31.200.2;
    range 172.31.203.1 172.31.203.254;
    group "hpnodes" {
        host hp001.project.local { hardware ethernet 08:00:27:15:A3:1D; }
    }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120110/da27d93b/attachment.html>


More information about the dhcp-users mailing list