I couldn't get any real help in the DDWRT, so I am reaching out to see if I can get more information on this matter.
I requested a /48 from HE. Need to subnet them to at least 3 different VLANs. I am using an example in the
DDWRT WIKI]https://wiki.dd-wrt.com/wiki/index.php/IPv6%2C_6in4_tunnel_-_GUI_only] DDWRT WIKI that someone wrote, but it's for /64. So I am somewhat modifying for my needs. The problem I am having now is that none of my LAN clients can route through the WAN router. They all get IPv6 ip assignments. The DDWRT Router itself CAN reach beyond the Tunnel gateway and get ping6 replies.
using DHCPv6 to serve. My routed /48 is 2001:470:fxxx::/48 using subnet of 2001:470:fxxx::/64, 2001:470:fxxx:1::/64, 2001:470:fxxx:2::/64
This is a Broadcon SoC. So eth0 = CPU/SoC vlan2=WAN Ethernet port br0=local lan (default) and br1 and vlan6 are created.
Here is the dhcp6s.conf:
option refreshtime 900;
interface br0 {
address-pool main 3600;
};
interface br1 {
address-pool guest 3600;
};
interface vlan6 {
address-pool guest 3600;
};
pool main {
range 2001:470:fxxx::1 to 2001:470:fxxx::ffff;
# line above is Assigned/Routed Prefix ::1 to ::ffff
};
pool quest {
range 2001:470:fxxx:2::1 to 2001:470:fxxx:2::ffff;
# line above is Assigned/Routed Prefix ::1 to ::ffff
};
pool vlan6 {
range 2001:470:fxxx:1::1 to 2001:470:fxxx:1::ffff;
# line above is Assigned/Routed Prefix ::1 to ::ffff
};
I am using radvd for router advertisements here is the radvd.conf:
interface br0
{
AdvSendAdvert on;
MinRtrAdvInterval 60;
MaxRtrAdvInterval 600;
AdvDefaultLifetime 9000;
prefix 2001:470:fxxx::/64 {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
};
route ::/0 {
AdvRouteLifetime infinity;
};
interface br1
{
AdvSendAdvert on;
MinRtrAdvInterval 60;
MaxRtrAdvInterval 600;
AdvDefaultLifetime 9000;
prefix 2001:470:fxxx:2::/64 {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
};
route ::/0 {
AdvRouteLifetime infinity;
};
interface vlan6
{
AdvSendAdvert on;
MinRtrAdvInterval 60;
MaxRtrAdvInterval 600;
AdvDefaultLifetime 9000;
prefix 2001:470:fxxx:1::/64 {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
};
route ::/0 {
AdvRouteLifetime infinity;
};
};
Again, all my VLANs are getting the correct subnet IPs. Even my local LAN client CAN ping the HE's Tunnel IPv6 address; which is 2001:470:c:1xxx::2.
But! It just WON'T GO BEYOND WAN.
Here is my IPv6 route table looks like:
root@ddwrt-ac3200:~# ip -6 route list
2001:470:c:1xxx::/64 dev ip6tun metric 256
2001:470:fxxx::/64 dev br0 metric 256
2001:470:fxxx:1::/64 dev vlan6 metric 256
2001:470:fxxx:2::/64 dev br1 metric 256
2000::/3 dev ip6tun metric 1024
fe80::/64 dev eth0 metric 256
fe80::/64 dev vlan6 metric 256
fe80::/64 dev br1 metric 256
fe80::/64 dev vlan1 metric 256
fe80::/64 dev eth1 metric 256
fe80::/64 dev eth2 metric 256
fe80::/64 dev eth3 metric 256
fe80::/64 dev vlan3 metric 256
fe80::/64 dev vlan2 metric 256
fe80::/64 dev ip6tun metric 256
fe80::/64 dev wl0.1 metric 256
fe80::/64 dev wl1.1 metric 256
fe80::/64 dev br0 metric 256
unreachable default dev lo metric -1 error -101
ff00::/8 dev eth0 metric 256
ff00::/8 dev vlan6 metric 256
ff00::/8 dev br1 metric 256
ff00::/8 dev vlan1 metric 256
ff00::/8 dev eth1 metric 256
ff00::/8 dev eth2 metric 256
ff00::/8 dev eth3 metric 256
ff00::/8 dev vlan3 metric 256
ff00::/8 dev vlan2 metric 256
ff00::/8 dev br0 metric 256
ff00::/8 dev ip6tun metric 256
ff00::/8 dev wl0.1 metric 256
ff00::/8 dev wl1.1 metric 256
unreachable default dev lo metric -1 error -101
Hopefully someone can chime in why none of my LAN clients cannot get through the tunnel, that would be great!.
Thanks!
PS: If I use the assigned /64... it works, but obviously I can't get my other VLANs any IPv6 addresses.