I’ve been trying to set up something along these lines as well. I’m running HASSOS on Proxmox (set up a few days ago with whiskerz’ script, core-2021.2.3
, supervisor-2021.02.11
).
The proxmox server’s physical NIC is connected to a trunk line (among others: 192.168.20.0/24
untagged, 192.168.40.0/24
tagged VID 40). Subnet 20 family
is for trusted machines, subnet 40 things
is for IoT devices.
I have assigned virtual network cards enp0s18
(subnet 20) and enp0s19
(subnet 40) to the HA VM. Everything works great with a single network card. Via DHCP it obtains always the same IP (mapped to the virtual NIC’s MAC address), as the information displayed after SSH login shows:
System information
IPv4 addresses for enp0s18: 192.168.20.x/24
IPv6 addresses for enp0s18: 2a02:2455:ce4:…/64, fe80::d185:…/64
IPv4 addresses for enp0s19:
The Hassio dashboard (menu “Supervisor->System”) shows the same informations enp0s18
: IPv4 DHCP, IPv6 DHCP; enp0s19
: IPv4 Disabled, IPv6 DHCP Disabled.
I access the HA instance via https and a public duckdns.org
address which is statically routed to the local IP 192.168.20.154
.
But as soon as I bring up the link of enp0s19
and run (the nmcli
command does not work because NetworkManager is not installed)
ha network reload
the second network card card is recognized and obtains IPv4 and IPv6 addresses via DHCP as well (and reachable via ping
):
System information
IPv4 addresses for enp0s18: 192.168.20.x/24
IPv6 addresses for enp0s18: 2a02:2455:ce4:…/64, fe80::d185:…/64
IPv4 addresses for enp0s19: 192.168.40.y/24
IPv6 addresses for enp0s19: 2a02:2455:ce4:…/64, fe80::c468:40a5:e42b:f9f8/64
But according to Proxmox the VM’s CPU usage goes up from around 10% to almost 100%, and the “Supervisor” menu in the Hassio dashboard loads slowly. ps -A
and top
on the HA’s SSH login look normal. There seems to be a lot of traffic on the network, and after a while on my Macbook pops up a message that it obtained another name <old name> (1)>
, then <old name> (2)
, an so forth. Looks like a discovery storm or so.
Any ideas what went wrong?