You are configuring security for your Windows Server 2008 R2 Hyper-V environment. You
need to configure the environment so that virtual machines (VMs) are restricted to a specific
VLAN. What should you do?
A.
Enable VLAN identification on the virtual network and specify the VLAN ID.
B.
Enable VLAN identification on the VM network adapter and specify the VLAN ID.
C.
Add a secondary network adapter to the Hyper-V host.
D.
Add a secondary network adapter to the VM.
Explanation:
Configuring virtual local area networks (VLANs)
All released versions of Hyper-V support virtual local area networks (VLANs). A VLAN
configuration is software-based, which means that you can easily move a computer and still
maintain their network configurations. For each virtual network adapter you connect to a
virtual machine, you can configure a VLAN ID for the virtual machine. You will need the
following to configure VLANs:
A physical network adapter that supports VLANs.
A physical network adapter that supports network packets with VLAN IDs that are already
applied.
On the management operating system, you will need to configure the virtual network to allow
network traffic on the physical port. This is for the VLAN IDs that you want to use internally
with virtual machines. Next, you configure the virtual machine to specify the virtual LAN that
the virtual machine will use for all network communications.
There are two modes in which you can configure a VLAN: access mode and trunk mode. In
access mode, the external port of the virtual network is restricted to a single VLAN ID in the
UI. You can have multiple VLANs using WMI. Use access mode when the physical network
adapter is connected to a port on the physical network switch that also is in access mode. To
give a virtual machine external access on the virtual network that is in access mode, you
must configure the virtual machine to use the same VLAN ID that is configured in the access
mode of the virtual network. Trunk mode allows multiple VLAN IDs to share the connection
between the physical network adapter and the physical network. To give virtual machines
external access on the virtual network in multiple VLANs, you need to configure the port on
the physical network to be in trunk mode. You will also need to know the specific VLANs that
are used and all of the VLAN IDs used by the virtual machines that the virtual network
supports.