Hi.
Before anyone can reasonably identify the cause of the problem, a few more details about the network configuration would be useful.
First, could you describe the Home Assistant VM networking in VMware Fusion in more detail:
- how many network interfaces the VM currently has,
- what mode each interface is using,
- where the VLAN tagging is being done,
- what IP address, subnet mask, default gateway, and DNS HA gets when only the VLAN_Trusted interface is left,
- whether HA can ping the VLAN_Trusted gateway, a device in VLAN_IoT, and an Internet address in that state.
It would also be very useful to clarify what exactly you mean by “everything breaks.” Do you lose access to the Home Assistant GUI, does HA lose Internet access, does communication with IoT devices stop working, does only automatic device discovery fail, or is the problem limited to the Ubiquiti integration?
Screenshots or a description of the Ubiquiti network and firewall configuration would also help: VLANs and subnets, zone assignments, rules between VLAN_Trusted and VLAN_IoT, and the mDNS configuration.
At this stage it is difficult to determine whether the issue is in VMware, routing, the firewall, or discovery mechanisms. First I would verify that after removing the old interface, HA still has a correct IP configuration and proper Layer 3 connectivity.
As a side note, there is one more thing worth keeping in mind for the future. Even if routing and firewall rules between VLAN_Trusted and VLAN_IoT are configured correctly, that does not automatically mean Home Assistant will be able to discover every device located in another VLAN. Many integrations use discovery mechanisms such as mDNS/Zeroconf, SSDP, multicast, or broadcast, which do not cross subnets in the same way as normal unicast traffic.
So you may encounter a situation where HA can communicate with a device perfectly well once its IP address is known, but cannot discover it automatically. An mDNS reflector may solve some of these cases, but not necessarily all of them, because different integrations use different discovery mechanisms.
This may not be the cause of your current problem, but with an architecture where HA is in VLAN_Trusted and all IoT devices are in a separate VLAN_IoT, it is something worth keeping in mind while troubleshooting.