Chapter 10 - Hyper-V Networking - Do I Know This Already? Flashcards

1
Q

To add a virtual NIC in the Hyper-V Manager, what shortcut menu option would you choose after selecting your virtual machine?

a. Add Hardware
b. Settings
c. Properties
d. Hardware

A

b. Settings

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

If you enable bandwidth management for a vNIC, what options exist? Choose two.

a. Load
b. Minimum bandwidth
c. VLAN distribution
d. Maximum bandwidth

A

b. Minimum bandwidth

d. Maximum bandwidth

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which virtual switch type permits communication between the VMs on the host and between the VMs and the host itself?

a. Internal
b. Private
c. Firewall
d. Shielded

A

a. Internal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following is not an option for a virtual switch in Windows Server 2016?
a. Internal b. Private c. External d. Firewall

A

d. Firewall

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What technology delivers packets from an outside virtual machine network directly to a virtualized host operating system?

a. SET
b. RDMA
c. VMQ
d. FIFO

A

c. VMQ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which technology is SET not compatible with?

a. 802.1X
b. RDMA
c. SR-IOV
d. DCB

A

a. 802.1X

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is.VMQ?

A

virtual machine queue (VMQ) architecture provides advantages for virtualization such as:

  • Virtualization impacts performance and VMQ helps overcome those effects.
  • VMQ supports live migration.
  • VMQ coexists with NDIS task offloads and other optimizations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is SET?

A

Switch Embedded Teaming, a new NIC Teaming option that provides faster performance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is RDMA?

A

An abbreviation for Remote Direct Memory Access, which permits Hyper-V switches to use this memory feature.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a vNIC?

A

An abbreviation for virtual network interface card; this virtual component permits a virtual machine to connect to a network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are virtual Machine queues?

A

A type of hardware packet filtering that delivers packets from an outside virtual machine network directly to a VM host OS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Name at least three new virtual networking features in Windows Server 2016.

A
  • Additional network function virtualization
  • container-aware virtual network features
  • the network controller component
  • SET; RDMA; and CNAs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the main GUI for virtual switch management and creation that is launched from Hyper-V Manager?

A

Virtual Switch Manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Name at least two virtual networking best practices

A
  • Provision enough actual bandwidth; use NIC teaming where possible; use bandwidth management
  • use adapters that support VMQ
  • with a large number of VMs, use network virtualization for VM isolation as opposed to VLANs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an external virtual switch?

A

This virtual switch maps a network to a specific network adapter or network adapter team. You can map an external network to a wireless network adapter if you have installed the wireless LAN service on the host Hyper-V server and if the Hyper-V server has a compatible network adapter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is an internal virtual Switch?

A

This virtual switch permits communication between the virtual machines and the Hyper-V host itself.

17
Q

What is a Private Virtual Switch?

A

Private virtual switches permit communication between virtual machines on a Hyper-V host. You cannot use private switches to communicate between the virtual machines and the Hyper-V host.

18
Q

What are some compatible networking technologies with Windows Server 2016?

A

Data Center Bridging (DCB)
Hyper-V Networking Virtualization like NV-GRE and VX-LAN
Receive side checksum offloads (IPv4, IPv6, TCP) if any of the SET members support them
Remote Direct Memory Access (RMDA)
SDN Quality of Service
Transmit side checksum offloads (IPv4, IPv6, TCP) if all SET members support them
Virtual machine Queues
Virtual Receive

19
Q

What’s Virtual Receive Side scaling?

A

allows the load from a virtual network adapter to be distributed across multiple virtual processors in a virtual machine

20
Q

How do you create a virtual NIC?

A

