User Manual
Driver FeaturesRev 2.1-1.0.6
Mellanox Technologies
84
The example above shows, two eIPoIB interfaces, where eth4 runs traffic over ib0, and eth5 runs
traffic over ib1.
Figure 3: An Example of a Virtual Network
The example above shows a few IPoIB instances that server the virtual interfaces at the Virtual
Machines.
To display the services provided to the Virtual Machine interfaces:
Example:
In the example above the ib0.2 IPoIB interface serves the MAC 52:54:00:60:55:88 with no
VLAN tag for that interface.
4.8.3 VLAN Configuration Over an eIPoIB Interface
eIPoIB driver supports VLAN Switch Tagging (VST) mode, which enables the virtual machine
interface to have no VLAN tag over it, thus allowing VLAN tagging to be handled by the Hyper-
visor.
To attach a Virtual Machine interface to a specific isolated tag:
Step 1. Verify the VLAN tag to be used has the same pkey value that is already configured on that
ib port.
Step 2. Create a VLAN interface in the Hypervisor, over the eIPoIB interface.
Step 3. Attach the new VLAN interface to the same bridge that the virtual machine interface is
already attached to.
# cat /sys/class/net/eth0/eth/vifs
# cat /sys/class/net/eth0/eth/vifs
SLAVE=ib0.2 MAC=52:54:00:60:55:88 VLAN=N/A
# cat /sys/class/infiniband/mlx4_0/ports/<ib port>/pkeys/*
# vconfig add <eIPoIB interface> <vlan tag>
# brctl addif <br-name> <interface-name>