No ipv6 address

Issue this and try to ping again.

ip -6 rule del from all fwmark 0x3d00/0x3f00 blackhole pref 2061
ip -6 rule del from all fwmark 0x3e00/0x3f00 unreachable pref 2062

Where does the IP rules come from?

2 Likes

Still no.Ping from openwrt cli,

root@OpenWrt:~# ping ipv6.ustb.edu.cn
PING ipv6.ustb.edu.cn (2001:da8:208:10::14): 56 data bytes
ping: sendto: Network unreachable

from my computer.

$ ping ipv6.ustb.edu.cn
PING ipv6.ustb.edu.cn(2001:da8:208:10::14 (2001:da8:208:10::14)) 56 data bytes

And there is public network ipv6 by "ifconfig" command.

Default from 240e:344:5b02:XXXX::/64

Are those rules still there?
ip -6 ru

Substitute method for troubleshooting: put openwrt router away for a moment and connect to your ISP modem directly using yout PC for pppoe dial, can you obtain IPV6 global address? Is V6 network working?
If no then call your ISP for help.
If yes then proceed:
Reset openwrt router to factory settings, change option ipv6 to 1 in your network config and add the following to /etc/config/network then restart the router:

config interface 'WAN6'
	option proto 'dhcpv6'
	option device '@wan'
	option reqaddress 'try'
	option reqprefix '56'
	option ip6ifaceid 'random'

Reason: I have encountered similar issue in certain ISP and solved it using "manual mode" IPV6 settings.

4 Likes

Thanks!OK.Resolved.The configuration is ok.

1 Like

I think this only works if you set a net.ipv6.conf.default.stable_secret= in sysctrl.

See: Cascading routers, dhcpv6 and unwanted EUI64 w/SLAAC on wan6 - #39 by Frood42