Topic: Native IPv6 with RA on Backfire
Hello,
I'm using Backfire (10.03.1-RC5, r27608) on a WNDR3700. I've a default setup, my OpenWRT Router is connected to a VDSL Modem. The OpenWRT router does PPPoE, does routing with NAT and has bridged LAN/WLAN on the inner side.
I installed IPv6 packages (kmod-ipv6, ip, kmod-ip6tables and ip6tables) and enabled IPv6 on my WAN, and I already get an IPv6 address:
I noticed that when I do a reconnect, the first 64-Bit are changing (dynamic IPv6 then..?)
Nice! Testing using ping6 from my router:
# ping6 ipv6.google.com
PING ipv6.google.com (2a00:1450:4001:c01::6a): 56 data bytes
64 bytes from 2a00:1450:4001:c01::6a: seq=0 ttl=57 time=28.818 ms
64 bytes from 2a00:1450:4001:c01::6a: seq=1 ttl=57 time=28.913 ms
Great.
Now I wanted to configure the internal hosts. I installed radvd. But since then I had no more IPv6 address on the WAN interface.
According to a post from jow, I have to set accept_ra to 2. I did this by using
sysctl -w net.ipv6.conf.pppoe-wan.accept_ra=2
But this didn't help. I assume it's because it's not persistent (it looks like the pppoe-wan interface is going to be deleted and recreated somehow when I reconnect with my ISP, after the reconnect accept_ra is back to 0).
Also it should be possible to set option this option in /etc/config/network (option 'accept_ra' '1'), but this did not help for me: Although the accept_ra was set to 2 after reconnecting, I don't get any IPv6 address on my WAN interface. The only solution is removing radvd or disabling IPv6 forward manually...
My questions
1. I think my IPv6 from the provider comes via RA. How can I be sure?
2. How can I enable RA for my WAN permanently even with routing enabled?
3. When I have a IPv6 address and routing enabled, how can I make sure my internal hosts can connect the network? As far as I understand that, I have to create a subnet, set the router's LAN address to an address out of that subnet and propagate that prefix using radvd. But how can I do that, especially when the address on the WAN interface is dynamic?
I called the provider, the supporter said: "IPv6 is implemented, but we can't sell it yet.." I asked which technical solutions they are using/planning to use, the supporter couldn't answer... It looks like their support isn't ready for IPv6, but their infrastructure is..
Thanks for any help
Cheers
Stefan