My network is segmented into VLANs and I have some IPv4 rules to allow them to access each other a bit (this is mostly for IoT stuff). I’m now using some Matter devices and they use IPv6 and I’m having some issues. My understanding of IPv6 is cursory, I read about it years ago when it was going to happen and then it didn’t happen and I forgot it.
I think the devices are happily getting link local IPv6 addresses and v6 is working on the VLANs/broadcast domains. My ISP doesn’t support IPv6 so there is no prefix coming in from outside so I think that none of the devices is getting more than just the link local address. Link local addresses do not route as far as I know and even though the VLANs are bridged together I’m not sure whether the MikroTik routes them between VLANs, doesn’t seem to.
I think what I want is a private IPv6 range per VLAN which is advertised so clients pick it up and make a private routable address. This in my mind is the equivalent of assigning VLAN10 to 10.10.0.0/16 and VLAN12 to 10.12.0.0/16 just with IPv6 in the fc00:/7 range. I would like to separate the addresses enough to apply similar rules to route between the VLANs as I have with IPv4, ie I don’t think I want to just have a big pool of fc00:/7 across the VLANs and put everything into one big IPv6 subnet 121 bits long.
So questions
- am I right that the link local addresses don’t route even if the VLANs are all on the same bridge? I know bridges are L2 so perhaps they actually just do.
- Do I want to do something similar to segmenting the private IPv6 space per VLAN or am I completely off the rails?
- How do I do any of this?
- What post in this forum explaining all this did I not find?