Problem with IPv6 routing on VLANs

Started by joost_sp, April 23, 2024, 07:55:47 PM

Previous topic - Next topic
Hi,
I've setup multiple VLANs on my router.
My setup works perfectly for IPv4, traffic get routed from a client on each VLAN.
When I connect a client to any of the VLANs my clients get a global unicast IPv6 address via DHCPv6 (2a... something).
From one of the VLANs (256) I can also ping address with IPv6, however on other VLANs my traffic gets blocked.
(and using tracert -6 google.com I get no wiser).

I'v looked at page System -> Routes -> Status, and I see that for the 256 vlan there are three routes active:

ipv4   172.18.0.0/20   link#16   U   NaN   1500   vlan0.1.256   MGMT       
ipv6   2a02:b46b:675b:c000::/58   link#16   U   NaN   1500   vlan0.1.256   MGMT       
ipv6   fe80::%vlan0.1.256/64   link#16   U   NaN   1500   vlan0.1.256   MGMT


whereas for the other VLANS (where traffic isnt being routed) I only see two routes active:

ipv4   172.17.0.0/16   link#14   U   NaN   1500   vlan0.1.128   NETW       
ipv6   fe80::%vlan0.1.128/64   link#14   U   NaN   1500   vlan0.1.128   NETW


Could you help me fix this problem?

Thanks,
Joost

A /58 routed to a vlan interface seems wrong to me. All subnets should be /64 .

Quote from: bimbar on April 24, 2024, 10:06:19 AM
A /58 routed to a vlan interface seems wrong to me. All subnets should be /64 .
Thanks for your reply.

What I've done set the IPv6 Configuration Type to None on all interfaces and rebooted the router.
Then I set my IPv6 Configuration Type back to DHCPv6 on my WAN interface and my IPv6 Configuration Type back to Track Interface to all my other VLAN-backed interfaces on the LAN, each with their own IPv6 Prefix ID and now under System -> Routes -> Status I see a /64 ipv6 route on each interface and IPv6 is work now.

All I can think off is that I might have been to hastily with applying the settings and changing the next interface. At least all works now  :)