I split this from here https://forum.openwrt.org/viewtopic.php?pid=184878#p184878:
Hello,
This is a very interesting development, big thank you for that.CyrusFF wrote:If you have a native IPv6 connection but the upstream router doesn't support prefix delegation wan and lan are automatically put in relay mode (when not otherwise configured) meaning RD-, DHCPv6 and NDP are proxied so that both interfaces operate in the same /64.
I am in this case, with FREE TELECOM, French ISP that offers 6rd.
Here is my network6:
config interface 'wan' option mode 'static' option request_prefix 'auto' option prefix_fallback 'relay' option peerdns '1' list static_prefix '2a01:e34:xxxx:xxxx::/64' option ula_prefix 'fdd9:a5a0:f1f0::/48' config interface 'lan' option mode 'downstream' option advertise_prefix '64' option relay_master 'wan' config interface '6in4' option mode 'static' list static_prefix '2a01:e34:xxxx:xxx::/64
Here is my 6relayd:
config relay option network 'wan lan' option rd 'relay' option dhcpv6 'relay' option ndp 'relay'
I get perfectly IPv6 allocations on the LAN
Adresse IPv6: 2a01:e34:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx(préféré) Adresse IPv6 temporaire: 2a01:e34:xxxx:xxxx:yyyy:yyyy:yyyy:yyyy(préféré) Serveurs DNS: 2a01:e34:xxxx:xxxx::1 192.168.1.1
But IPv6 tests still fail (http://test-ipv6.com/)
Do you find a mistake in my settings?
First of all if please don't setup both 6relayd manually and using network6. It will lead to confusion and probably won't work as expected. Also if you are using a tunnel-protocl like 6rd please don't configure the static_prefix to wan.
I guess the best thing is we start from scratch, find a solution to your setup and then add details to the docs.
Ok to start:
I don't know much about 6rd yet, but I assume it works similar to 6in4 or 6to4.
Can you briefly explain how you did the setup before and why you think you need to do NDP-Proxying?
(Last edited by CyrusFF on 1 Dec 2012, 14:13)