How Can I use openwrt to relay the IPv6?

Hi there, I'm running OpenWrt 21.02.0 r16279-5cc0535800 on my router.
My ISP provide an /60 prefix, but for some reason, I need to use the cable modem as the main router.
The modem doesn't provide downstream PD so I can only see an /64 address on the 'wan6' interface.
I setup the IPv6 relay as the wiki guide says:

config dhcp 'lan'
	option interface 'lan'
	option start '100'
	option limit '150'
	option leasetime '5m'
	option ra 'relay'
	option dhcpv6 'relay'
	option ndp 'relay'
	option ndproxy_routing '0'
	option ndproxy_slave '1'
	list ra_flags 'none'

config dhcp 'wan6'
	option interface 'wan'
	option ignore '1'
	option ra 'relay'
	option master '1'
	option dhcpv6 'relay'
	option ndp 'relay'
	list ra_flags 'none'

Then I connect My PC to the openwrt router, actually it got an Global Address. But I can't ping any IPv6 address except the gateway address (the Link-local address of router's lan interface begin with fe80). Even can't ping the GUA and Link-local address of wan6 or cable modem.

All right, I solved it.
Need to setup the DHCP server of wan6 in luci.
And turn on the 'Learn routes' option in both of the lan and wan6.
Then it works.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.