Step 1. In Server Manager, choose Tools > Hyper-V Manager.
Step 2. Right-click your virtual machine on the Virtual Machines page and choose Settings.
Step 3. From the Add Hardware screen, choose Network Adapter and click Add . Notice that you can also choose Legacy Network Adapter from this dialog. You should use a legacy network adapter only when absolutely needed, such as when you are performing a network-based installation of the operating system. Performance from virtual NICs is superior.
Complete the Network Adapter window as follows Select the virtual switch for the network adapter.
Specify an optional VLAN ID.
Configure bandwidth management.
Click Remove. (Note that you can easily click this button from the properties of an existing virtual NIC to remove it from the virtual

21
Q

How do you configure NIC teaming?

A

A computer running Hyper-V must have two or more physical network adapters to perform load balancing or failover. A NIC team that holds only one network adapter can use NIC teaming for separation of network traffic with virtual local area networks (VLANs).
If the network adapters connect to multiple physical switches, the physical switches must be on the same Layer 2 subnet.
The virtual network adapters you plan to team must connect to an external Hyper-V

switch only; teaming is not supported with private or internal virtual switches.
You must use Hyper-V Manager or Windows PowerShell commands to create two external Hyper-V virtual switches, each of which connects to a different physical network adapter.
The Windows Server 2016 NIC teaming solution supports teams with two members inVMs.
A VM’s networking interfaces must have configurations that allow teaming.
NIC teams within a VM must have their Teaming mode configured as Switch Independent.
The Load Balancing mode for the NIC team in a VM must use the Address Hash distribution mode.

22
Q

How do you configure an RDMA configuration?

A
New-VMSwitch -Name RDMAswitch -NetAdapterName "SLOT 2"
       #
       # Add host vNICs and make them RDMA capable
       #
       Add-VMNetworkAdapter -SwitchName RDMAswitch -Name SMB_1
       Enable-NetAdapterRDMA "vEthernet (SMB_1)"
       #
       # Verify RDMA capabilities
       #
       Get-NetAdapterRdma
23
Q

How do you configure RDMA on your Hyper-V host NICs?

A
# Create a vmSwitch with SET
       #
       New-VMSwitch -Name SETswitch -NetAdapterName "SLOT 2","SLOT 3"
         -EnableEmbeddedTeaming $true
       #
       # Add host vNICs and make them RDMA capable
       #
       Add-VMNetworkAdapter -SwitchName SETswitch -Name SMB_1
         -managementOS
       Add-VMNetworkAdapter -SwitchName SETswitch -Name SMB_2
         -managementOS
       Enable-NetAdapterRDMA "vEthernet (SMB_1)","vEthernet (SMB_2)"
       #
       # Verify RDMA capabilities; ensure that the capabilities are

non-zero #
Get-NetAdapterRdma | fl *
#
# Many switches won’t pass traffic class information on untagged
VLAN traffic,
# so make sure host adapters for RDMA are on VLANs. (This example
assigns the two SMB_*
# host virtual adapters to VLAN 42.)
#
Set-VMNetworkAdapterIsolation -ManagementOS -VMNetworkAdapterName
SMB_1 -IsolationMode VLAN -DefaultIsolationID 42
Set-VMNetworkAdapterIsolation -ManagementOS -VMNetworkAdapterName
SMB_2 -IsolationMode VLAN -DefaultIsolationID 42

24
Q

How do you configure SET on you virtual machine?

A


# Create a vmSwitch with SET

Step 1. Use the following sample script to enable and configure DCB for SMB Direct
#
# Turn on DCB
Install-WindowsFeature Data-Center-Bridging
#
# Set a policy for SMB-Direct
New-NetQosPolicy “SMB” -NetDirectPortMatchCondition 445
-PriorityValue8021Action 3
#
# Turn on Flow Control for SMB
Enable-NetQosFlowControl -Priority 3
#
# Make sure flow control is off for other traffic
Disable-NetQosFlowControl -Priority 0,1,2,4,5,6,7
#
# Apply policy to the target adapters
Enable-NetAdapterQos -Name “SLOT 2”
#
# Give SMB Direct 30% of the bandwidth minimum
New-NetQosTrafficClass “SMB” -Priority 3 -BandwidthPercentage
30 -Algorithm ETS

Step 2. To make use of RDMA capabilities on your Hyper-V host vNICs, use the following PowerShell script:

   #
   New-VMSwitch -Name SETswitch -NetAdapterName "SLOT 2","SLOT 3"
     -EnableEmbeddedTeaming $true
   #
   # Add host vNICs and make them RDMA capable
   #
   Add-VMNetworkAdapter -SwitchName SETswitch -Name SMB_1
     -managementOS
   Add-VMNetworkAdapter -SwitchName SETswitch -Name SMB_2
     -managementOS
   Enable-NetAdapterRDMA "vEthernet (SMB_1)","vEthernet (SMB_2)"
   #
   # Verify RDMA capabilities; ensure that the capabilities are non-zero #
   Get-NetAdapterRdma | fl *
   #
   # Many switches won't pass traffic class information on untagged
     VLAN traffic,
   # so make sure host adapters for RDMA are on VLANs. (This example
     assigns the two SMB_*
   # host virtual adapters to VLAN 42.)
   #
   Set-VMNetworkAdapterIsolation -ManagementOS -VMNetworkAdapterName
     SMB_1   -IsolationMode VLAN -DefaultIsolationID 42
   Set-VMNetworkAdapterIsolation -ManagementOS -VMNetworkAdapterName
     SMB_2   -IsolationMode VLAN -DefaultIsolationID 42
25
Q

What are some Virtual Networking Best Practices?

A

Bandwidth is key. Be sure to provision enough bandwidth so that the bottleneck of your design is not the network itself.
Consider using NIC teaming whenever possible.
Use bandwidth management to give maximum and minimum bandwidth for each virtual network adapter.
Provision a Hyper-V host with an adapter that supports VMQ. VMQ uses hardware packet filtering to deliver network traffic directly to a virtual machine, which improves performance because the packet does not need to be copied from the host operating system to the virtual machine.
If you are hosting a large number of virtual machines and need to isolate them, use network virtualization rather than VLANs.

26
Q

What are all the Virtual Networking Best Practices?

A
  • Bandwidth is key. Be sure to provision enough bandwidth so that the bottleneck of your design is not the network itself.
  • Consider using NIC teaming whenever possible.
  • Use bandwidth management to give maximum and minimum bandwidth for each virtual network adapter.
  • Provision a Hyper-V host with an adapter that supports VMQ. VMQ uses hardware packet filtering to deliver network traffic directly to a virtual machine, which improves performance because the packet does not need to be copied from the host operating system to the virtual machine.
  • If you are hosting a large number of virtual machines and need to isolate them, use network virtualization rather than VLANs