Skip to content
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

Module (DHCPv6 Client) is getting a new IPv6 address each time we disconnect and reconnect from the Home Wi-Fi #263

Open
matheeb opened this issue Mar 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@matheeb
Copy link

matheeb commented Mar 26, 2024

DHCPv6 Client bug
Observing that a new IPv6 address is assigned to the module each time we reconnect to the Home Wi-Fi

When the module (DHCPv6 Client) is ran in a loop of connections and disconnections from the Home Wi-Fi. We are seeing that a new IPv6 address is assigned to our module (DHCPv6 Client), on the counter part when a laptop is used to connect, disconnect and reconnect from the Home Wi-Fi the laptop was getting same IPv6 address.

In DHCPv6, DUIDs are used to uniquely identify DHCP clients.
There are different types of DUIDs, including: DUID-LLT, DUID-EN, DUID-LL, DUID-UUID

Upon comparing the packet captures of laptop and module found that module is using LLT and laptop is using UUID to get IPv6 address

Below are the captures of laptop and module across the iterations :
LAPTOP :
Laptop_uuid

MODULE (DHCPv6 Client) :
Module_llt

If the module (DHCPv6 Client) runs in a loop, in each iteration module was treated as a new client and assigned a new IPv6 address, after certain period the Home WI-FI's DHCPv6 server address pool exhausts the limit and starts advertising NoAddrAvail error.

@matheeb matheeb added the bug Something isn't working label Mar 26, 2024
@matheeb matheeb changed the title Module is getting a new IPv6 address each time we disconnect and reconnect from the DHCPv6 server(3rd Party AP) Module (DHCPv6 Client) is getting a new IPv6 address each time we disconnect and reconnect from the Home Wi-Fi Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant