[Top][All Lists]

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

[lwip-devel] [bug #27049] DHCP IP address assignment with multiple lwIP

From: Jakob Stoklund Olesen
Subject: [lwip-devel] [bug #27049] DHCP IP address assignment with multiple lwIP devices fails
Date: Tue, 21 Jul 2009 21:40:57 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19

Follow-up Comment #21, bug #27049 (project lwip):

I should say, I don't have a problem with increasing the dhcp retransmission
timeouts. In fact, RFC2131 ยง4.1 requires a randomized, exponential backoff
with an initial value suited to the network speed.

I suggest:

  msecs = (dhcp->tries < 6 ? 1 << dhcp->tries : 60) * 1000;

That produces timeouts of 2, 4, 8, 16, 32, 60, 60, ... seconds.

Exponential backoff is better in the situation where many devices are turned
on simultaneously.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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