KB ID 0001404
Problem
I’ve been rebuilding some Hyper-V hosts over the last few weeks, and one thing I learned rebuilding VMware ESX hosts is, ‘make sure you know what all the network cards are doing before you flatten it!’
The same is true of storage as well but here I’m just concentrating on networking.
List Network Cards and MAC Addresses
If you have these documented you can rename the network card correctly after the rebuild and the mac addresses ensure you have the right names assigned to the right NICs. (Without having to go and check all the cabling afterwards!)
List Network Teams and Members
From the names of the network connections above we can see we are using network teaming, but even if yours dont have sensible names, you can get the team names and the NICs that are a member of each team with the following command;
List NICs and IP addresses
To see what IP addresses are in use on which NICs, (physical or virtual) use the following;
Hyper-V: Get vSwitch and Virtual NIC info
As stated above, I’m rebuilding Hyper-V hosts, the following lists all the Management vSwitch(es) and vNICS, (and their names).
Hyper-V: Get vSwitch and Virtual NIC VLAN info
In addition to above, I also need to know the VLANs the vNICs are on.
Related Articles, References, Credits, or External Links
NA