dhcp-3.0.1rc12 server daemon woes :-(
Nick Garfield
Nicholas.Garfield at cern.ch
Thu Oct 16 14:45:03 UTC 2003
>=20
> I noticed, going back through the archives, that you ran into=20
> this same
> problem in July. How did you correct the issue then?
That issue was not exactly the same - it may be related, but I cannot
say that. I'll explain....
Our setup has the DHCP servers on different subnets, separated by a
router.=20
When the router was rebooted it cut the communications link between the
servers causing a "communications interrupted" message in syslog.
When the router came back up, "communication normal" was never
re-established. When this happened, after about half an hour on busy
segments "peer holds all free leases" messages started to appear on BOTH
servers - and clients on those particular segments were not given
addresses.
The new problem is similar, but the communication is normal between the
servers, and peer holds all free leases appears only on the backup
server. This happens intermittently on any segments, whether loaded or
not.
> What do the leases look like when you run the leasstate=20
> script from Kevin
> Miller's site (http://www.contrib.andrew.cmu.edu/~kevinm/dhcp)?
I have my own scripts to count the active leases in the leases file,
although I have used Kevin's cgi-based script in the past also - it is
very good. =20
Here is an example.
I will look in the syslog now by grepping=20
Oct 16 16:30:19 ip-srv-4 dhcpd: DHCPDISCOVER from 00:0b:ac:e6:b3:c8 via
137.138.194.65: peer holds all free leases
For this network my script returns:
IP ADDRESS STATE START END HW_ADDRESS
HOSTNAME DEVICE NAME
128.141.44.72 free
128.141.44.73 free
128.141.44.74 free
128.141.44.75 free
128.141.44.76 free
128.141.44.77 free
128.141.44.78 backup
128.141.44.79 backup
128.141.44.80 free
128.141.44.81 free
128.141.44.82 free
128.141.44.83 free
128.141.44.84 free
128.141.44.85 free
128.141.44.86 free
128.141.44.87 free
128.141.44.88 active 16:40:56 17:10:53 00-04-75-19-F0-6E
HPSLMOB06 HPSLMOB06
128.141.44.89 backup
128.141.44.90 backup
128.141.44.91 backup
128.141.44.92 free
128.141.44.93 backup
128.141.44.94 free
128.141.44.95 free
128.141.44.96 free
128.141.44.97 free
128.141.44.98 free
128.141.44.99 backup
128.141.44.100 backup
128.141.44.101 free
128.141.44.102 backup
128.141.44.103 backup
128.141.44.104 free
128.141.44.105 backup
128.141.44.106 free
128.141.44.107 backup
128.141.44.108 backup
128.141.44.109 backup
128.141.44.110 free
128.141.44.111 backup
128.141.44.112 free
128.141.44.113 backup
128.141.44.114 backup
128.141.44.115 backup
128.141.44.116 backup
128.141.44.117 backup
128.141.44.118 free
128.141.44.119 free
128.141.44.120 backup
128.141.44.121 backup
128.141.44.122 backup
128.141.44.123 backup
128.141.44.124 free
128.141.44.125 backup
128.141.44.126 backup
The corresponding entry in the dhcpd.conf file is:
shared-network "Shared-S864-1-PB1" {
authoritative;
subnet 137.138.194.64 netmask 255.255.255.192 {} #S864-1-PB1
subnet 128.141.44.64 netmask 255.255.255.192 { #S864-1-DA1
option routers 128.141.1.1;
option subnet-mask 255.255.0.0;
option broadcast-address 128.141.255.255;
pool {
failover peer "boson";
deny members of "blocked-list";
deny dynamic bootp clients;
range 128.141.44.72 128.141.44.126;
}
}
}
More information about the dhcp-hackers
mailing list