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
[odhcp6c] DHCPv6 client loses connection every 8 hours(after the second expiration of PD valid lifetime) on on Japan NTT 10G Hikari #13454
Comments
I have also encountered the same phenomenon (Using Japan's NTT FLET'S HIKARI CROSS). |
@Z61p, hi. Thank you. |
@cre8ivejp I'm guessing here as there simply isn't enough information but it might be that you need to set My theory is that the server is advertising a unicast address which gets used when trying to renew. Setting |
It didn't work |
Try this script: |
Thank you for the script. When you lose the ipv6 connection, does it come back automatically, or is the only way to make it work again to kill the Before you shared your script, I used this I executed yours |
Thank you for the link! I'll take a look at it. |
@cre8ivejp no but I figured it was worth a shot as this option is meant to fix issues similar to this with some servers (renewal seemingly failing). In this case, the issue is different as manually renewing does seem to fix it. |
@cre8ivejp In my environment, the WAN down occurred 12 hours after odhcp6c acquired the address. (example) I have been using this configuration for about 4 months, and I have been able to avoid WAN failures. *By the way, I am Japanese (lol). All my posts are translated by Google. |
My WAN6 links up within about 10 seconds after losing connection, and sending SIGUSR1 to odhcp6c does not result in a "No Binding" message. |
Thanks for the explanation. Every hour when it executes the
|
Describe the bug
The issue seems like this
I'm using OpenWRT with NTT 10G Hikari (Flets Cross). I've encountered a specific issue regarding the DHCPv6 PD.
From the NTT DHCPv6 server, my DHCPv6 Client has been assigned a /56 PD prefix with the following lifetimes:
The problem manifests itself at specific intervals — typically at the the 8-hour marks. Just when NTT's DHCPv6 server sends out a reconfigure message, within about a second, I get a notice:
'daemon.notice netifd: Interface 'wan6' has lost the connection'.
The connection will restore in about 10 seconds.
In the packet capture data during this process, it shows that at the 28,800-second mark (8 hours), the DHCPv6 server sent a Reconfigure Message to the client. Subsequently, within less than a second, the wan6 connection was lost. This was immediately followed by the Solicit Message and Request Message. Interestingly, the likelihood of encountering this issue at the 14,400-second mark (4 hours) is almost negligible. When the DHCPv6 server sends a Reconfigure Message at this time, odhcp6c successfully responds with a Renew Message. The issue is most likely to occur at the 8-hour mark, which is when the second valid lifetime expires.
My ISP uses an IPv4 over IPv6 protocol, requiring a special IPv6 address as a tunnel endpoint. This issue only pops up when I assign this particular IPv6 address to the IPv4 over IPv6 tunnel interface (by using option ip6ifaceid).
The ISP provided me with a router XG-100NE(OEM by NEC Platforms), it's rock solid. I've also done packet capture analysis on it. I've noticed that each Renew Message behaves differently from OpenWRT, and the response time seems to be a few seconds later than the ISP router.
OpenWRT:
ISP router:
OpenWrt version
r23763-46ed38adeb
OpenWrt target/subtarget
x86_64
Device
GoWin Solution R86S - Intel(R) Pentium(R) Silver N6005 @ 2.00GHz : 4 Core 4 Thread
Image kind
Official downloaded image
Steps to reproduce
Using Japan's NTT FLET'S HIKARI CROSS, set WAN6 as a DHCPv6 client and assign an ifaceid to the WAN6 interface.
Actual behaviour
After two Valid lifetime expirations, WAN6 lost connection.
Expected behaviour
Make odhcp6c work properly
Additional info
Alright, I've set up a crontab scheduled task to make odhcp6c send Renew Message to update the IPv6 lifetime every hour.
It seems to work, but I don't think it is a good solution.
Diffconfig
No response
Terms
The text was updated successfully, but these errors were encountered: