How to get HA to work across VLANs?

I have two VLANs in my house:

  • VLAN1 - 192.168.129.0/24
  • VLAN2 - 10.0.0.0/24

HA currently resides on the 10.0.0.0/24 VLAN, along with many of my other IoT devices. I have some Sonos speakers on the 192.168.x.x network that I would like HA to interact with, however I can’t figure out how to get this working.

Right now I have the firewall totally open between both VLANs and can ping devices from both sides, however HA is still not able to discover the Sonos speakers.

Is there a way to add a second interface IP for HA to put it on the 192.168.x.x subnet, or how else can I get HA to discover devices on this other VLAN?

I’m still a bit of a noob when it comes to HA, so any and all advice is appreciated.

You can try to specify the IPs of your Sonos devices in your configuration.yaml

Check the following link for more information

Discovery needs mdns. Make mdns work across vlansnin your environment. Manual IP entry works as was previously mentioned.

Why do you have vlans?

Yes but you shouldnt need to do this.

This did the trick. Thank you so much!

1 Like