Fw: Undefine The Failover Protocol and DHCP Daemon can not Build successfully

Shu-Ping Lin r92018 at im.ntu.edu.tw
Thu May 4 15:49:41 UTC 2006


Hi all:
    In my network environment, there is a strange thing happened on DHCP 
server.

    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.

    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?

Best Regards,
Harry
----- Original Message ----- 
From: "David W. Hankins" <David_Hankins at isc.org>
To: <dhcp-hackers at isc.org>
Sent: Wednesday, May 03, 2006 2:01 AM
Subject: Re: Undefine The Failover Protocol and DHCP Daemon can not Build 
successfully


> On Tue, May 02, 2006 at 10:14:27AM +0800, Lin Shu-ping wrote:
>>     I have undefine the failover protocol in site.h and the DHCP daemon 
>> can
>> not built successfully with some error messages.
>
> Out of curiosity, why do you want failover compiled-out?
>
>> if (shutdown_state == shutdown_dhcp &&
>>     !failover_connection_count) {
>>     shutdown_state = shutdown_done;
>>     shutdown_time = cur_time;
>>     goto oncemore;
>> }
>>
>> The failover_connection_count checking should be include in
>> FIALOVER_PROTOCOL define, but I do not know if there is any side-effect
>> doing this.
>>
>> Does anyone have suggestions or ideas?
>
> You can put the && !failover_etc into a #define safely I think.
>
> Looks like a bug, but I don't think we'll be able to address this in
> 3.0.4.
>
> Send a note to dhcp-bugs at isc.org to remind me.
>
> -- 
> 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