I did re-install all the lost packages and the interface was supposed to be up. "ip -6 a" showed the IPv6 configured and "ifconfig" too but a simple "ping6 ipv6.google.com" didn't work.
One thing I noticed is that the "ip" binary (busybox) doesn't have the "tunnel" command but the interface was configured so I guess openwrt is using some other commands internally (although I couldn't find which ones).
I don't really need the ipv6 tunnel so I've just disabled it. I only had it to play with ipv6 and I can live without it.
But since this was working for me with 19.07.5 I thought maybe @knulf 's problem could be related to 19.07.6.
To be honest I didn't do any more troubleshooting and I can't be 100% sure if it was still working on 19.07.5 the minute before upgrading since, as I said, I wasn't really using the tunnel. But I know it was working when I upgraded to 19.07.5 some time ago and it wasn't working after updating to 19.07.6 earlier today (I did reinstall the packages both times).
There is a new release now: 19.07.7
It has some fixes related to ipv6 point to point links. Not sure if this fixes the tunnel though, but maybe it had something to do with that. I haven't tested it yet.
I don't think it's related, I've ran 6in4 on every 19.07 release and it's been fine. I use imagebuilder to automatically add in any installed packages including 6in4.
I have the same issue. The packet counters on my 6in4-wan6 interface are not incrementing. I can ping the remote IPv4 address of the tunnel, and also the remote IPv6 address from the router. If I ping the remote ipv6 endpoint from the router, the 6in4-wan6 counters are incrementing in and out.
root@OpenWrt:~# ip route get 1::
RTNETLINK answers: Permission denied
6in4 package and kmod-sit are properly installed. I have a public IP address on the wan interface. It appears on the WAN6 page. I am using a snapshot image with kernel version 5.4.98. Any help much appreciated.
I confirm 6in4 works on OpenWrt 19.07.7 in default configuration.
Tested both static and dynamic tunnels without extra firewall rules.
Adding the default route helps to override the source routing filter.
Simultaneously running 6in4 with MWAN or VPN can be problematic.
That would require to properly configure PBR.
Other possible issues can be related to limited or restricted connectivity.
Traffic shaping or filtering performed by the ISP, or missing public IP.
With mwan3 in particular, (in luci) you need to go into the main network wan6 interface definition, add the Allowed IPs (in this case a ipv6 wildcard ::/0) and then click the option to "Route Allowed IPs". If you don't do this, then mwan3 doesn't create the required route when it creates its own routing tables and you then can't route out the interface.
Sorry: was looking at my wireguard interface instead, so there's no "Allowed IPs", but the point remains the same. You need a default route for ipv6 as @vgaetera pointed out
Thanks for posting this, I thought I was going insane. The issue persists for me as well, but I haven't had much time to tinker with the setup recently. Please let me know if you figure out a solution.
@dl12345, I know you didn't ask me, but did you see my ipv6 routes above? If @lcsaszar and I are indeed facing the same issue, maybe it can help with the troubleshooting...
root@OpenWrt:~# ip -6 route
2001:xxxxxa:136::/64 dev 6in4-wan6 proto kernel metric 256 pref medium
2001:xxxxxb:135::/64 dev br-lan proto static metric 1024 pref medium
unreachable 2001:xxxxxb:135::/64 dev lo proto static metric 2147483647 pref medium
fd31:xxxxxx:1::/64 dev br-lan proto static metric 1024 pref medium
unreachable fd31:xxxxxx::/48 dev lo proto static metric 2147483647 pref medium
fe80::/64 dev br-lan proto kernel metric 256 pref medium
fe80::/64 dev eth1 proto kernel metric 256 pref medium
fe80::/64 dev 6in4-wan6 proto kernel metric 256 pref medium
fe80::/64 dev ifb4eth1 proto kernel metric 256 pref medium
Thanks, just tried it. Still no luck unfortunately. Here are the routes now just to make sure I did everything right:
root@OpenWrt:~# ip -6 route show
default from 2001:470:XXXX:XX::/64 dev 6in4-henet proto static metric 1024 pref medium
default from 2001:470:YYY::/48 dev 6in4-henet proto static metric 1024 pref medium
2001:470:XXXX:XX::/64 dev 6in4-henet proto kernel metric 256 pref medium
2001:470:YYY::/64 dev br-lan proto static metric 1024 pref medium
unreachable 2001:470:YYY::/48 dev lo proto static metric 2147483647 error 4294967148 pref medium
fd23:3587:3330::/64 dev br-lan proto static metric 1024 pref medium
unreachable fd23:3587:3330::/48 dev lo proto static metric 2147483647 error 4294967148 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev eth0.2 proto kernel metric 256 pref medium
fe80::/64 dev br-lan proto kernel metric 256 pref medium
fe80::/64 dev wlan1 proto kernel metric 256 pref medium
fe80::/64 dev 6in4-henet proto kernel metric 256 pref medium
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
default dev 6in4-henet metric 1024 pref medium