Dynamic IPv6 Routing for Matter Devices Across Subnets

Started by userunkn4wn, Today at 01:22:52 AM

Previous topic - Next topic
Hi OPNsense Community,

I'm currently trying to figure out how to reach my Matter devices, which are on a different subnet from my Home Assistant instance.

I managed to get it working by enabling the mDNS reflector, using my Matter Border Router (IKEA DIRIGERA) as a gateway into the IoT network, and adding a static route for the Matter network's ULA prefix via this gateway.

While this setup works, it's somewhat fragile because the route is configured statically. The Matter network's ULA prefix doesn't seem to change, so that's not an issue. However, my IKEA DIRIGERA's IPv6 link-local address changes after every reboot, meaning the gateway address changes as well.

I tried enabling Router Advertisement acceptance on the interface using:

sudo ifconfig bridge2 inet6 accept_rtadv

Unfortunately, this didn't seem to work.

Does anyone have an idea how I could move away from the static route and have OPNsense automatically learn the route instead?

Having to update the route after every reboot isn't a huge issue, especially since I only noticed this behavior after weeks of running this setup successfully, but it's certainly not ideal.

Thanks in advance for any suggestions!