[email protected] 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 [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
