Adapted from Chapter 7 of the Virtual Server 2005 R2 Resource Kit book from Microsoft Press
So you are trying to figure out how a virtual machine network adapter is mapped to a physical network adapter in the host through a virtual network. Maybe you moved a virtual machine between hosts and it now gives an error about not finding XYZ virtual network and will be binding to the default virtual network.
There are three pieces to this puzzle.
- The options.xml configuration file of the Virtual Server host contains the physical network adapters that have the Virtual Machine Network Services (VMNS) bound to them.
- The virtual network configuration (.vnc) file has the mapping to the physical adapter
- The virtual machine configuration file has the mapping to the virtual networks it is attached.
To trace a virtual machines mappings, open the .vmc file and look for entries for each virtual network adapter that specifies the ID of the virtual_network that the VM it is attached to. You can see by this example, that the id value is 00D67AACDFC2499DBD9222F7A0A29D54. Record this value.
Now open up the .vnc file for the virtual network that is attached. Search for the ID that you just recorded, then write down the <gateway> value. You will need this to determine which physical adapter it is bound.
Now open up the options.xml file and search each virtual_gateway entry for a value of id that matches the <gateway> value from the .vnc file.
<name type="string">Intel(R) PRO/Wireless 3945ABG Network Connection #2</name>
Now look at the name value and you know which physical adapter your virtual machine is attached!