-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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] #463
Comments
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. |
One of the routers in our network environment, is dropping DHCP unicast responses and client is not getting IP address.
|
|
regarding (2), BOOTP flag( Broadcast flag bit) : This flag in the DHCP Discover message indicates whether the client is requesting a unicast or broadcast reply from the DHCP server. We see currently this flag is set to 0 by default in the DHCP DISCOVER and REQUEST which means expecting a unitcast response from server. But since the router is dropping unicast responses, we want to know if dhcpcd does automatically fallback and set this flag to 1 on subsequent retries ? which means expecting a broadcast response from server in reply to DISCOVER or REQUEST . Hence asking about retries in dhcpcd how it has been implemented today. |
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: