On Windows Server 2012, you can manage the network of your virtual machines in Hyper-V with virtual switches.
By default, Hyper-V creates a virtual switch connected to the default network adapter.
To manage the default virtual switch, select your Hyper-V server and click Virtual Switch Manager.
As you can see, the virtual switch is connected to the "External network" (the physical network to which your Hyper-V server is connected).
In the default extensions on Windows Server 2012, you will find :
To manage network access (and/or security of it), you will be able to manage the range of MAC addresses to assign to the different virtual machines.
To create virtual switches, open the Virtual Switch Manager and click "New virtual network switch".
Then, you will need to choose the type of switch you want to create :
Select the type of virtual switch to create, and then click : Create Virtual Switch.
In our case, we have created a new external virtual switch that will connect virtual machines to our 2nd network (via the 2nd network card of our Hyper-V server).
Once created, you can change the connection type : external network, internal network or private network.
For virtual switches of type "External", you will be able to :
As you can see, our Hyper-V server has 2 physical network cards.
Note that managing switch extensions is only possible after creating the switch.
You will need to click OK to save the changes before you can access them for the new virtual switch.
Depending on the settings used, this may cause a small network outage on your Hyper-V server.
In this case, Hyper-V will warn you. Click Yes.
For virtual switch extensions, you will find the same each time.
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2020 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.