lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] DHCP-Autoip cooperation


From: ake . forslund
Subject: Re: [lwip-users] DHCP-Autoip cooperation
Date: Mon, 26 Sep 2011 13:56:49 +0200

Hi Simon,

I'm not sure I understand the code correctly so I won't make any too big assumtions. Will the timer be set to last received lease-time or will it be set to a lower value to make sure the dhcp-server is found as soon as possible?

/Åke
-----------------------------
Åke Forslund
0433-273296
NIBE AB
Box 14
S-285 21  Markaryd
Tel +46-(0)433-273296



From: "Simon Goldschmidt" <address@hidden>
To: Mailing list for lwIP users <address@hidden>
Date: 2011-09-26 13:04
Subject: Re: [lwip-users] DHCP-Autoip cooperation
Sent by: address@hidden






address@hidden wrote:
> We are experiencing some trouble with some test setups regarding DHCP. We
> beleive that at some point the DHCP-renew of the lease fails and AUTO-IP
> kicks in. This is probably the intended behavour and is then working fine.
> My question is how should this be handled by the system? I would like to
> get a new IP as soon as possible if the dhcp becomes available again. Does
> LWIPs Auto-ip/DHCP cooperation handle this at all or is it up to me to
> detect that DHCP didn't manage to get an address and do periodic retries?

When renewing the lease fails, DHCP starts AutoIP. However, the dhcp timer continues to run and once DHCP got a valid address again, it stops AutoIP and switches to the DHCP address.

At least in our tests, this works fine (where we move between DHCP/AutoIP networks or plug/unplug the uplink cable where the DHCP server is connected).

Simon
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!                                  
Jetzt informieren:
http://www.gmx.net/de/go/freephone

_______________________________________________
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]