VLAN configuration recommendations

When deploying the z/OS® TCP/IP VLAN ID support in conjunction with the IBM® OSA-Express feature in QDIO mode, it is recommended that deployment be symmetrical with the configuration of the corresponding VLAN switch. Specific recommendations are as follows:

Figure 1, Figure 2, and Figure 3 illustrate the preceding recommendations.

Figure 1. Single OSA and VLAN switch configuration
VLAN switch port configuration when OSA is shared among multiple TCP/IP stacks using unique VLAN IDs

Figure 1 shows the recommended VLAN switch port configuration when a VLAN ID is configured in the TCP/IP stack. A single physical LAN is divided into three separate virtual LANs (2, 3, and 4), the OSA port is configured as a trunk line, and the other ports on the switch are configured in access mode for their specific VLAN.

In Figure 1 there are three virtual LANs deployed through the same shared OSA, where each TCP/IP stack appears to have a unique and isolated physical network as follows:

Figure 2. Matching VLAN switch configuration to multiple OSAs (VLAN configuration)
VLAN switch port configuration; TCP/IP stacks have dedicated OSAs, some TCP/IP stacks are VLAN-aware, others are not

Figure 2 illustrates using multiple OSAs and TCP/IP stacks. Three unique VLANs are created. However, TCP/IP stack B will not deploy a VLAN ID, and the corresponding switch port is configured in access mode. No VLAN ID tags will flow to this OSA port.

In Figure 2 there are also three virtual LANs deployed. Access to each VLAN is provided through separate OSAs, yet the functionality of having three physical networks is still provided. TCP/IP B is not configured with a VLAN ID, and therefore stack B is unaware of the existence of VLAN 3 (although stations 3 and 4 on VLAN 3 have access to stack B through OSA B). Note that the switch port for OSA B is configured in access mode, while the other two switch ports are configured in trunk mode.

Figure 3. Single stack using multiple OSAs on the same physical network
VLAN switch port and TCP/IP stack configuration for redundant VLAN connectivity to support interface takeover

Figure 3 illustrates a single TCP/IP stack using multiple OSAs that are on the same physical network. There are two VLANs deployed, where OSA A is on VLAN 2, and OSA B and OSA C are on VLAN 3.

Configuring OSA B and OSA C with the same VLAN ID has significance for failure or takeover scenarios. The interface takeover (ARP takeover) function, with redundant connectivity onto a LAN, applies within the VLAN. Therefore, if OSA B becomes unavailable, OSA C can take over. Similarly, OSA B can take over if OSA C becomes unavailable. However, OSA A cannot take over for either OSA B or OSA C, because OSA A is on a different VLAN.

In Figure 3, a single TCP/IP stack has access to two VLANs through three OSAs, which provides the following network isolation: