LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   DHCPD unhappy. (http://www.linuxquestions.org/questions/linux-server-73/dhcpd-unhappy-945330/)

tawm 05-16-2012 11:52 AM

DHCPD unhappy.
 
Having a bit of a weird one with DHCPD.

I've just moved over to a new server and seem to be having an issue with DHCPD handing out addresses. It's completely bizarre, it's handing out *some* addresses and not others.

DHCPDISCOVER from 00:60:dd:45:78:63 via eth0: network Mill-NY-LAN: no free leases


Here's my dhcpd.conf

Quote:

#LOGGING
log-facility local7;
option domain-search code 119 = array of ip-address;

# Settings for the Mill NY LAN
shared-network Mill-NY-LAN
ddns-update-style ad-hoc;
default-lease-time 600;
max-least-time 7200;
{
subnet 10.x.x.x netmask 255.x.x.x
{
option domain-name-servers 10.x.x.x, 10.x.x.x, 10.x.x.x;
option routers 10.x.x.x;
option domain-name "mill-ny.com";
option subnet-mask 255.x.x.x;
next-server 10.x.x.x;
filename "pxelinux.0";
option domain-search mill-ny.com, mill.co.uk, mill-la.com;
}
}

# Groups start here

# 2DNY - Centos
# 10.x.x.x
group
{
host Dell-52-NY { hardware ethernet 00:1D:09:86:1C:49; fixed-address 10.x.x.x; } # expires: 2032-12-08. Despatch
host dell-63-ny { hardware ethernet 00:23:AE:56:4F:D9; fixed-address 10.x.x.x; } # expires: 2030-12-31.
}

(ETC)

This is all I get in /var/lib/dhcpd/dhcpd.leases

Quote:

# The format of this file is documented in the dhcpd.leases(5) manual page.
# This lease file was written by isc-dhcp-4.1.1-P1

server-duid "\000\001\000\001\027F:\000\324\256Re'B";
and in /etc/sysconfig/dhcpd

Quote:

# Command line options here
DHCPDARGS=eth0
~

So basically we're set up to NOT give out addresses to any machines unless they're defined in the "groups" section.

I can see the mac addresses in the groups but still no bueno :(

Any ideas ?

tawm 05-18-2012 09:08 AM

Fo interests sake, I rolled back to DHCPDv3 and it happily came back to life. I did a bit of reading up and there are some pretty major syntax changes.

Anyway, hazaah!


All times are GMT -5. The time now is 03:35 PM.