Running HA as a docker works fine, but I am ramping up my home LAN security and I am moving all IOT devices in a non Internet Connected VLAN.
All LAN traffic is routed on my Firewall and works fine.
But due to a limmitation in some intergrations I am not able to change configuration or Discover some devices (for example my Airco unit) as I asume this is discovered via a Layer 2 broadcast (thus not forwarded to any other VLAN.
My HA docker runs in VLAN A (Internet Connected) and my IOT devices are in VLAN B.
To work with the mentioned issue I want to add another NIC (configured in VLAN B) to my HA Container. But so far no luck.
I am working with MACVLAN in my docker compose file and this works great for other containers but so far no luck with the HA container as it only shows the first network mentioned in the Docker-Compose config DockervlanA
HomeAssistant:
container_name: HomeAssistant
image: homeassistant/home-assistant
volumes:
- /share/docker/HomeAssistant/config:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
networks:
dockervlanA:
ipv4_address: 192.168.1.1
dockervlanB:
ipv4_address: 192.168.2.2
But no second NIC in the system/network
Anyone a tip how to get my docker running with multiple NICS ?
WOW that escaleted Quickly
Now the auto configure option caught my eye … well that did the trick removed that tick et voilla … now I am able to select the other NIC
Thanks for reading Isuue solved