HA VMware Network Interface Bonding

VERSIONS:
Home Assistant Core 2022.6.4
Home Assistant Supervisor 2022.05.3
Home Assistant OS 8.0

I’m running the VMware HA ova in a VM and decided to add addition network interface; because of the bandwidth demand from my Unifi Cameras RTSP streaming to Frigate. Now, of course these nics need to be bond together. I understood HA is built on debian, so I researched and found the commands whereby to achieve the bonding.

EXAMPLE:
nmcli con add type bond ifname mybond0 mode 4
nmcli con add type ethernet ifname eth1 master mybond0
nmcli con add type ethernet ifname eth2 master mybond0

I’ve executed similar commands from the HA cli and it does appear to result in a bond. However, as I look in the web GUI it doesn’t show the bond interface at all. HA is accessible by either of the DHCP IPs of individual interfaces. I am unsure if what I’m missing is the need to manually assign the IP to the bond which will in turn prevent individual interfaces from getting dhcp addresses.

suggestions welcomed!

UPDATE: I forgot to mention, when running the cli command “nmcli dev status” the bond interface is not listed, but from everything I’ve read it should.

Here is the output of command “nmcli connection show”

I can’t help with the networking issue, but you may want to update to OS 8.1 if you use acpipowerbutton to shutdown the VM. There’s a bug in 8.0 that prevents graceful shut down using the acpipowerbutton command.

@ServiceXp

How does one accomplish this upgrade? I’m always updating when notifications received.

Unless you skipped the update, it should be presented to you.

@ServiceXp

You got it on the nose, soon as I saw your response I remembered. That was the only update I decided to skip. Upgrading now; thanks.

1 Like

Not VMware expert, but I think you are approaching this from wrong angle… If HA is run as VM on ESXi, than it is connected via vNIC to internal vSwitch of host. Increasing number of vNICs will not give you expected result, as it is purely host based (RAM to RAM) data transfer (perhaps equivalent of 10GB network card). So what you need is fast connectivity between ESXi host and cameras, so you need to bond physical NICs in the host and connect bonded link to vSwitch, where the HA is connected to. Bonding (or rather link aggregation) of physical NICs on ESXi can be done from UI, no need to use CLI. But, obviously, it requires that physical swith that ESXi host is connected to also support link aggregation.