|Oracle® Big Data Appliance Owner's Guide
Release 1 (1.0.3)
Part Number E25960-05
|PDF · Mobi · ePub|
This chapter describes how to set up a virtual LAN (VLAN) on the Ethernet connector of a Sun Network QDR InfiniBand Gateway Switch, and it describes how to assign a virtual NIC (VNIC) on a server to use that VLAN.
The tasks described in this chapter are optional.
This chapter contains the following sections:
The Ethernet standard has a provision to combine multiple broadcast domains, and thus IP subnets, onto a single Ethernet cable by using a virtual LAN (IEEE 802.1Q VLAN) configuration. To use VLANs, both ends of the Ethernet link must be configured to support the defined VLANs. The benefits include a logical division of workload, enforcing security isolation, and splitting traffic across several manageable broadcast domains. VLANs allow traffic separation from the 10 GbE switch to the servers. By design, Ethernet traffic on one VLAN cannot be seen by any host on a different VLAN. You can use an external router to enable communication between two VLANs.
In this process, you map the following:
Ethernet connector on the Sun Network QDR InfiniBand Gateway Switch (
VLAN ID (up to 4094)
InfiniBand partition key (
Oracle Big Data Appliance uses the default partition and partition key.
You can associate multiple VLANs with a single Ethernet connector. For example, you can associate VLAN identifiers
11 with the same Ethernet connector
0A-ETH-1. To do so, run the
To associate multiple VLANs with a single Ethernet connector:
Log in to the gateway switch interface as
root, and issue the following commands:
# createvlan 0A-ETH-1 -VLAN 10 -PKEY default
In this example,
0A-ETH-1 is the Ethernet connector on the gateway switch and
10 is the VLAN identifier.
# createvlan 0A-ETH-1 -VLAN 11 -PKEY default
In this example,
0A-ETH-1 is the Ethernet connector and
11 is the VLAN identifier.
To verify, run the following command:
The following information is displayed:
Connector/LAG VLN PKEY ------------- --- ---- 0A-ETH-1 0 ffff 1A-ETH-3 0 ffff
If you plan to associate a VNIC with a VLAN, then you should provide a VLAN identifier when mapping the MAC address, partition key, GUID, and Ethernet connector. In Oracle Big Data Appliance, the default partition key (
0xFFFF) is used.
To create a VNIC and associate it with a VLAN:
In Step 7, add a
-vlan parameter to the
createvnic command to create the VNIC and associate it with a VLAN. This example creates a VNIC associated with VLAN 10.
# createvnic 0A-ETH-1 -guid 00:21:28:df:34:8a:c0:a0 -mac 8a:c0:a0:a8.1.1 -vlan 10 -pkey default
To create a second VNIC using the same Ethernet connector and GUI, repeat the previous
createvnic command using different values for the
Continue the steps in "Setting Up Ethernet over InfiniBand (EoIB)", and repeat them for the second switch.
Create a bonded interface as described in "Creating a Bonded Interface".
For information about deleting VLANs, see "Controlling VLANs and VNICs" in the "Administering Gateway Resources" chapter of the Sun Network QDR InfiniBand Gateway Switch Administration Guide at