#16781: Native IPv6 Not Working on Barrier Breaker
--------------------------+-------------------------------------
Reporter: johnllyon@… | Owner: cyrus
Type: defect | Status: accepted
Priority: high | Milestone: Barrier Breaker (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords:
--------------------------+-------------------------------------
Comment (by erik@…):
Running BB r41737 with default config IPv6 does not work from nodes on
network.
Works fine form the router:
{{{
root@OpenWrt:/# ping6 google.com
PING google.com (2607:f8b0:4005:802::100e): 56 data bytes
64 bytes from 2607:f8b0:4005:802::100e: seq=0 ttl=58 time=10.946 ms
^C
--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 10.946/10.946/10.946 ms
}}}
ifstatus wan6
{{{
root@OpenWrt:/# ifstatus wan6
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"uptime": 408,
"l3_device": "eth0.2",
"proto": "dhcpv6",
"device": "eth0.2",
"metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
{
"address": "2604:5500:f:11:c24a:ff:fedd:53ba",
"mask": 64,
"preferred": 604713,
"valid": 2591913
}
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "2604:5500:f:11::",
"mask": 64,
"nexthop": "::",
"metric": 256,
"valid": 2591913,
"source": "::\/0"
},
{
"target": "2604:5500:4::",
"mask": 56,
"nexthop": "::",
"metric": 256,
"valid": 2591913,
"source": "::\/0"
},
{
"target": "::",
"mask": 0,
"nexthop": "fe80::768e:f8ff:fea6:7ec1",
"metric": 1024,
"valid": 1713,
"source": "2604:5500:f:11:c24a:ff:fedd:53ba\/64"
},
{
"target": "::",
"mask": 0,
"nexthop": "fe80::768e:f8ff:fea6:7ec1",
"metric": 1024,
"valid": 1713,
"source": "::\/128"
}
],
"dns-server": [
],
"dns-search": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
]
},
"data": {
}
}
}}}
Router advertisement received from ISP:
{{{
root@OpenWrt:/# tcpdump -i eth0.2 'ip6 && icmp6 && (ip6[40] = 134)' -vv
03:54:50.100461 IP6 (class 0xc0, hlim 255, next-header ICMPv6 (58) payload
length: 96) fe80::768e:f8ff:fea6:7ec1 > ff02::1: [icmp6 sum ok] ICMP6,
router advertisement, length 96
hop limit 64, Flags [managed, other stateful], pref medium, router
lifetime 1800s, reachable time 0s, retrans time 0s
source link-address option (1), length 8 (1): 74:8e:f8:a6:7e:c1
0x0000: 748e f8a6 7ec1
mtu option (5), length 8 (1): 1500
0x0000: 0000 0000 05dc
prefix info option (3), length 32 (4): 2604:5500:4::/56, Flags
[onlink, auto], valid time 2592000s, pref. time 604800s
0x0000: 38c0 0027 8d00 0009 3a80 0000 0000 2604
0x0010: 5500 0004 0000 0000 0000 0000 0000
prefix info option (3), length 32 (4): 2604:5500:f:11::/64,
Flags [onlink, auto], valid time 2592000s, pref. time 604800s
0x0000: 40c0 0027 8d00 0009 3a80 0000 0000 2604
0x0010: 5500 000f 0011 0000 0000 0000 0000
}}}
Downstream equipment only receives link-local address.
Router advertisement received by downstream node.
{{{
21:10:07.866988 IP6 (hlim 255, next-header ICMPv6 (58) payload length:
136) fe80::c24a:ff:fedd:53ba > ff02::1: [icmp6 sum ok] ICMP6, router
advertisement, length 136
hop limit 0, Flags [managed, other stateful], pref medium, router
lifetime 0s, reachable time 0s, retrans time 0s
source link-address option (1), length 8 (1): c0:4a:00:dd:53:ba
mtu option (5), length 8 (1): 1500
prefix info option (3), length 32 (4): fd1d:a3a3:e9a0::/64,
Flags [onlink, auto], valid time 7200s, pref. time 1800s
unknown option (24), length 24 (3):
0x0000: 3000 0000 1c20 fd1d a3a3 e9a0 0000 0000
0x0010: 0000 0000 0000
}}}
Why is the /56 prefix not used?
--
Ticket URL: <https://dev.openwrt.org/ticket/16781#comment:8>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets