Wireless clients lose ipv6 gateway
-
@sarkyscouser said in Wireless clients lose ipv6 gateway:
Yes I think the default RA settings are poor. Just done a quick bit of research:
To me it seems the defaults are sane for most enviroments and the different RA modes in pfSense's implementation of radvd work exactly as advertised. The issue with mobile devices is that they need to be sleeping and selective about what they will do when the screen is off. For IOS devices we don't see an issue when DHCP6 is on because the lease time is long enough and they just handle things differently.
For Android there is no DHCP6 support and devices with aggressive power management will see the default RA expiry of 60s, go to sleep, not refresh anything and then the timer expires. But I don't understand why the devices do not reaquire IPv6 when the user picks them up and unlocks the screen. radvd should broadcast in the next 5-20 seconds, the device should see that and process it. I don't get it. Above my paygrade.
Router lifetime seems to do the trick here. Had a Samsung S10 screen locked and put away for 2 hours, picked it up and its fine.
-
@sarkyscouser said in Wireless clients lose ipv6 gateway:
Default valid lifetime: 655350
Default preferred lifetime: 604800
Minimum RA interval: 200
Maximum RA interval: 600I do not think you need to mess with these. The defaults are fine. Just the Router Lifetime default seems to be too low. Let me know how this works out for you.
-
@mfld said in Wireless clients lose ipv6 gateway:
@sarkyscouser said in Wireless clients lose ipv6 gateway:
Default valid lifetime: 655350
Default preferred lifetime: 604800
Minimum RA interval: 200
Maximum RA interval: 600I do not think you need to mess with these. The defaults are fine. Just the Router Lifetime default seems to be too low. Let me know how this works out for you.
If I only increase the router lifetime my android 11 device doesn't pick up ipv6 dns addresses so going to see how these settings pan out.
-
@sarkyscouser said in Wireless clients lose ipv6 gateway:
@mfld said in Wireless clients lose ipv6 gateway:
@sarkyscouser said in Wireless clients lose ipv6 gateway:
Default valid lifetime: 655350
Default preferred lifetime: 604800
Minimum RA interval: 200
Maximum RA interval: 600I do not think you need to mess with these. The defaults are fine. Just the Router Lifetime default seems to be too low. Let me know how this works out for you.
If I only increase the router lifetime my android 11 device doesn't pick up ipv6 dns addresses so going to see how these settings pan out.
So it seems that iOS doesn't like those settings. Put them back to default and the router lifetime to 1800 and still no luck.
Why is this soooo hard!!
-
So it's the "Maximum RA interval" that was preventing my android 11 device from receiving ipv6 dns servers. I've upped that to 60 sec and router lifetime to 1800. Android seems to be OK as does Windows 10 but my 2 ipads can no longer connect via ipv6.
I've removed all the dhcp6 leases in pfsense and reset both ipads but no joy. Guess something lease-related is cached on the ipads so I'll just have to wait for them to expire and hope that the situation resolves itself in time.
For my setup I need dhcp6 + assisted mode, unmanaged is still useless for android even with an increased router lifetime.
-
@mfld said in Wireless clients lose ipv6 gateway:
Strange, isn't it. Maybe it's a combo of Unifi + Android + IPv6.
That's exactly what I have here.
Have you tried a notebook computer via WiFi and Ethernet to compare?
-
@jknott said in Wireless clients lose ipv6 gateway:
@mfld said in Wireless clients lose ipv6 gateway:
Strange, isn't it. Maybe it's a combo of Unifi + Android + IPv6.
That's exactly what I have here.
Have you tried a notebook computer via WiFi and Ethernet to compare?
My wired windows 10 pc seems fine my laptop is locked down from work with no ipv6
-
@jknott said in Wireless clients lose ipv6 gateway:
@mfld said in Wireless clients lose ipv6 gateway:
Strange, isn't it. Maybe it's a combo of Unifi + Android + IPv6.
That's exactly what I have here.
Have you tried a notebook computer via WiFi and Ethernet to compare?
Yes, I have a plethora of devices. All rely on IPv6. All working, wired or wireless. Only Android effected. Now fixed with increased Router Lifetime.
-
My ios devices back up and running so it must have a been a time/lease issue with me initially pushing some of the values too high.
-
https://redmine.pfsense.org/issues/11105
-
@sarkyscouser said in Wireless clients lose ipv6 gateway:
https://redmine.pfsense.org/issues/11105
That was for 2.4.5. We are on 2.5.1 where this has already been implemented.
-
@mfld said in Wireless clients lose ipv6 gateway:
@sarkyscouser said in Wireless clients lose ipv6 gateway:
https://redmine.pfsense.org/issues/11105
That was for 2.4.5. We are on 2.5.1 where this has already been implemented.
Ah OK, I shouldn't speed read during meetings
-
For my site the issue has been resolved now. Been running smoothly for more than a week after increasing Router Lifetime in services_router_advertisements.php?if=lan