(moving my question to this thread)
tt wrote:Ah - so the wiki is only suggesting initial settings then. (http://wiki.openwrt.org/doc/uci/network6)
It shows ula_prefix==auto as the appropriate setting for native ipv6, and omits it for all other configurations. I guess it's safe to assume this can be ignored, unless I decide to actually use private addressing.
I've discovered that for my 6to4 interface, the ula_prefix setting needs to be removed from /etc/config/network6. Otherwise (at least with default settings) the ula_prefix private address is advertised as Global, and nodes on the network send via it.
Is this my configuration error, or a bug?
[edit - build is hnyman's IPv6 WNDR3700, r34586]
These examples are with a Windows client, but I get the same result with Linux.
"fdf8:34cf:dabb::1" is the ula_private value initially generated by uci.
>tracert ipv6.google.com
Tracing route to ipv6.l.google.com [2607:f8b0:400c:c03::63]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms fdf8:34cf:dabb::1
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * ^C
OTOH, after deleting ula_prefix, the 6to4 address becomes the only globally scoped IPv6, and the packets go out normally:
>tracert ipv6.google.com
Tracing route to ipv6.l.google.com [2607:f8b0:400c:c01::67]
over a maximum of 30 hops:
1 1 ms <1 ms <1 ms 2002:XXXX:XXXX::2
2 * * 37 ms 2002:c058:6301::
3 38 ms 45 ms 42 ms "gw1.isp.net"
4 39 ms 37 ms 69 ms "gw2.isp.net"
5 43 ms 39 ms 39 ms "gw3.isp.net"
6 ^C
(Last edited by tt on 10 Dec 2012, 20:32)