Setting up IPv6 with a /64 prefix

Hey OpenWrt users!
Unfortunately in most countries ISPs think it's not necessary to give users a larger prefix than /64.
My country is one of them. What are your goto methods for setting up IPv6 with ndproxy?
I tried to set it up, but unfortunately my WAN interface shows 2 or more prefixes after a couple of hours and I can't use IPv6 anymore.
Cheers!

1 Like

If you have one /64 prefix delegated (check with ifstatus wan6) then do not use a prefix for the WAN, usually the WAN gets its own IPv6 address from the provider.

Make sure the wan 6 has something like:

config interface 'wan6'
	option device 'wan'
	option proto 'dhcpv6'
	option reqaddress 'try'
	option reqprefix 'auto'
	option peerdns '0'
	list dns '2606:4700::1111'
	list dns '2620:fe::10'
	#always set option norelease see RFC 9096
	option norelease '1'

So do not set option ip6assign

options starting with peerdns are optional

If you do not have any prefix delegated or you have more then one subnet then research relayd

Oh and complain with your ISP this is ridiculous

6 Likes

Hey, thanks for the quick reply!
I'll try it out when I get back home, thanks!