|reply to mactalla |
Re: IPv6 beta
I'm not in the west, but I imagine that you should have a static /64. Ideally, you would want at least a /128 for the WAN side and a /64 for the LAN side. The stateless addressing (SLAAC) enabled with radvd requires a /64 on the LAN. You may be able to split the /64 into two /65s but then you should use stateful addressing (DHCPv6).
So don't set config prefix / list prefix in radvd. Instead, edit /etc/dhcp6s.conf to use DHCPv6 to assign addresses in a smaller range.
In /etc/config/radvd, enable DHCPv6 router advertisement:
- under config interface
option AdvOtherConfigFlag 1
option ignore 0
In /etc/config/dhcp6s, enable DHCPv6:
- change to
option 'enabled' '1'
Let's say your /64 was 2607:f2c0:xxxx:xxxx::/64. This could be split into 2607:f2c0:xxxx:xxxx:8000::/65 and 2607:f2c0:xxxx:xxxx::/65.
You could make your router's WAN IP 2607:f2c0:xxxx:xxxx:8000::1/65 and your router's LAN IP 2607:f2c0:xxxx:xxxx::1/65. Configure DHCPv6 to give out addresses in a range 2607:f2c0:xxxx:xxxx::1000 to 2607:f2c0:xxxx:xxxx::ffff.
I haven't tried this and don't know if it will work.