User`s guide
128 XgOS User’s Guide • September 2014
2. Add vNICs to the hosts:
3. On the hosts, configure the IP addresses.
Example 2: Port Trunk Mode, VLAN-Aware Host
In this example, the hosts are VLAN aware. As a result, they will be isolated from
other hosts that are not part of the same VLAN. Consider the example in the
following figure.
In this example, the hosts are aware of VLAN tags. Because the hosts are VLAN
aware, the vNICs must be set to trunk mode so that VLAN tags are preserved. The
Ethernet port mode is also set to trunk mode so that VLAN tags are preserved on the
link between the Oracle Fabric Interconnect and the external network. The result is
that hosts s1 and s3 can communicate with each other, and hosts s2 and s4 can
communicate with each other. The VLAN boundaries are enforced, so hosts in each
VLAN do not know about the others and traffic within each VLAN stays in the
VLAN.
The configuration procedure for this example would be as follows:
add vnic vn1.s1 15/1 -mode=access -access-vlan=10
add vnic vn1.s2 15/1 -mode=access -access-vlan=10