You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have below a few issues where the device running the dhcpcd client failed to get a valid IP address and ended up with an auto IP [link local IP address 169.254.x.x] for the below scenarios.
Issue 1: When the AP/STA is enabled with MBO [multi-band operation], switching between AP/channel/band [2.4 GHz and 5 GHz vice versa] for better connectivity, we have observed the device going to the link local address, and we have checked the device sending a 'discover' packet, but there is no response from the AP/STA to which the device is connected.
—In this case, if the device reboots, we get a valid IP address.
Issue 2: The device goes to a link-local address for some specific routers and checks the device actually sending a 'discover' packet but gets no response from the router.
Just wanted to check from the dhcpcd perspective what all the lists of possible cases are when the device will get a link-local address.?
The text was updated successfully, but these errors were encountered:
Sateesh-Patil
changed the title
Regarding device running the dhcpcd client failed to get a valid IP address and ended up with an auto IP [link local IP address 169.254.x.x]
Regarding device running with the dhcpcd client failed to get a valid IP address and ended up with an auto IP [link local IP address 169.254.x.x]
Feb 14, 2025
dhcpcd will use a link-local address if ipv4ll is enabled and there is no DHCP address obtained after the timeout internal from the DHCP discovery process starting.
dhcpcd initiates DHCP on carrier down/up or dormant/not dormant notifications from the kernel.
What is the frequency of these happening?
dhcpcd will use a link-local address if ipv4ll is enabled and there is no DHCP address obtained after the timeout internal from the DHCP discovery process starting.
dhcpcd initiates DHCP on carrier down/up or dormant/not dormant notifications from the kernel. What is the frequency of these happening?
Can you please respond to below queries.
One of the routers in our network environment, is dropping DHCP unicast responses and client is not getting IP address.
how are the retries implemented in dhcpcd 8.1 and 10.0? Is there any difference in retry logic mechanism between these versions?
If dhcpcd doesnt get response with bootp_flag set to unicast in the Discover/Request packet, does it retry with flag set to broadcast again? and for how long it would continue doing retries ?
Will it giveup doing retries after some time once it acquires link-local address ?
will it do retries indefinitely if set "persistence" in the /etc/dhcpcd.cnf ?
There should be no real difference in the retry logic
Unsure what you mean? DISCOVER is always unicast. REQUEST is unicast if RENEWING and broadcast if REBINDING. If renew fails then we start to rebind, if that fails then we start ipv4ll and start DISCOVER. DHCP never gives up and is rate limited to a request a minute in the worst case
No, dhcpcd never gives up
persistence means dhcpcd will not remove the configuration when it stops. It doesn't do anything else.
HI All,
We have below a few issues where the device running the dhcpcd client failed to get a valid IP address and ended up with an auto IP [link local IP address 169.254.x.x] for the below scenarios.
Issue 1: When the AP/STA is enabled with MBO [multi-band operation], switching between AP/channel/band [2.4 GHz and 5 GHz vice versa] for better connectivity, we have observed the device going to the link local address, and we have checked the device sending a 'discover' packet, but there is no response from the AP/STA to which the device is connected.
—In this case, if the device reboots, we get a valid IP address.
Issue 2: The device goes to a link-local address for some specific routers and checks the device actually sending a 'discover' packet but gets no response from the router.
Just wanted to check from the dhcpcd perspective what all the lists of possible cases are when the device will get a link-local address.?
The text was updated successfully, but these errors were encountered: