Changes

Jump to: navigation, search
m
Text replacement - "<google>BUY_HYPERV</google>" to "<htmlet>hyperv</htmlet>"
<table border="0" cellspacing="0" width="100%"><tr><td width="20%">[[A Tour of the Hyper-V Manager Tool|Previous]]<td align="center">[[Hyper-V Essentials|Table of Contents]]<td width="20%" align="right">[[Creating Hyper-V Virtual Machines|Next]]</td><tr><td width="20%">A Tour of the Hyper-V Manager Tool<td align="center"><td width="20%" align="right">Creating Hyper-V Virtual Machines</td></table><hr>  <htmlet>hyperv</htmlet>  Before creating virtual machines with within the Hyper-V environment , it is worth first gaining an understanding of both the Hyper-V networking architecture and networking options which that are available to guest operating systems running within virtual machines. The purpose of this chapter, therefore, is to provide a high level overview of Hyper-V networking and to cover the steps involved in configuring Hyper-V virtual networks.
== The Hyper-V Virtual Network Architecture ==
As previously outlined in the chapter entitled [[An Overview of the Hyper-V Architecture]], it was explained that Hyper-V consists of a parent partition and multiple child partitions. These partitions are essentially virtual machines. Running in the parent partition is an instance of Windows Server 2008 which provides services to the child partitions which , in turn, contain the guest operating systems. The services provided by the parent partition include networking for the guest virtual machines. A high level view of this architecture is illustrated in the following figure:
== Hyper-V Virtual Network Types ==
Hyper-V provides the ability to create multiple virtual networks which may be used for use by virtual machines. The types of virtual networks supported by Hyper-V fall into three distinct categories, details of which are provided in the following table:
<table border="1" cellpadding="5" cellspacing="0" id="E3B" style="border-collapse: collapse; border-color:#cccccc; border-style: solid; border-width: 1px; margin-bottom:20px">
</td>
<td>
Virtual machines connected to a private virtual network have access only to other virtual machines attached to the same virtual network. Hyper-V private virtual networks do not require a physical network adapter and no access to the parent partition or external networks network is provided.
</td>
</tr>
</table>
Note that there is a one to one correspondence between external virtual networks and physical networks adapters. It is not, therefore, possible to bind more than one external virtual network to a physical network adapter. if If multiple external virtual networks are required, a physical network adapter must be installed in the host system for each one. If the Hyper-V server is to be administered remotely, it is also necessary to dedicate a separate physical network adapter for this purpose.
== Creating a New Hyper-V Virtual Network ==
Hyper-V virtual networks are created and managed using the ''Virtual Network Manager''. To access this tool, begin by launching the Hyper-V Manager (''Start->Administrative Tools->Hyper-V Manager''). Unless the Hyper-V Manager is already connected to the required Hyper-V Server, connect to the appropriate server in the left hand panel by right clicking on ''Hyper-V Manager'' in the left hand panel and selecting ''Connect to Server...''. Once connected, click on the ''Virtual Network Manager...'' link in the ''Actions'' panel. Once loaded, the manager dialog will appear as follows:
In the case of private and internal virtual networks, the name of the virtual network needs to be specified together with optional descriptive notes. In the case of external private networks, a physical network adapter must be selected from the drop down list. As previously mentioned, physical network adapters which are already bound to another external network, or that are used for remote administration of the Hyper-V Server cannot be used for other external virtual networks.
The ''Enable virtual LAN identification for parent partition'' option is only available for external and internal virtual networks and allows an identification number to be specified in order to isolate network traffic from the parent partition. This option requires a physical network adapter with VLAN support.
== Assigning Virtual Machines to Virtual Networks ==
Clearly, the above scenario requires the creation of an additional virtual network adapter, since the only adapter currently present is already assigned to another virtual network. To add a new adapter, select ''Add Hardware'' from the top of the device list, select ''Network Adapter'' from the list in the main panel and click ''Add'' to proceed to the settings screen for the new adapter. On this screen , select the virtual network to which the device is to be attached and click ''Apply'' to commit the configuration changes.  <htmlet>hyperv</htmlet>

Navigation menu