Professional Documents
Culture Documents
Valentin Enescu: © 2013 IBM Corporation
Valentin Enescu: © 2013 IBM Corporation
Valentin Enescu
What is a NIC?
What is a vNIC?
A vNIC is a virtualized network interface that presents the same media access control (MAC)
interface that an actual interface would provide. Multiple VNICs can be configured on top of the same
interface, allowing multiple consumers to share that interfaces. Each vNIC appears as a regular,
independent NIC to the server operating system or a hypervisor, with each vNIC
using some portion of the physical NIC’s overall bandwidth.
Why vNIC?
Virtualizing the NIC helps to resolve issues caused by limited NIC slot availability. By
virtualizing a NIC, its resources can be divided into multiple logical instances.
Emulex NICs
IBM switches supports the Emulex Virtual Fabric Adapter (VFA) 2-port 10Gb LOM and Emulex Virtual Fabric Adapter
(Fabric Mezz)
pNIC mode
Emulex NICs
To change from pNIC to vNIC you must enter BIOS-System Settings-Network-NIC menu
Emulex NICs
vNIC mode
For example:
INTA1.1, INTA1.2, INTA1.3, and INTA1.4 represent the vNICs on port INTA1.
INTA2.1, INTA2.2, INTA2.3, and INTA2.4 represent the vNICs on port INTA2.
For example:
2:INTA2.3 refers to port INTA2, vNIC 3, switch number 2.
P0
P1
INTA10
Bay 2
Mezz
P1
INTA10
Bay 3
P2 INTB10
P3
P4
INTA10
Bay 4
INTB10
For Emulex Virtual Fabric Adapter (Fabric Mezz), when adding it with the LOM Card:
In this, the x in the vNIC ID represents the internal switch port and its corresponding
server node.
• Each vNIC can accommodate one of the following traffic types: regular Ethernet,
iSCSI, or Fibre Channel over Ethernet (FCoE).
• vNICs with traffic of the same type can be grouped together, along with regular
internal ports, external uplink ports, and trunk groups, to define vNIC groups for
enforcing communication boundaries.
• In the case of a failure on the external uplink ports associated with a vNIC group,
the switch can signal affected vNICs for failover while permitting other vNICs to
continue operation.
vNICs
Our switches support egress bandwidth metering for vNIC traffic. By default, each of the four vNICs has
25% share of NIC capacity if not specified otherwise, meaning 2.5 Gbps.
Not enabled vNICs bandwidth is not counted in the sum for that NIC
The NIC is responsible for enforcing the bandwidth metering for traffic coming to switch from the vNIC.
The NIC is configured by the switch with use of DCBX messages
vNIC Groups
vNIC groups can contain:
•vNICs
•Internal ports
•External ports
Each vNIC group is essentially a separate virtual network within the switch. Each vNIC group is assigned
its own unique
VLAN. The vNIC group vlan is automatically assigned to all group members.
When vNIC is added to a vNIC group a configuration DCBX message is sent to server to configure vNIC
bandwidth and vNIC VLAN.
In respect to how uplink is used and data flow within vNIC group there are 2 modes in which the switch
can operate:
Vnic Groups
vNIC group rules:
Once a VLAN is used for a vNIC group it is used only for vNIC purposes
vNIC groups may have one or more vNIC members. However, any given vNIC can be a member
of only one vNIC group.
Only one individual external port or one static trunk (consisting of multiple external ports) may be
added to any given vNIC group.
By default, STP is disabled on uplink ports when uplink is added. It can be re-enabled.
The inner VLAN tag is not processed in any way in vNIC groups: The inner tag cannot be stripped
or added on port egress, is not used to restrict multicast traffic, is not matched against ACL filters,
and does not influence Layer 3 switching.
17 IBM Confidential © 2013 IBM Corporation
System Networking
vNIC configuration example
Configure the virtual pipes for the vNICs attached to each internal port:
For NIC failover in a non-virtualized environment, when a service group’s external uplink ports fail or
are disconnected, the switch disables the affected group’s internal ports, causing the server to failover
to the backup NIC and switch.
However, in a virtualized environment, disabling the affected internal ports would disrupt all vNIC
pipes on those ports, not just those that have lost their external uplinks.
To avoid this, our switch provides a failover feature that acts at vNIC level, it signals only the affected
vNICs through DCBX messages. This allows the unnaffected vNICs to continue without disruption.
Miscellaneous