Fw: Undefine The Failover Protocol and DHCP Daemon can not Build successfully
David W. Hankins
David_Hankins at isc.org
Thu May 4 16:11:59 UTC 2006
On Thu, May 04, 2006 at 11:49:41PM +0800, Shu-Ping Lin wrote:
> From time to time I can not get the IP from DHCP server. After sniffing
> the packet I found that the DISCOVER, OFFER and REQUEST phases function
> correctly, but finally the DHCP server will NAK the user's request. It
> happened seldom and I do not know how to reproduce this problem and where
> the problem is. So I just want to disable failover protocol to see if it
> will happen again after that.
Well, you can do that without recompiling the daemon...it's just a
config change.
Ask on dhcp-users if you need help with that.
> I have traced the code in dhcp.c, in particular the function
> dhcprequest(). However, I still get any thought about this problem.
> Does anyone have any idea or suggestion?
If the server NAKed the lease, it is either because something
changed that caused the server to deny the client permission to use
a given pool (do you use reject/allow statements?), or the server
believed the lease was assigned to a different client.
There was a failover bug fixed in 3.0.3, for example, where 'stale'
client identifiers would be left on leases.
--
David W. Hankins "If you don't do it right the first time,
Software Engineer you'll just have to do it again."
Internet Systems Consortium, Inc. -- Jack T. Hankins
More information about the dhcp-hackers
mailing list