Академический Документы
Профессиональный Документы
Культура Документы
Virtual
Academy
Hyper-V Networking
Symon Perriman Jeff Woolsey
Technical Evangelist Principal Program Manager
Second Half
** MEAL BREAK **
Microsoft
Virtual
Academy
Agenda
Virtual networks
Software Defined Networking
Hyper-V Extensible Switch
Network teaming
Guest Network Load Balancing
Microsoft
Virtual
Academy
Virtual Networks
Internal networks
VMs can communicate with only other VMs on the same
host, and with the host computer
Private networks
VMs can communicate only with other VMs on the
same host
Windows XP
Windows Vista
Windows 7
Windows 8
OpenSUSE
Etc.
Legacy (Emulated)
Adapters
Emulates a physical DEC21140 chipset
Supports PXE boot
Drivers exist for most operating systems
Network Considerations
Customers
How do I ensure
Fully Leverage
network multitenancy?
IP Address
Management is a
pain.
What if VMs are
competing for
bandwidth?
Network Fabric
How do I integrate
with existing fabric?
Network Metering?
Can I dedicate a NIC
to a workload?
Hybrid Clouds
Windows Server 2012 is optimized for Hybrid Clouds
to host multi-tenant workloads
Tenant 1: Multiple VM Workloads
Data Center
Reliability
Even when hardware fails
customers want continuous availability
Tenant 1: Multiple VM Workloads
Data Center
TEAMING
Predictability
Even when multiple VMs are competing for bandwidth
Data Center
15
$$
25
$$$$
Security
In a multi-tenant environment
customers want security and isolation
Tenant 1: Multiple VM Workloads
Data Center
Multi-Tenant Network
Requirements
Tenant wants to easily move VMs to/from
the cloud
Hoster wants to place VMs anywhere in
the data center
Both want: Easy Onboarding, Flexibility &
Woodgrove
Bank
Contoso Bank
Isolation
Blue 10.1.0.0/16
Red 10.1.0.0/16
Blue
10.1.1.31
Isolated
4, 7
Red1
10.1.1.21
Isolated
4, 7
Red2
10.1.1.11
Hyper-V
u
Switch
Community
4, 9
10.1.1.12
Community
4, 9
Win 8 Host
Isolation Scenario
Hoster wants to isolate all VMs from each other and allow internet connectivity
#1 Customer Ask from hosters
Community Scenario
Hoster wants tenant VMs to interact with each other but not with other tenant VMs
Requires a VLAN id for each community (limited scalability, only 4095 VLAN IDs)
To Internet
(10.1.1.1)
Software Defined
Networking
Contoso VM
Physical
server
Woodgrove network
Contoso network
Physic
al
networ
k
Problems solved
Removes VLAN constraints
Eliminates hierarchical IP address assignment for virtual machines
On a per-VM basis, configure security policies that limit the types of traffic (and
destinations)
Benefits
Lowers burden on switches
Allows traffic analysis, metering and control
Enable Live Migration across subnets
Extensibility
Customers want specialized functionality with lots of
choice
for firewalls, monitoring and physical fabric
Tenant 1: Multiple VM Workloads
integration
Data Center
Hyper-V Extensible
Switch
PVLANS
DHCP Guard
Protection
Trunk Mode
to Virtual
Machines
Monitoring &
Port Mirroring
The Hyper-V
Extensible
Switch allows a
deeper
integration with
customers
existing
network
infrastructure,
monitoring, and
security tools
Root Partition
VM2
VM NIC
Host NIC
VM NIC
BFE Service
Firewall
Callout
Extensible Switch
Filtering Engine
Extension Protocol
Capture Extensions
(NDIS)
Windows Filter
Platform (WFP)
Forwarding
Forwarding
Extensions
Extensions
(NDIS)
Extension Miniport
Physical NIC
Forwarding
extensions
direct
traffic,
defining
the
Windows
Platform
(WFP)
Extensions
can
CaptureFilter
extensions
can
inspect
traffic
destination(s)
each packet
inspect, drop,ofmodify,
and insert packets using
WFP APIs
Examples:
Capture
extensions
WFP
for traffic
filtering do not modify
existing
Extensible
traffic
Cisco Nexus
1000VSwitch
and UCS
Example:
Virtual Firewall by
5NINE
NEC ProgrammableFlow's
vPFS
OpenFlow
Software
Example: sflow by inMon
Switch
Nexus 1000 Support
Openflow Support
Network Introspection
Much more
Advanced Networking
ACLs
PVLAN
much more
Windows NIC Teaming
Network QoS
Per VNIC bandwidth reservation
& limits
Network Metering
DVMQ
SR-IOV Network Support
Reduce Latency & CPU Utilization
Supports Live Migration
network path
Reduces CPU utilization for
processing network traffic
Increases throughput
Direct device assignment
to virtual machines without
compromising flexibility
Supports Live Migration
Root
Partition
Hyper-V Switch
Routing
VLAN Filtering
Data Copy
Virtual
Machine
Virtual NIC
VMBUS
Virtual Function
Physical
SR-IOV Physical NIC
NIC
Network
NetworkI/O
I/O path
path with
without
SR-IOV
SRIOV
Live Migration
Break Team
Remove VF from VM
Migrate as normal
Post Migration
Software NIC
TEAM
TEAM
if
Virtual Function
Physical
SR-IOV Physical NIC
NIC
Software
Switch
(IOV Mode)
Virtual Function
SR-IOV Pros:
Great performance
Great for low latency workloads
DVMQ Cons:
If you need greater than 10 Gb/E for a
SR-IOV Cons:
Bypasses the virtual switch
Bandwidth
Management
allows you to easily
reserve minimum or
set maximums to
provide QoS
controls to manage
to a service level
agreement
Port Mirroring
Provided by the Hyper-V Extensible switch
Administrator can run security and diagnostics
applications in virtual machines that can monitor
virtual machine network traffic
Port mirroring also supports live migration of
extension configurations
Set-VMNetworkAdapter VMName MyVM PortMirroring Source
Network Teaming
Microsoft Supported
Port ACL
A rule that you can apply to a Hyper-V switch port
Can allow or deny packets
Inbound or outbound control
ACLs have three elements with the following
structure
Local or Remote Address
Direction
Action
Add-VMNetworkAdapterAcl
PVLANS
PVLAN addresses some of the scalability issues of
VLANs
Set as a switch port property
PVLAN has two VLAN IDs: a primary VLAN ID and
a secondary VLAN ID
PVLAN may be in one of three modes
Isolated
Promiscuous
Set-VMNetworkAdapterVlan
Community
Trunk Mode
Hyper-V Virtual Switch provides support for VLAN
Trunk mode
Provides network services on a virtual machine
with the ability to see traffic from multiple VLANS
The switch port receives traffic from all VLANs are
in an allowed VLAN list
Set-VMNetworkAdapterVlan
Networking Performance
Dynamic
VMq
IPsec Task
Offload
SR-IOV
Support
The Hyper-V
Extensible
Switch takes
advantage of
hardware
innovation to
drive the
highest levels of
networking
performance
within virtual
machines
Network Load
Balancing
VLAN Tagging
Yes
Yes
Yes
No
Yes
No
Yes
SR-IOV Networking
No
No
Yes
Network QoS
No
No
Yes
Network Metering
No
No
Yes
No
No
Yes
No
No
Yes
VM Trunk Mode
No
No
Yes
NIC Teaming
Takeaways
Hyper-V is fully integrated in the Windows network
stack
Use the synthetic network adapter
Use VLAN tagging & firewall rules for security
Windows Server 2012 includes inbox NIC Teaming for
load balancing and failover
VMQ provides great performance for most workloads
SR-IOV for low latency, high throughput workloads
2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks
and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of
the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and
Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR
STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.