Don't break vmware/virtualbox

After installing zerotier both vmware and virtualbox VMs don’t work. Both vmware/and vbox decide to bridge with the zero tier net then can’t get out to world.

I don’t know what the best solution is… if there there is some flag to put on a net adapter to say this doesn’t go to the world or some integration with vmware/virtualbox. For both systems you can create a virtual adapter that forces bridging to the real machine network but that needs to be done for each VM.

On Windows hosts, VMware chooses the adapter with the lowest index for automatic bridging. Check interface indexes in PowerShell like this:

Get-NetAdapter | Sort-Object InterfaceIndex

Physical network interfaces usually get low index numbers because they are plumbed during system installation. If hardware is changed or interfaces are reinstalled, then a ZT interface can get the lowest index, which is wrong for VMware bridging mode.

Windows lacks the means to change interface indexes or enumeration order, so manually selecting a physical interface in the Virtual Network Editor is the best solution: