Skip Headers
Oracle® Big Data Appliance Owner's Guide
Release 1 (1.0.3)

Part Number E25960-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

11 Creating Virtual LANs

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:

See Also:

Chapter 10, "Configuring Ethernet over InfiniBand"

11.1 Introduction to VLAN

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.

11.2 Tagging Ethernet Connectors with a VLAN Identifier

To tag an Ethernet connector on the gateway switch with a VLAN identifier, you must issue the createvlan command on the gateway switch that the VLAN will be associated with.

In this process, you map the following:

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 10 and 11 with the same Ethernet connector 0A-ETH-1. To do so, run the createvlan command.

To associate multiple VLANs with a single Ethernet connector: 

  1. 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.

  2. To verify, run the following command:

    # showvlan

    The following information is displayed:

    Connector/LAG  VLN   PKEY
    -------------  ---   ----
    0A-ETH-1        0    ffff
    1A-ETH-3        0    ffff
    

11.3 Creating VNICs and Associating Them with VLANs

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: 

  1. Complete Steps 1 through 6 in "Setting Up Ethernet over InfiniBand (EoIB)".

  2. 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

  3. To create a second VNIC using the same Ethernet connector and GUI, repeat the previous createvnic command using different values for the -mac and -vlan parameters.

  4. Continue the steps in "Setting Up Ethernet over InfiniBand (EoIB)", and repeat them for the second switch.

  5. Create a bonded interface as described in "Creating a Bonded Interface".

11.4 Deleting VLANs

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

http://docs.oracle.com/cd/E19671-01/