Hi,
After connecting many devices to my router, there seemed to be an issue with the IPv4 addresses. Occasionally, when a device disconnects from a wireless network (eg. due to connection loss, which is most common), their IPv4 address is removed, leaving only the IPv6 address visible. Sometimes, even the IPv6 address gets wiped as well, leaving only the link-local address when IPv6 is enabled, which essentially does not allow me to reserve an IPv4 address until the device reconnects.
Additionally, it takes a really long time for actually offline devices to appear offline (about 1 to 3 minutes, rather than 5 to 30 seconds in the Wireless page of LuCI), and due to that, this issue would occur.
How can this be fixed? Thanks
Model: GL-MT3000
Firmware: v4.9.1-op25 beta 3 (However, I’ve seen this occur on the stable v4.8.1 as I remembered.)
Hi,
Regarding the IPv4 address issue, could you please help us check the following after reproducing the issue?
- Please check the affected device on the Clients page, then open its detailed information and confirm whether the IPv4 address is still shown there when the main Clients list only displays IPv6.
- Before reconnecting the device, please SSH into the router and run the following command to check whether the IPv4 DHCP lease is still present:
cat /tmp/dhcp.leases
ip neigh show
cat /proc/oui-tertf/term
- Also, whether the IPv4 address reappears after the device reconnects?
Regarding the Offline status delay, we tested MT3000 locally, and a disconnected client normally moved to the Offline list within about 25–30 seconds.
When LuCI already shows the device as disconnected but the Clients page still shows it as Online, could you please try refreshing the Clients page and check whether the status updates.
If it still remains Online after refreshing, please run the following command while it is still shown as Online:
cat /proc/oui-tertf/term
Please send us the results above via private message, and we will check them further.
Thank you for your understanding and support.
Hi,
The affected devices only have IPv6 addresses, either the link-local only or the NAT IPv6.
Yes, the IPv4 address appears when the device connects, as I mentioned before
Hi,
Thank you for providing the information via private message.
From the results, when the affected client is offline, its IPv4 information is no longer present in the DHCP lease, neighbor table, or current client information. We would like to perform one more test to check what happens when the client changes from Online to Offline.
Could you please reconnect the affected device and, while its IPv4 address is displayed normally, reserve its current IPv4 address in the Admin Panel.
Then, before disconnecting the device again, please open two SSH sessions and run the following commands:
logread -f | grep -Ei 'dnsmasq|dhcp|odhcpd|hostapd|deauth|disassoc'
ip monitor neigh
While these commands are running, please disconnect the affected device from Wi-Fi and check whether its IPv4 address still disappears when it moves to the Offline Clients list.
After the device becomes Offline, please also run:
cat /tmp/dhcp.leases
cat /proc/oui-tertf/term
ip neigh show
You can press Ctrl+C to stop the real-time commands.
Please send the outputs to us via private message and we will check them further.
Thank you for your understanding and support.