#How to configure HA with devices on a different subnet?

1 messages · Page 1 of 1 (latest)

mortal osprey
#

I'm trying to figure out how to configure HA/networking to support the following scenario:

  • Orbi mesh network with two subnets 192.168.1/24 & 192.168.2/24

  • IOT devices are isolated on the 192.168.2 network

  • Want to setup things so that:

    1. HA "sees" the devices on 192.168.2
    2. At least one admin host on 192.168.1 can access the HA web interface.

Probably pretty simple, but network stuff is pretty opaque to me and fives me a headache.

Thx in advance

analog geyser
#

The simple answer is to move HA to that subnet

#

Otherwise it depends on what those devices are, and what the integration is

#

If it allows you to enter an IP then as long as you can route packets there (and back) you'll be fine

#

If it uses SSDP/discovery/broadcasts then you need some magic to relay packets, and it may still not work

mortal osprey
#

The HA controller has 2 interfaces - one for each subnet. Does that automatically allow HA access to the 192.168.2 net's devices or is there HA configuration needed to specify which interface to use for device access?

analog geyser
#

I assume you're running Home Assistant OS?

mortal osprey
#

Yes on a Pi

analog geyser
#

You've got a second interface?

#

It's connected to that subnet and has an IP?

#

Or are you messing with VLANs

mortal osprey
#

Correct. The HA system network settings show 2 adapters selected. - eth0 on 192.168.1 and wlp1s0u1u1 on the 192.168.2 subnet

analog geyser
#

Then, if it's connected, it should work...

mortal osprey
#

Beginning to figure out the questions...

SSH'd into HA controller. System info shows 3 interfaces one on .1 and 2 on .2.

However, a ping to any device on the .2 network fails.

Looking at the routing table shows the following:
default a0d7b954-ssh.lo 0.0.0.0 UG 0 0 0 eth0
172.30.32.0 * 255.255.254.0 U 0 0 0 eth0

I'm guessing I need to add a route?? If so how?

jaunty hornetBOT
#

Open your Home Assistant instance and manage your systems network configuration

analog geyser
#

Check there

mortal osprey