Documente Academic
Documente Profesional
Documente Cultură
Network Virtualization
www.huawei.com
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 2
Contents
1. Introduction to Network Virtualization
1) Development of Virtual Networks
3) Huawei DVS
2. DVS
3. NIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 3
Development of Virtual Networks
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 4
Contents
1. Introduction to Network Virtualization
1) Development of Virtual Networks
3) Huawei DVS
2. DVS
3. NIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 5
Current Status of Virtual Switching
Control Control Control
domain domain VM VM domain VM VM
VM VM
VIF VIF
bridge bridge PF driver VF VF
driver driver
NIC throughput: 9.1 Gbit/s (TCP) NIC throughput: 9.15 Gbit/s (TCP) NIC throughput: 9.5 Gbit/s (TCP)
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 6
Contents
1. Introduction to Network Virtualization
1) Development of Virtual Networks
3) Huawei DVS
2. DVS
3. NIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 7
Huawei DVS Implementation
1. EVS-based common NIC
2. VMDq-enabled iNIC, which is the only passthrough
plan that supports hot migration in the industry
3. SR-IOV-enabled NIC passthrough plan
VM VM VM Management Storage
Distributed port
vNIC
group
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 8
Contents
1. Introduction to Network Virtualization
2. DVS
1 ) DVS Working Principle
3. NIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 9
Virtual Switching Implementation Principle
Port group (ports VM VM 2 VM 3 VM 4 VM 5
of the same vNIC NIC NIC NIC
attributes, such as
1NIC NIC
VLAN)
Switch port
Port Port Port
Physical switch
1. The vNICs of VM 1 and VM 2 belong to port group 1 and are connected to the same elastic virtual switch (EVS). The traffic between
them is forwarded by the EVS, as illustrated by the red line.
2. The vNICs of VM 1 and VM 2 belong to port group 1 and are connected to different EVSs. The traffic between them is forwarded by the
physical switch, as illustrated by the blue line.
3. The vNICs of VM 1 and VM 2 belong to different port groups and are connected to different EVSs. The traffic between them is
forwarded by the physical switch, as illustrated by the purple line.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 10
DVS Is the Foundation of Network Virtualization
VM VM VM VM VM VM VM VM VM VM VM VM
DVSM
EVS/OVS built-in servers implements complete layer-2 switching functions, including virtual switching,
virtual security isolation, and VM QoS.
Layer-2 monitoring and maintenance
Huawei-proprietary iNICs offload virtual switching functions from CPUs, which improve VM network
performance and reduce CPU usage.
Centralized management of EVS/iNICs across multiple servers, simplifying management and
maintenance
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 11
Dual Virtual Switching Engines: Huawei-Proprietary iNIC
and OVS
Domain 0
Provides an open-source
OVS OVS/EVS virtual switch
Back-end
VM VM VM VM forwarding engine
ACL ASPF L2 Security
Back-end
driver
Huawei-proprietary iNIC
driver
Switch provides high-performance and
low-latency switching
VXLAN
VLAN capabilities.
iNICs are used in the network
Bonding/LACP SHAPING virtualization scenarios where
high network switching
Passthrough capabilities are required.
Native driver
Front driver driver
Hypervisor
PCIE PCIE
iNIC
Commercial NIC
VMDQ/SR-IOV
Intel/BCM
/Emulex… ACL ASPF L2 Security
Switch
VLAN VXLAN
Bonding/LACP SHAPING
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 12
Decoupling System Interfaces and Physical Interfaces
Supports Flexible Configurations
Scenario:
1. The first NIC is selected as the management interface during
System management interface: CNA booting. This is based on the default settings of the file
management and storage being loaded.
2. Users can add or change system interfaces based on the actual
Mgnt iSCSI requirement.
3. For a created system interface, users can add or change its
uplink port and the load balancing port.
4. Users can check the configurations and running status of a
system management interface.
NIC1
Benefit:
Uplink port
1. Decouples management interfaces and physical interfaces
and supports flexible configurations.
2. Visualized interfaces, improving maintainability
3. Heterogenous servers, supporting 1GE/10GE/iNIC
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 13
DVS Management
VM VM VM VM VM VM DHCP FW
Network1(Web )
Virtual
switch port Network2(App)
(VSP)
Virtual switch
Scenario:
1. Users want to configure servers in a cluster to run different services. Each service has its own network
attributes.
2. Users want to consolidate network attributes, such as physical interfaces, virtual interfaces, security,
and QoS using the DVS.
Benefit:
1. Centralized configuration and management portal. Support for heterogeneous switching types:
common switches, passthrough switches, and SR-IOV.
2. Easily comprehendible for users
3. Network maintainability. Users configure the physical network based on the VLAN and server
information of the DVS.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 14
Contents
1. Introduction to Network Virtualization
2. DVS
1) Working Principle of DVS
3. NIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 15
Implementation Principles of ARP and IP Broadcast
Suppression
Value
In the scenario where an elastic host has been leased, a hacker can initiate broadcast attacks on other
hosts through an elastic host. Consequently, this can interrupt network communication. The broadcast
suppression function, provided by FusionSphere, can effectively prevent broadcast attacks orchestrated
by hackers.
In server consolidation and desktop cloud scenarios, the probability of internal attacks is low. Therefore,
broadcast suppression is disabled for virtual switches by default to avoid network performance
deterioration. If the network is susceptible to viruses and attacks, the administrator can enable
broadcast suppression.
ARP and IP attack prevention:
ARP flood attack: a type of DDoS attacks, continuous sending of ARP packages
IP attack: flood attack
Versions that support this function:
V100R003C10 supports ARP and IP broadcast attack prevention capabilities.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 16
Working Principles of ARP and IP Broadcast Suppression
VM 1 VM 2 VM 3
vSwitch
The port group
provides the
suppression control
function.
Firewalls can be used to prevent broadcast attacks from external networks. FusionCompute also
provides broadcast suppression for VM NIC outbound traffic to prevent broadcast attacks from
internet networks.
The ARP broadcast suppression, IP broadcast suppression, and suppression bandwidth threshold
for VM outbound traffic can be configured on virtual switches. The suppression can be configured
based on port group to reduce layer 2 network bandwidth consumption caused by broadcast storms.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 17
Implementation Principles of ARP and IP Broadcast
Suppression
On the Network Settings page, configure ARP broadcast suppression and IP broadcast
suppression for a port group of a DVS.
If a suppression function is enabled, you must also configure the suppression bandwidth.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 18
Contents
1. Introduction to Network Virtualization
2. DVS
1) Working Principle of DVS
3. NIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 19
Working Principle of Static IP-MAC Binding
Layer 2 network security policies are in place to prevent IP or MAC address spoofing and DHCP
server spoofing for user VMs.
IP-MAC binding prevents users from initiating IP or MAC address spoof attacks after the IP or
MAC address of a VM has been changed, this enhances the network security of user VMs. The
enforcement of this policy binds an IP address to an MAC address using the DHCP snooping
feature.
Packets from unknown sources are filtered through the IP Source Guard and dynamic ARP
inspection (DAI).
DHCP quarantine blocks users from unintentionally or maliciously enabling the DHCP server
service for a VM, ensuring common VM IP address assignment.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 20
Working Principle of Static IP-MAC Binding
The system already supports the binding between the DHCP IP address and the
MAC address.
The new static IP-MAC binding function allows users to bind the VM vNIC IP address
with the MAC address. The connection between the vNIC and the network will
disconnect if the IP address or MAC address of a VM vNIC is changed after this
function has been activated.
FusionCompute only supports the REST interface-based IP-MAC binding
configuration. It does not support static IP address allocation and management.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 21
IP-MAC Address Binding Configuration
On the Network Settings page, configure DHCP quarantine and IP-MAC address
binding functions for a port group of a DVS.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 22
Contents
1. Introduction to Network Virtualization
2. DVS
1) Working Principle of DVS
3. NIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 23
Working Principle of Network Traffic Shaping
Token
categorizing
256 Kbit/s 128 Kbit/s
Traffic
Queue 128 Kbit/s
bucket
Token
FR
1. QoS control on inbound traffic for VMs avoids resource contention caused by inbound traffic and ensures traffic fairness.
2. The burst size and average bandwidth can be configured to allow a burst when the system has a lot of idle resources.
3. Traffic shaping avoids the packet loss, network jitter, and impact on services caused by rate limiting.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 24
Working Principle of Traffic Shaping
interface hNIC
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 25
Traffic Shaping Configuration
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 26
Contents
1. Introduction to Network Virtualization
2. DVS
1) Working Principle of DVS
3. NIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 27
Port Mirroring (SPAN)
Common network traffic
vSwitch
Description:
Port mirroring, also known as Switched Port Analyzer (SPAN), is used to send a copy of network packages
located on one switch port (source port) to another port (destination port). At the destination port, the
package can be studied without affecting the normal package handling process to facilitate troubleshooting.
The two ports belong to the same server.
Capability:
One DVS supports a maximum of 64 monitoring sessions and 8 concurrent monitoring sessions. Only one
destination port can be set to a local port for mirroring. A maximum of four destination ports can be
configured for a local port mirroring session or a remote port mirroring session.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 28
Port Mirroring Configuration
To configure port mirroring, choose Network Management > DVS > Port > Port Mirroring.
The following information can be configured: Status, Normal I/O on destination ports, Mirrored
packet length, Source port, and Destination port.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 29
Contents
1. Introduction to Network Virtualization
2. DVS
1) Working Principle of DVS
3. NIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 30
Support for Trunk Ports by vNIC
Benefit:
VM(GW) VM(GW)
VLAN 100 to VLAN 200
vSwitch vSwitch
Benefit: A vNIC can support multiple VLANs that enable flexible networking and support the application of
more complicated service scenarios.
Application scenario: Multiple subinterfaces need to be created for a vNIC of a VSA VM. Each subinterface
needs a VLAN to provide the VSA VM with gateway functions.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 31
Trunk Configuration
On the Network Settings page, configure the port type for a port group of a DVS.
After Port type is set to Trunk, configure VLAN.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 32
Contents
1. Introduction to Network Virtualization
2. DVS
3. NIC Passthrough
1) iNIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 33
iNIC Working Principle
控制域
VM VM
Working principle
VIF An iNIC uses multiple queues, virtual switching, QoS,
Bridge and uplink port aggregation to improve NIC I/O
performance.
iNICs improve virtual network performance by
FusionCompute integrating the following technologies:
Virtual Machine Device Queues (VMDq): enables
security.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 34
iNIC Implementation
dom0 domU
Overall solution: The iNICs take over all of the virtualized switch
function of the CPU on the server, including the switch, security, and
Event vNIC the QoS.
channel
iNIC native driver In the direct communication scenario, messages can be directly transmitted
to domain U from the NIC, bypassing the hypervisor and domain 0. This
driver improves the performance.
Buffer
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 35
iNIC Configuration
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 36
Contents
1. Introduction to Network Virtualization
2. DVS
3. NIC Passthrough
1) iNIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 37
Working Principle of SR-IOV (Function for PK Tests)
SR-IOV is a hardware-based virtualization solution, which helps improve system performance and
scalability. With the SR-IOV technology, VMs can share the Peripheral Component Interconnect Express
(PCIe) devices, which provide high I/O performance close to a native host. The SR-IOV standard enables
VMs to be directly connected to I/O devices.
Multiple VMs can share one single I/O resource. A shared device provides dedicated resources and use
shared general resources. Therefore, each VM can access a unique resource. A PCIe device with the SR-
IOV function enabled and appropriate hardware and OS used, such as an Ethernet port, can be displayed
as multiple independent physical devices that have their own PCIe configuration space.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 38
SR-IOV Implementation
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 39
SR-IOV Configuration
The live migration feature is not supported. For details, see the PK feature guide.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 40
Contents
1. Introduction to Network Virtualization
2. DVS
3. NIC Passthrough
1) iNIC Passthrough
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 41
Comparision Between iNIC and SR-IOV NIC
Independent VM package
vNICs have high queue Little CPU Smooth live
requirements for I/O Single address translation overhead migration,
iNIC performance, for iNIC carried out by the NIC throughput: snapshot, and Yes
example, the hypervisor, which 9.15 Gbit/s IP-MAC binding
appliance scenario. consumes little computing (TCP) are supported.
resources
Address translation
NICs have high implemented by the SR- Smooth live
SR-IOV-
requirements for I/O IOV-enabled NICs Little CPU migration,
enabled
performance, for The Hypervisor does not overhead snapshot, and
SR-IOV NICs, such No
example, for require address translation. NIC throughput: IP-MAC binding
as Intel
example, the Oracle Therefore, the 9.5 Gbit/s (TCP) are not
82599
RAC scenario. computation consumption supported.
is reduced.
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 42
Appendix: Acronyms and Abbrevations
Acronym/Abbreviation Full Name
Dom0 Domain 0
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 43
Thank you
www.huawei.com