Hello all, I recently managed to get IPv6 from my ISP, so I could drop HE tunnel.
The setup should be quite simple. PPPOE for the IPv4 wan, SLAAC on IPv6 wan, and DHCPv6 for prefix delegation.
SLAAC works fine, wan6 or wan_6 interface (option ipv6 in pppoe-wan 1 or auto, tried them both) has a correct IPv6 and can see it works with pings etc.
The problem seems to be with DHCPv6. With tcpdump I can see solicit from OpenWrt and advertise from server. However OpenWrt should reply with a request, instead it sends again solicit, server sends advertise and this continues indefinitely.
Temporarily, i.e for about a minute, I can see in ifstatus that wan6 has the PD, but valid timer is less than a minute and soon is vanished.
My normal router is RSPro on 18.06.4, but since I tried too many variations I thought I test on a Carambola2 also 18.06.4 with clean install.
My ISP basically told me the same. His testing router (tp-link, not OpenWrt) successfully concluded the DHCPv6 sequence, while mine is stuck in the first 2 steps.
Any idea how to troubleshoot further?
ifstatus wan_6
root@koutsomoura:~# ifstatus wan_6
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": true,
"uptime": 34923,
"l3_device": "pppoe-wan",
"proto": "dhcpv6",
"device": "pppoe-wan",
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
{
"address": "REDACTED:227:75d3:7d7e:7b15:4a9d:3d90",
"mask": 64,
"preferred": 604734,
"valid": 2591934
}
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "REDACTED:227:75d3::",
"mask": 64,
"nexthop": "::",
"metric": 256,
"valid": 2591934,
"source": "::\/0"
},
{
"target": "::",
"mask": 0,
"nexthop": "fe80::10c",
"metric": 512,
"valid": 1734,
"source": "REDACTED:227:75d3:7d7e:7b15:4a9d:3d90\/64"
}
],
"dns-server": [
],
"dns-search": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
"2001:4860:4860::8888",
"2001:4860:4860::8844"
],
"dns-search": [
]
},
"data": {
"passthru": "001700202001486048600000000000000000888830014840486000000000000000008448",
"zone": "wan"
}
}
network
root@koutsomoura:~# uci show network.wan
network.wan=interface
network.wan.proto='pppoe'
network.wan.username='user'
network.wan.password='pass'
network.wan.mtu='1492'
network.wan.peerdns='0'
network.wan.ifname='eth0'
network.wan.metric='10'
network.wan.macaddr='00:15:6D:C3:30:B6'
network.wan.ipv6='auto'
network.wan.keepalive='6 5'
tcpdump
root@koutsomoura:~# tcpdump -i pppoe-wan -vvn ip6
tcpdump: listening on pppoe-wan, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
11:23:39.651810 IP6 (flowlabel 0xde80e, hlim 1, next-header UDP (17) payload length: 118) fe80::7d7e:7b15:4a9d:3d90.546 > ff02::1:2.547: [udp sum ok] dhcp6 solicit (xid=bcd27b (elapsed-time 65535) (option-request SIP-servers-domain SIP-servers-address DNS-server DNS-search-list SNTP-servers NTP-server AFTR-Name opt_67 opt_82 opt_83 opt_94 opt_95 opt_96 server-unicast) (client-ID hwaddr type 1 02156dc330b8) (reconfigure-accept) (Client-FQDN) (IA_NA IAID:1 T1:0 T2:0) (IA_PD IAID:1 T1:0 T2:0))
11:23:39.667443 IP6 (hlim 64, next-header UDP (17) payload length: 126) fe80::10c.547 > fe80::7d7e:7b15:4a9d:3d90.546: [udp sum ok] dhcp6 advertise (xid=bcd27b (client-ID hwaddr type 1 02156dc330b8) (server-ID hwaddr type 1 6c3b6bee0d46) (preference 255) (DNS-server 2001:4860:4860::8888 2001:4860:4860::8844) (IA_PD IAID:1 T1:30 T2:48 (IA_PD-prefix REDACTED:225:7500::/56 pltime:54 vltime:60)))