I have a very weird behaviour with my OpenWRT router. The IPv6 connection doesn't work the first time the router boots, only after a second restart via the interface.
I have two outputs of ifstatus wan6
commands one before the restart that the connection doesn't work, and one after the restart. I can see there are differences but I don't understand the problem.
Before:
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 164,
"l3_device": "eth1",
"proto": "dhcpv6",
"device": "eth1",
"updated": [
"prefixes"
],
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
{
"address": "2a00:a041:e700:3::bbe1:e79b",
"mask": 128,
"preferred": 2661,
"valid": 6261
}
],
"ipv6-prefix": [
{
"address": "2a00:a041:e1bf:7200::",
"mask": 56,
"preferred": 2661,
"valid": 6261,
"class": "wan6",
"assigned": {
"lan": {
"address": "2a00:a041:e1bf:7200::",
"mask": 60
}
}
}
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "::",
"mask": 0,
"nexthop": "fe80::1",
"metric": 512,
"valid": 1656,
"source": "2a00:a041:e1bf:7200::/56"
},
{
"target": "::",
"mask": 0,
"nexthop": "fe80::1",
"metric": 512,
"valid": 1656,
"source": "2a00:a041:e700:3::bbe1:e79b/128"
}
],
"dns-server": [
"2a00:a040:3:2::162",
"2a00:a040:0:22::162"
],
"dns-search": [
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
"passthru": "001700202a00a0400003000200000000000001622a00a040000000220000000000000162"
}
}
After:
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 41,
"l3_device": "eth1",
"proto": "dhcpv6",
"device": "eth1",
"updated": [
"addresses",
"routes",
"prefixes",
"data"
],
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
{
"address": "2a00:a041:e700:3::677d:e571",
"mask": 128,
"preferred": 259,
"valid": 259
}
],
"ipv6-prefix": [
{
"address": "2a00:a041:e1bf:7200::",
"mask": 56,
"preferred": 259,
"valid": 259,
"class": "wan6",
"assigned": {
"lan": {
"address": "2a00:a041:e1bf:7200::",
"mask": 60
}
}
}
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "::",
"mask": 0,
"nexthop": "fe80::1a5b:ff:fe7e:bbcc",
"metric": 512,
"valid": 4459,
"source": "2a00:a041:e1bf:7200::/56"
},
{
"target": "::",
"mask": 0,
"nexthop": "fe80::1a5b:ff:fe7e:bbcc",
"metric": 512,
"valid": 4459,
"source": "2a00:a041:e700:3::677d:e571/128"
}
],
"dns-server": [
"2a00:a040:3:2::162",
"2a00:a040:0:22::162"
],
"dns-search": [
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
"passthru": "001700202a00a0400003000200000000000001622a00a040000000220000000000000162"
}
}
Compare text: