Oracle Solaris: Creating VNICs and Associating Them with VLANs
Run the following command to verify the VNICs:
4.
# showvnics
The following message is displayed:
ID STATE
--- -------- --- ----------------------- ---------- ---- -------------
8 UP
a2:c0:a0:a8:1:1 10 ffff
9 UP
a2:c0:a0:a8:1:a 11 ffff
If you want your VNIC configuration to persist across reboots, you should save
5.
VNIC configuration to a file. For information about doing this on Oracle Linux,
seeSet Up Ethernet Over InfiniBand (EoIB) on Oracle
Be sure to create a bonded interface comprising two VNICs on Oracle Linux, for
high availability purposes.
11.5 Oracle Solaris: Creating VNICs and Associating Them with VLANs
If you wish to associate a VNIC with a VLAN, you should provide a VLAN identifier
when mapping the MAC address.
To create a VNIC and associate with a VLAN, use the following example procedure:
On the gateway switch CLI, as root, complete one of the following procedures
1.
depending on the OS version:
•
•
This procedure creates a VNIC, such as eoib0.
On Oracle Solaris, VLAN-tagged VNICs may only be created from the Oracle
2.
Solaris compute node. Run one of the following procedures depending on the OS
version:
•
•
You can verify that the VNICs were created by running one of the following
3.
procedures depending on the OS version:
11-4 Oracle Exalogic Elastic Cloud Machine Owner's Guide
FLG IOA_GUID
N 00:21:28:00:01:A0:A3:65 computenode1 EL-C 192.168.10.29 0000
1A-ETH-3
N 00:21:28:00:01:A0:A3:65 computenode1 EL-C 192.168.10.29 0001
1A-ETH-3
Tip:
After creating the interfaces, you can run the ifconfig command with the -
a option to verify the MAC address on the compute node. For example, to
verify the new interface and its MAC address, run the following command on
the Oracle Linux compute node for which the VNIC was created:
# ifconfig -a eth4
The output of this command shows the HWADDR, which is the MAC address
you defined for the VNIC in
Linux.
steps 1 to 15 as described in
11.1
steps 1 to 13 as described in
11.2
step 16 in
Set Up Ethernet Over InfiniBand on Oracle Solaris 11.1
steps 10 and 13 in
Set Up Ethernet Over InfiniBand on Oracle Solaris 11.2
NODE
IID
MAC
VLN PKEY GW
Set Up Ethernet Over InfiniBand (EoIB) on Oracle
Linuxfor more information.
Set Up Ethernet Over InfiniBand on Oracle Solaris
Set Up Ethernet Over InfiniBand on Oracle Solaris
Need help?
Do you have a question about the Exalogic Elastic Cloud and is the answer not in the manual?
Questions and answers