If multiple VLANs are used, which should be the standard in most environments, there are several possibilities how a shared Ethernet adapter can look exactly like. A single trunking adapter supports up to 20 VLANs in addition to the port VLAN ID. So additional trunking adapters only have to be used if more than 20 VLANs are to be used. A SEA can have up to 16 trunking adapters. How many trunking adapters are ultimately used, depends on the administrator and the number of VLANs to be supported. For example, if 10 VLANs are to be used, between one and ten trunking adapters can be used. In practice, a smaller number of VLANs are typically configured on a individual trunking adapter (typically 3 to 6 VLANs), but this depends heavily on the environment and is not considered further here.
Each shared Ethernet adapter supports a maximum of one untagged VLAN. Typically, however, all required VLANs are used as tagged VLANs and unused VLANs are used for the necessary port VLAN IDs of the trunking adapters only. In many environments, single-digit and low-two-digit VLAN IDs are reserved for this purpose, and are not used for real VLANs.
In the following, another shared Ethernet adapter is created, this time with VLAN tagging and the VLANs 100, 110, 200, 205 and 210. We decided to create two trunking adapters, one with VLANs 100 and 110 and a second with the VLANs 200, 205 and 210. First, however, another virtual switch is created for the new shared Ethernet adapter:
$ ms addvswitch ms05 ETHTEST2
$
We use the two free virtual slots 61 and 62 for the two trunking adapters:
$ lpar addeth -t 1 -i -s ETHTEST2 ms05-vio1 61 1 100,110
$ lpar addeth -t 1 -i -s ETHTEST2 ms05-vio1 62 2 200,205,210
$
To check this, the candidates for another SEA are listed again:
$ vios lssea -c ms05-vio1
NAME STATUS PHYSLOC PARENT DESCRIPTION
ent3 Available U78AA.001.VYRGU0Q-P1-C7-T4 pci1 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
ent2 Available U78AA.001.VYRGU0Q-P1-C7-T3 pci1 4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
ent39 Available U8205.E6C.05E4E5Q-V1-C61-T1 vio0 Virtual I/O Ethernet Adapter (l-lan)
ent41 Available U8205.E6C.05E4E5Q-V1-C62-T1 vio0 Virtual I/O Ethernet Adapter (l-lan)
$
We use ent2 as the physical adapter and the two adapters we just created ent39 (slot 61) and ent41 (slot 62) as the trunking adapter:
$ vios mksea ms05-vio1 ent2 ent39 ent41
SEA ent42 created
$
The physical location code (or a unique suffix) can be specified instead of the device names:
$ vios mksea ms05-vio1 P1-C7-T3 C61-T1 C62-T1
SEA ent42 created
$
As before, all adapters of a SEA can be displayed using “vios lssea“, we inspect the newly created SEA ent42:
$ vios lssea -a ms05-vio1 ent42
SEA LNAGG NAME TYPE STATUS SPEED VSWITCH MODE PHYSLOC
ent42 - ent2 real Up 1000 Mbps Full Duplex - - U78AA.001.VYRGU0Q-P1-C7-T3
ent42 - ent41 virtual - - ETHTEST2 VEB U8205.E6C.05E4E5Q-V1-C62-T1
ent42 - ent39 virtual - - ETHTEST2 VEB U8205.E6C.05E4E5Q-V1-C61-T1
$
The distribution of the supported VLANs of the SEA can be listed with the option ‘-V‘ (VLANs):
$ vios lssea -V ms05-vio1 ent42
SEA LNAGG NAME TYPE VSWITCH MODE ACTIVE PRIORITY PVID VLAN_TAG_IDS
ent42 - ent2 real - - - - - -
ent42 - ent41 virtual ETHTEST2 VEB True 1 2 200,205,210
ent42 - ent39 virtual ETHTEST2 VEB True 1 1 100,110
$
The shared Ethernet adapter just created is shown in figure 8.4.
You must be logged in to post a comment.