Loss of ipv6 on wifi network
Hello,
I've noticed that once a day my phone loses its ipv6 addresses on wifi only. To recover an ipv6 address, I have to put my phone in aeroplane mode and remove it (Pixel 6).
My network uses SLAAC for automatic ipv6 configuration and the preferred lifetime is 1 day. If I increase this value to 4 hours, I find that my phone loses ipv6 more quickly (after about 2 hours).
I managed to do a logcat during the ipv6 loss but I don't think there's any useful information:
06-24 15:28:01.619 1861 17143 D NetlinkTracker/wlan0: routeRemoved: ::/0 -> fe80::4a8f:5aff:fea1:50f6 wlan0 mtu 0
06-24 15:28:01.632 926 932 I WPKTRT : process_address_event: 2a0e:e701:1211:0:d229:35d9:9d29:a742 removed from wlan0
06-24 15:28:01.637 926 932 I WPKTRT : process_address_event: 2a0e:e701:1211:0:2e7c:6421:4c3c:139e removed from wlan0
06-24 15:28:01.637 926 932 I WPKTRT : process_address_event: fe80::421f:ce21:c55b:1550 removed from wlan0
06-24 15:28:01.648 926 932 I WPKTRT : process_address_event: fe80::421f:ce21:c55b:1550 added to wlan0
06-24 15:28:01.653 1861 17143 D NetlinkTracker/wlan0: routeRemoved: 2a0e:e701:1211::/64 -> :: wlan0 mtu 0
06-24 15:28:01.654 1861 17143 D NetlinkTracker/wlan0: routeRemoved: fe80::/64 -> :: wlan0 mtu 0
06-24 15:28:01.655 704 742 E netd : Error deleting route ::/0 -> fe80::4a8f:5aff:fea1:50f6 wlan0 to table 1047: No such proces
s
06-24 15:28:01.657 1340 1713 E ConnectivityService: Exception in networkRemoveRouteParcel: android.os.ServiceSpecificException: No
such process (code 3)
06-24 15:28:01.657 1340 1713 D ConnectivityService: Setting DNS servers for network 116 to [/1.1.1.1, /1.0.0.1]
06-24 15:28:01.657 1340 1713 D DnsManager: sendDnsConfigurationForNetwork(116, [1.1.1.1, 1.0.0.1], [], 1800, 25, 8, 64, 0, 0, dns.a
dguard-dns.com, [94.140.14.14, 94.140.15.15])
06-24 15:28:01.659 1861 17143 D NetlinkTracker/wlan0: addressRemoved: 2a0e:e701:1211:0:d229:35d9:9d29:a742/64 on ifindex 47 flags 1
scope 0
06-24 15:28:01.660 1861 17143 D NetlinkTracker/wlan0: addressRemoved: 2a0e:e701:1211:0:2e7c:6421:4c3c:139e/64 on ifindex 47 flags 23
04 scope 0
06-24 15:28:01.664 1861 17143 D NetlinkTracker/wlan0: addressRemoved: fe80::421f:ce21:c55b:1550/64 on ifindex 47 flags 2176 scope 25
3
06-24 15:28:01.669 1861 17143 D NetlinkTracker/wlan0: routeUpdated: fe80::/64 -> :: wlan0 mtu 0
06-24 15:28:01.671 1861 17143 D NetlinkTracker/wlan0: addressUpdated: fe80::421f:ce21:c55b:1550/64 on ifindex 47 flags 2244 scope 25
3
06-24 15:28:01.703 1340 1703 W NetworkPolicy: shared quota unsupported; generating rule for each iface
06-24 15:28:01.726 2379 2580 D IwlanDataService: onLinkPropertiesChanged: {InterfaceName: wlan0 LinkAddresses: [ fe80::421f:ce21:c5
5b:1550/64,10.0.0.103/24,2a0e:e701:1211:0:2e7c:6421:4c3c:139e/64,2a0e:e701:1211:0:d229:35d9:9d29:a742/64 ] DnsAddresses: [ /1.1.1.1,/
1.0.0.1 ] UsePrivateDns: true PrivateDnsServerName: dns.adguard-dns.com ValidatedPrivateDnsAddresses: [94.140.15.15,94.140.14.14] Dom
ains: null MTU: 0 ServerAddress: /10.0.0.1 TcpBufferSizes: 524288,2097152,8388608,262144,524288,4194304 Routes: [ fe80::/64 -> :: wla
n0 mtu 0,2a0e:e701:1211::/64 -> :: wlan0 mtu 0,10.0.0.0/24 -> 0.0.0.0 wlan0 mtu 0,0.0.0.0/0 -> 10.0.0.1 wlan0 mtu 0 ]}
06-24 15:28:01.727 2379 2581 D IwlanNetworkService: onLinkPropertiesChanged: {InterfaceName: wlan0 LinkAddresses: [ fe80::421f:ce21
:c55b:1550/64,10.0.0.103/24,2a0e:e701:1211:0:2e7c:6421:4c3c:139e/64,2a0e:e701:1211:0:d229:35d9:9d29:a742/64 ] DnsAddresses: [ /1.1.1.
1,/1.0.0.1 ] UsePrivateDns: true PrivateDnsServerName: dns.adguard-dns.com ValidatedPrivateDnsAddresses: [94.140.15.15,94.140.14.14]
Domains: null MTU: 0 ServerAddress: /10.0.0.1 TcpBufferSizes: 524288,2097152,8388608,262144,524288,4194304 Routes: [ fe80::/64 -> ::
wlan0 mtu 0,2a0e:e701:1211::/64 -> :: wlan0 mtu 0,10.0.0.0/24 -> 0.0.0.0 wlan0 mtu 0,0.0.0.0/0 -> 10.0.0.1 wlan0 mtu 0 ]}
06-24 15:28:01.732 1943 3130 D SHANNON_RCS: 1067 [0][PROX][TELE] onLinkPropertiesChanged, Network: 116, LinkProperties: {InterfaceN
ame: wlan0 LinkAddresses: [ fe80::421f:ce21:c55b:1550/64,10.0.0.103/24,2a0e:e701:1211:0:2e7c:6421:4c3c:139e/64,2a0e:e701:1211:0:d229:
35d9:9d29:a742/64 ] DnsAddresses: [ /1.1.1.1,/1.0.0.1 ] UsePrivateDns: true PrivateDnsServerName: dns.adguard-dns.com ValidatedPrivat
eDnsAddresses: [94.140.15.15,94.140.14.14] Domains: null MTU: 0 ServerAddress: /10.0.0.1 TcpBufferSizes: 524288,2097152,8388608,26214
4,524288,4194304 Routes: [ fe80::/64 -> :: wlan0 mtu 0,2a0e:e701:1211::/64 -> :: wlan0 mtu 0,10.0.0.0/24 -> 0.0.0.0 wlan0 mtu 0,0.0.0
.0/0 -> 10.0.0.1 wlan0 mtu 0 ]} (DefaultNetworkCallback%onLinkPropertiesChanged:84)
06-24 15:28:01.733 1943 3130 D SHANNON_RCS: 1068 [1][PROX][TELE] onLinkPropertiesChanged, Network: 116, LinkProperties: {InterfaceN
ame: wlan0 LinkAddresses: [ fe80::421f:ce21:c55b:1550/64,10.0.0.103/24,2a0e:e701:1211:0:2e7c:6421:4c3c:139e/64,2a0e:e701:1211:0:d229:
35d9:9d29:a742/64 ] DnsAddresses: [ /1.1.1.1,/1.0.0.1 ] UsePrivateDns: true PrivateDnsServerName: dns.adguard-dns.com ValidatedPrivat
eDnsAddresses: [94.140.15.15,94.140.14.14] Domains: null MTU: 0 ServerAddress: /10.0.0.1 TcpBufferSizes: 524288,2097152,8388608,26214
4,524288,4194304 Routes: [ fe80::/64 -> :: wlan0 mtu 0,2a0e:e701:1211::/64 -> :: wlan0 mtu 0,10.0.0.0/24 -> 0.0.0.0 wlan0 mtu 0,0.0.0
.0/0 -> 10.0.0.1 wlan0 mtu 0 ]} (DefaultNetworkCallback%onLinkPropertiesChanged:84)
06-24 15:28:01.745 704 18615 E netd : Error deleting route 2a0e:e701:1211::/64 -> (null) wlan0 to table 1047: No such process
06-24 15:28:01.746 1340 1713 E ConnectivityService: Exception in networkRemoveRouteParcel: android.os.ServiceSpecificException: No
such process (code 3)
06-24 15:28:01.762 2379 2581 D IwlanNetworkService: onLinkPropertiesChanged: {InterfaceName: wlan0 LinkAddresses: [ 10.0.0.103/24,f
e80::421f:ce21:c55b:1550/64 ] DnsAddresses: [ /1.1.1.1,/1.0.0.1 ] UsePrivateDns: true PrivateDnsServerName: dns.adguard-dns.com Valid
atedPrivateDnsAddresses: [94.140.15.15,94.140.14.14] Domains: null MTU: 0 ServerAddress: /10.0.0.1 TcpBufferSizes: 524288,2097152,838
8608,262144,524288,4194304 Routes: [ fe80::/64 -> :: wlan0 mtu 0,10.0.0.0/24 -> 0.0.0.0 wlan0 mtu 0,0.0.0.0/0 -> 10.0.0.1 wlan0 mtu 0
]}
06-24 15:28:01.763 1943 3130 D SHANNON_RCS: 1069 [1][PROX][TELE] onLinkPropertiesChanged, Network: 116, LinkProperties: {InterfaceName: wlan0 LinkAddresses: [ 10.0.0.103/24,fe80::421f:ce21:c55b:1550/64 ] DnsAddresses: [ /1.1.1.1,/1.0.0.1 ] UsePrivateDns: true PrivateDnsServerName: dns.adguard-dns.com ValidatedPrivateDnsAddresses: [94.140.15.15,94.140.14.14] Domains: null MTU: 0 ServerAddress: /10.0.0.1 TcpBufferSizes: 524288,2097152,8388608,262144,524288,4194304 Routes: [ fe80::/64 -> :: wlan0 mtu 0,10.0.0.0/24 -> 0.0.0.0 wlan0 mtu 0,0.0.0.0/0 -> 10.0.0.1 wlan0 mtu 0 ]} (DefaultNetworkCallback%onLinkPropertiesChanged:84)
06-24 15:28:01.764 1943 3130 D SHANNON_RCS: 1070 [0][PROX][TELE] onLinkPropertiesChanged, Network: 116, LinkProperties: {InterfaceName: wlan0 LinkAddresses: [ 10.0.0.103/24,fe80::421f:ce21:c55b:1550/64 ] DnsAddresses: [ /1.1.1.1,/1.0.0.1 ] UsePrivateDns: true PrivateDnsServerName: dns.adguard-dns.com ValidatedPrivateDnsAddresses: [94.140.15.15,94.140.14.14] Domains: null MTU: 0 ServerAddress: /10.0.0.1 TcpBufferSizes: 524288,2097152,8388608,262144,524288,4194304 Routes: [ fe80::/64 -> :: wlan0 mtu 0,10.0.0.0/24 -> 0.0.0.0 wlan0 mtu 0,0.0.0.0/0 -> 10.0.0.1 wlan0 mtu 0 ]} (DefaultNetworkCallback%onLinkPropertiesChanged:84)
06-24 15:28:01.768 2379 2580 D IwlanDataService: onLinkPropertiesChanged: {InterfaceName: wlan0 LinkAddresses: [ 10.0.0.103/24,fe80::421f:ce21:c55b:1550/64 ] DnsAddresses: [ /1.1.1.1,/1.0.0.1 ] UsePrivateDns: true PrivateDnsServerName: dns.adguard-dns.com ValidatedPrivateDnsAddresses: [94.140.15.15,94.140.14.14] Domains: null MTU: 0 ServerAddress: /10.0.0.1 TcpBufferSizes: 524288,2097152,8388608,262144,524288,4194304 Routes: [ fe80::/64 -> :: wlan0 mtu 0,10.0.0.0/24 -> 0.0.0.0 wlan0 mtu 0,0.0.0.0/0 -> 10.0.0.1 wlan0 mtu 0 ]}
06-24 15:28:01.768 2379 2580 D IwlanDataService: LinkProtocolType was changed from IPV4V6 to IPV4
I'm not sure what I can do to help you find the root of the problem, but if there's anything I can do.
Hi, I have the same problem. Loosing IPv6 address after about 15 minutes in wifi (german telekom speedport smart 4) unfortunally, I cloudn't find useful information about the ipv6 configuration from the router. Maybe the information helps, that someone else (me) has the same problem.
thank y
Could this be a firmware problem? https://issuetracker.google.com/issues/241959699
I experience the same in my home network. Set the MaxRtrAdvInterval to 60 s, as annoying and wrong as this feels...
Is it resolved with the latest stable release?
Is it resolved with the latest stable release?
Could we have more insight why it should be better now ? I guess this is following some upstream work on the network stack but I'm not sure.
I had some issues with my new network, I wanted to debug some day but this has been resolved recently. I don't know if it comes from a change on the OS or the network (which seems to have been updated too)
Can be reopened if someone still has an issue.
@p1gp1g Simply checking to see if issues with no activity are resolved since over time a lot of things get fixed.