Thanks! I didn’t know I could pass wan6
to ifstatus
.
It shows it as pending, and it still doesn’t have an IPv6 address, over 8h after the last reboot.
turris# ifstatus wan6
{
"up": false,
"pending": true,
"available": true,
"autostart": true,
"dynamic": false,
"proto": "dhcpv6",
"device": "eth2",
"data": {
}
}
turris# ip a show eth2
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1024
link/ether d8:58:d7:00:9e:6e brd ff:ff:ff:ff:ff:ff
inet 100.64.171.107/24 brd 100.64.171.255 scope global eth2
valid_lft forever preferred_lft forever
inet6 fe80::da58:d7ff:fe00:9e6e/64 scope link
valid_lft forever preferred_lft forever
turris# uptime
12:24:10 up 8:23, load average: 0.22, 0.22, 0.28
If I manually run ifup wan6
it wakes it all up and I get an address:
turris# ifup wan6
turris# ifstatus wan6
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 1,
"l3_device": "eth2",
"proto": "dhcpv6",
"device": "eth2",
"updated": [
"addresses",
"routes",
"prefixes",
"data"
],
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
{
"address": "2a01:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx",
"mask": 128,
"preferred": 71999,
"valid": 86399
}
],
"ipv6-prefix": [
{
"address": "2a01:xxxx:xxxx:xx00::",
"mask": 56,
"preferred": 71999,
"valid": 86399,
"class": "wan6",
"assigned": {
"vlan1": {
"address": "2a01:xxxx:xxxx:xx11::",
"mask": 64
},
...
}
}
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "::",
"mask": 0,
"nexthop": "fe80::xxxx:xxxx:xxxx:xxxx",
"metric": 512,
"valid": 1797,
"source": "2a01:xxxx:xxxx:xx00::/56"
},
{
"target": "::",
"mask": 0,
"nexthop": "fe80::xxxx:xxxx:xxxx:xxxx",
"metric": 512,
"valid": 1797,
"source": "xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/128"
}
],
"dns-server": [
],
"dns-search": [
"hyperoptic.com"
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
"passthru": "<DUID, I suppose>"
}
}
I agree it seems like a race condition as I’ve seen it work once or twice. I would still expect this to self-recover though.