Virtual Networks – Flashcards
Unlock all answers in this set
Unlock answersquestion
Virtual Network
answer
Each VM created has at least one virtual network adapter and is connected to a virtual switch. Can create unlimited multiple virtual switches in HyperV and multiple adapters on VMs
question
Creating Virtual switches
answer
The hyperV role enables Create virtual switches wizard. Can create a virtual switch for each of the physical network adapters in the host so VMs can send to actual switches that physical adapters connected to. Network adapter in host OS is connected to virtual switch and this is connected to physical switch. Provides external connections to network, can obtain IP info from LAN DHCP or be the LAN DHCP.
question
Types of virtual switch
answer
External Internal Private
question
External Vswitch
answer
Virtual switch is bound to network stack in host OS and connected to physical network adapter of host OS, access to external network Typical for production networks, access to internet, network services on physical networks. Can create only 1 external switch for each physical NIC.
question
Internal Vswitch
answer
VSwitch is a separate instance of networking stack, independent of physical adapter of host OS. All VMs, host (parent) and child can access virtual switch. Only Host OS can access the physical adapter on external network. Child partitions cannot access external network. Can create multiple Internal Vswitches
question
Private Vswitch
answer
Switch exists only in Hyper V server and is only accessible to VMs on child partitions. Host OS can access physical adapter but not access virtual switch or virtual network. Can create multiple Private Vswitches
question
Allow Management Operating System to share this Network Adapter
answer
Default is selected when external virtual switch created. Clear this box to exclude host OS from physical network but allow access to child VMs.
question
Enable Single Root I/O Virtualisation SR-IOV
answer
Enables creating an external virtual switch associated with an physical NIC that supports SR-IOV (only available when creating not modifying an existing Vswitch)
question
Enable VLAN Identification for Management Operating system
answer
Tick this box and enter VLAN ID to associate virtual switch with a particular VLAN on physical network.
question
Creating Vswitch in PS
answer
New-VMSwitch -NetAdapterName [-SwitchType Internal|Private] New-VMSwitch "LAN Switch" -NetAdapterName "Ethernet"
question
MAC addresses
answer
HyperV creates a pool of 256 MAC addresses for assigning to VMs. View under Virtual Switch Manager, Global network settings, mac address range First 3 bytes are 00-15-5D (Microsoft OUI) 4th and 5th bytes are last 2 bytes of the IP address of the physical adapter.
question
NIC limitations
answer
Can create up to 12 network adapters on server 2012 HyperV Eight synthetic NICs and 4 emulated NICs
question
Synthetic adapters:
answer
A virtual adapter on a child partition that uses the VMbus to communicate to parent partition, better performance. Part of Guest Integration Services, not operational until the guest OS is loaded.
question
Emulated adapter
answer
A legacy adapter that makes calls directly to hypervisor. Slower, select Legacy network Adapter. Can boot the VM using PXE boot as loads drivers preboot. Does not require Guest Integration services.
question
Hardware Acceleration settings
answer
Enable Virtual Machine Queue Enable IPsec Task Offloading Single-Root I/O Virtualization
question
Enable Virtual Machine Queue
answer
Packets from VMs stored in separate queues on physical NIC and passed directly to VMs.
question
Enable IPsec Task Offloading
answer
Nic does IPsec crypto (encryption) on packets
question
Advanced network adapter features
answer
Set a static Mac Address Enable Mac Address spoofing Enable DHCP guard Port Mirroring mode NIC Teaming
question
Enable Mac Address spoofing
answer
Port on virtual switch can send and receive packets with any MAC address
question
Enable DHCP guard
answer
Detects and prevents rogue DHCP servers
question
Port Mirroring mode
answer
Forward all packets received on a port to another port for analysis (wireshark)
question
NIC Teaming
answer
Logically binds NICs and adds bandwidth NICs together.
question
Recommended for VMs
answer
At least two physical network adapters in a Hyper-V server, with one adapter servicing the parent partition and the other connected to the child partitions.