Hi Bartek,

That could be a bug in lwIP. It would be best if you could try to reproduce 
this with an additional unit test.

Regards,
Simon


Am 1. April 2025 13:27:57 MESZ schrieb "Bartłomiej Świderek" 
<bartlomiej.swide...@hotmail.com>:
>Hi,
>
>I'm using LwIP v2.2.0.
>I need to run DHCP and AutoIP on our device. I've configured LwIP
>correctly, I think. DHCP and AutoIP work well, but AutoIP feature
>works only once.
>If the device has not received a configuration from a DHCP server
>and has sent "DHCP Discover" more than the defined number
>of times, then AutoIP starts.
>Later, when the device receives an offer from the DHCP server,
>it rebinds its address. However, if the DHCP server becomes
>unavailable again and the device's lease time expires, AutoIP feature
>doesn't work. LwIP attempts to start AutoIP every time the tries
>counter exceeds "LWIP_DHCP_AUTOIP_COOP_TRIES" but AutoIP
>remains in "AUTOIP_STATE_BOUND," and the device can't obtain
>a 169.254.xxx.xxx address.
>
>Am I doing something in the wrong way? Maybe it is a bug in LwIP?
>
>Bartek
>_______________________________________________
>lwip-users mailing list
>lwip-users@nongnu.org
>https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to