So I have an RT-AC68U and I'm still on 386_3.2 and haven't been experiencing any issues. I was going to upgrade prior to viewing this thread, but am holding off until we have some type of resolution or know a bit more about it.
This is what I can tell you based on what I know - hopefully it will assist you all in your troubleshooting so you can gather some more information.
If we are lucky maybe
@RMerlin can chime in and let us know if he has any insight.
A quick note on my setup: It is a little unique as I am using my RT-AC68U to bypass my AT&T Fiber Modem (running wpa_supplicant to provide 802.11x auth of AT&T's certificates). I'm also running in Static IPv6 mode due to an issue using Native with how AT&T hands out subnets. When I run in Native mode my router is given an address on a network that is not routable outside of AT&T, and another network which it hands out to clients which can be routed. This prevents me from reaching my router directly over IPv6 over the internet, so my static configuration allows me to force the proper network. However, because AT&T expects their clients to request DHCP addresses, I still have to run a manual odhcp6c process on the router to request (at minimal the Prefix) from AT&T in order for the routes to be established.
Anyway - most of the above probably isn't relevant in many ways, but wanted to lay it out there. You can, for the most part, assume I'm just using a Static IPv6 configuration with RA enabled. This appears to work properly as I see the RA in my packet captures and my clients are properly getting their prefixes for their IPv6 addressing.
From what I can gather this is how RA is configured and works on the current firmware versions:
1) When you toggle RA on or off in the IPv6 settings it configures an NVRAM variable:
Code:
ipv6_radvd=1
ipv6_radvd=0
2) Dnsmasq is responsible for handling router advertisements. When dnsmasq is started it checks for the existence of the above nvram variable. If it is set to enabled it adds some additional lines to the dnsmasq.conf to enable advertisements. On my system, the lines added are:
Code:
ra-param=br0,10,600
enable-ra
quiet-ra
dhcp-range=lan,::,constructor:br0,ra-stateless,64,600
dhcp-authoritative
These settings do the following:
- Enable Router Advertisements (enable-ra)
- Set the advertisements to go out over br0 every 10 seconds and have a lifetime of 600 seconds (ra-param)
- Suppress logging of standard info for RAs (quiet-ra)
- Sets the RA for the lan segment (br0) to be stateless (PD only) with a prefix length of 64 and a lease time of 600 seconds (dhcp-range)
- Sets dnsmaq as the authoritative DHCP server on configured network ranges (dhcp-authoritative).
To test enabling and disabling RA on your network you can, in its most basic form do this:
Code:
nvram set ipv6_radvd=1
service restart_dnsmasq
nvram set ipv6_radvd=0
service restart_dnsmasq
The above will set the appropriate option and the restart of dnsmasq will add and enforce the new configuration. If you are doing a packet capture on a client you will immediately see the RA packets start or stop.
Hopefully the above is enough to help you troubleshoot the issue and perhaps get a workaround in place. At the very least, I am hoping that when your RA fail that a simple restart of dnsmasq is enough to get them going again. In this way, you can maybe create a cron/cru job to restart on a regular basis.
When they do fail, you should look to the settings above to see somehow if the values have changed. If not, I suspect that dnsmasq itself is having an issue.
Other things to look at/try:
Perhaps making a user script to override these dnsmasq.conf settings:
- Remove "quiet-ra" and look at the logs generated when RAs are issued and compare it to when they are not.
- Maybe set the lifetime to longer than 5 minutes (I believe normal lifetimes are much greater 3600?). This might help existing clients continue to use the route for longer and may tolerate interruption of the issue longer. This will likely not help with new clients coming onto the network who haven't yet received an RA.
These are just some idea. As I don't have the issue I can't move further than this, but I am interested in the outcome as I don't want to upgrade if these are known issues.
good luck - and keep us posted!