# createvlan 1A-ETH-3 -VLAN 11 -PKEY default
Where 1A-ETH-3 is the Ethernet connector, 11 is the VLAN identifier, and
default is the partition key used in Exalogic.
If you are using Oracle Solaris compute nodes, you should also enable the
connector for untagged traffic, by running the following command on the gateway
switch:
# createvlan 1A-ETH-3 -VLAN -1 -PKEY default
To verify, run the following command:
2.
# showvlan
The following information is displayed:
Connector/LAG
--------------
1A-ETH-3
1A-ETH-3
1A-ETH-3
11.4 Oracle Linux: Creating VNICs and Associating Them with VLANs
If you plan to associate a VNIC with a VLAN, you should provide a VLAN identifier
when mapping the MAC address, partition key, GUID, and Ethernet connector. In
Exalogic, the default partition key (0xFFFF) is used.
To create a VNIC and associate with a VLAN, use the following example procedure:
On the gateway switch CLI, as root, complete the steps 1 through 6, as described
1.
in
Set Up Ethernet Over InfiniBand (EoIB) on Oracle
Run the following command to create a VNIC and associate it with a VLAN (for
2.
example, with VLAN 10, as shown in
Identifier):
# createvnic 1A-ETH-3 -GUID 00:21:28:56:d0:a2:c0:a0 -mac
a2:c0:a0:a8:1:1 -vlan 10 -pkey default
Where 1A-ETH-3 is the Ethernet connector, 00:21:28:56:d0:a2:c0:a0 is the
GUID, a2:c0:a0:a8:1:1 is the dummy MAC address, 10 is the VLAN
identifier, and default is the partition key used in Exalogic.
This example creates a VNIC, such as eth4.
To create a second VNIC using the same Ethernet connector and GUID, run the
3.
following command to tag the VNIC with a different VLAN identifier (11):
# createvnic 1A-ETH-3 -GUID 00:21:28:56:d0:a2:c0:a0 -mac
a2:c0:a0:a8:1:a -vlan 11 -pkey default
Where 1A-ETH-3 is the Ethernet connector, 00:21:28:56:d0:a2:c0:a0 is the
GUID, a2:c0:a0:a8:1:a is the dummy MAC address defined for this second
interface, 11 is the VLAN identifier, and default is the partition key used in
Exalogic.
This example creates a VNIC, such as eth5.
VLN
PKEY
---
-----
0
ffff
10
ffff
11
ffff
Tip:
See the
Example Scenario
Oracle Linux: Creating VNICs and Associating Them with VLANs
for more information.
Linux.
Tag the Ethernet Connectors With a VLAN
Set Up Virtual LANs 11-3
Need help?
Do you have a question about the Exalogic Elastic Cloud and is the answer not in the manual?
Questions and answers