You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
9: 6in4-wan6@eth0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1280 state UNKNOWN qlen 1000
inet6 2001:470:1f1c:2a6::2/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::8ba2:e3ee/64 scope link
valid_lft forever preferred_lft forever
ip -6 route show default table all
default from 2001:470:1f1c:2a6::/64 dev 6in4-wan6 proto static metric 1024 pref medium
default from 2001:470:1f1d:2a2::/64 dev 6in4-wan6 proto static metric 1024 pref medium
ip -6 route show dev 6in4-wan6
default from 2001:470:1f1c:2a6::/64 proto static metric 1024 pref medium
default from 2001:470:1f1d:2a2::/64 proto static metric 1024 pref medium
2001:470:1f1c:2a6::/64 proto kernel metric 256 pref medium
fe80::/64 proto kernel metric 256 pref medium
dig +short -q openwrt.org -t aaaa
2a03:b0c0:3:d0::1af1:1
ping6 -c 3 openwrt.org
connect: Permission denied
ip -6 route get 2a03:b0c0:3:d0::1af1:1
RTNETLINK answers: Permission denied
ping6 -c 3 -I 2001:470:1f1c:2a6::2 openwrt.org
PING openwrt.org(wiki-01.infra.openwrt.org) from 2001:470:1f1c:2a6::2 : 56 data bytes
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=1 ttl=59 time=20.2 ms
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=2 ttl=59 time=35.3 ms
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=3 ttl=59 time=20.0 ms
--- openwrt.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 20.006/25.190/35.340/7.177 ms
ip -6 route get 2a03:b0c0:3:d0::1af1:1 from 2001:470:1f1c:2a6::2
2a03:b0c0:3:d0::1af1:1 from 2001:470:1f1c:2a6::2 dev 6in4-wan6 proto static src 2001:470:1f1c:2a6::2 metric 1024 pref medium
The text was updated successfully, but these errors were encountered:
This is not broken only for local system. It seems it boils down to being unable to disable sourcerouting. You can't essentially use two different prefixes on the 6in4 tunnel interface. To be more specific: HE assigns you one /64, and if requested an additional /48. In theory, you could assign them to different interfaces on your OpenWrt system. However, with sourcerouting enabled, forwarding will only work for the one specified in "ip6prefix" in the "wan6" section of /etc/config/network.
The problem exists from at least Chaos Calmer. The problem DOESN'T exist with Kamikaze (which didn't use kmod-sit).
This is not working (only works if ip6prefix is set for wan6, and then only for that specific prefix):
#/etc/config/network
vgaetera:
Issue description:
IPv6-connectivity is broken for local system via 6in4-tunnel.
Disabling source-routing is ignored.
System version:
OpenWrt 18.06.1
Steps to reproduce:
uci show network.wan6
network.wan6=interface
network.wan6.proto='6in4'
network.wan6.tunlink='wan'
network.wan6.peeraddr='216.66.88.98'
network.wan6.ipaddr='139.162.227.238'
network.wan6.ip6addr='2001:470:1f1c:2a6::2/64'
network.wan6.ip6prefix='2001:470:1f1d:2a2::/64'
network.wan6.sourcerouting='0'
ip -6 addr show 6in4-wan6
9: 6in4-wan6@eth0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1280 state UNKNOWN qlen 1000
inet6 2001:470:1f1c:2a6::2/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::8ba2:e3ee/64 scope link
valid_lft forever preferred_lft forever
ip -6 route show default table all
default from 2001:470:1f1c:2a6::/64 dev 6in4-wan6 proto static metric 1024 pref medium
default from 2001:470:1f1d:2a2::/64 dev 6in4-wan6 proto static metric 1024 pref medium
ip -6 route show dev 6in4-wan6
default from 2001:470:1f1c:2a6::/64 proto static metric 1024 pref medium
default from 2001:470:1f1d:2a2::/64 proto static metric 1024 pref medium
2001:470:1f1c:2a6::/64 proto kernel metric 256 pref medium
fe80::/64 proto kernel metric 256 pref medium
dig +short -q openwrt.org -t aaaa
2a03:b0c0:3:d0::1af1:1
ping6 -c 3 openwrt.org
connect: Permission denied
ip -6 route get 2a03:b0c0:3:d0::1af1:1
RTNETLINK answers: Permission denied
ping6 -c 3 -I 2001:470:1f1c:2a6::2 openwrt.org
PING openwrt.org(wiki-01.infra.openwrt.org) from 2001:470:1f1c:2a6::2 : 56 data bytes
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=1 ttl=59 time=20.2 ms
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=2 ttl=59 time=35.3 ms
64 bytes from wiki-01.infra.openwrt.org: icmp_seq=3 ttl=59 time=20.0 ms
--- openwrt.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 20.006/25.190/35.340/7.177 ms
ip -6 route get 2a03:b0c0:3:d0::1af1:1 from 2001:470:1f1c:2a6::2
2a03:b0c0:3:d0::1af1:1 from 2001:470:1f1c:2a6::2 dev 6in4-wan6 proto static src 2001:470:1f1c:2a6::2 metric 1024 pref medium
The text was updated successfully, but these errors were encountered: