lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] No delay between DHCP discoveries


From: Robert
Subject: Re: [lwip-users] No delay between DHCP discoveries
Date: Thu, 03 Oct 2013 20:43:57 -0400

On Thu, 2013-10-03 at 08:56 -0700, HA wrote:
> I have inherited a project that uses lwip 1.3.0 running on a Stellaris CPU.
> Compiler is Codesourcery light so no real debugger except for GDB in
> textmode. Most things work OK but if I dont't have a DHCP server the board
> sends out 23 DHCP discovery per second. If we have hundreds or thousand
> devices on the network the situation after a power failure is catastrophic
> because no one can commuinacte with the DHCP server.
> 
> I have compared the dhcp.c with the original, no difference. Most things in
> the config looks normal. DHCP works, static IP works and the webserver runs.
> 
> The code clearly shows that there should an exponential back off of DHCP
> discoveries but it does not work.

Sounds like a timing issue.  Check on (my values are given):

DHCP_COARSE_TIMER_SECS   60 
DHCP_FINE_TIMER_MSECS    500


Robert

> 
> 
> 
> --
> View this message in context: 
> http://lwip.100.n7.nabble.com/No-delay-between-DHCP-discoveries-tp21927.html
> Sent from the lwip-users mailing list archive at Nabble.com.
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users





reply via email to

[Prev in Thread] Current Thread [Next in Thread]