POWER7 information

Scenario: Configuring a Virtual I/O Server by using VLAN tagging

Use this scenario to help you become familiar with creating a network by using VLAN tagging.

Situation

You are the system administrator responsible for planning and configuring the network in an environment with the Virtual I/O Server running. You would like to configure the network so that two logical subnets exist, with some logical partitions on each subnet.

Objective

The objective of this scenario is to configure multiple networks to share a single physical Ethernet adapter. Systems on the same subnet are required to be on the same VLAN, and therefore they have the same VLAN ID, which allows communication without having to go through the router. The separation in the subnets is achieved by ensuring that the systems on the two subnets have different VLAN IDs.

Prerequisites and assumptions

  • The Hardware Management Console (HMC) is set up. For more information about installing and configuring the HMC, see Installing and configuring the Hardware Management Console.
  • You understand the logical partitioning concepts. For more information, see Logical partitioning.
  • The Virtual I/O Server logical partition is created and the Virtual I/O Server is installed. For instructions, see Installing the Virtual I/O Server and client logical partitions.
  • You created the remaining AIX® or Linux logical partitions that you want added to the network configuration. (You cannot use VLAN tagging with IBM® i logical partitions.)
  • You have an Ethernet switch and a router ready to add to the configuration.
  • You have IP addresses for all logical partitions and systems that will be added to the configuration.

You cannot use VLAN in an Integrated Virtualization Manager environment.

Configuration steps

The following figure shows the configuration that will be completed during this scenario.

An illustration of the relationship among the physical Ethernet, virtual Ethernet, and Ethernet switch ports for a VLAN network configuration.

Using the preceding figure as a guide, follow these steps.

  1. Set up the Ethernet switch ports as follows:
    • P1: Tagged port (VID 1, 2)
    • P2: Untagged port (PVID 1)
    • P5: Untagged port (PVID 1)
    • P6: Untagged port (PVID 2)

    For instructions about configuring the ports, see the documentation for your switch.

  2. For system S1, use the HMC to create virtual Ethernet adapters for the Virtual I/O Server:
    • Create virtual Ethernet adapter V11 for the Virtual I/O Server with the trunk setting selected and VID set to 2. Specify an unused PVID value. This value is required, even though it will not be used.
    • Create virtual Ethernet adapter V12 for the Virtual I/O Server with the trunk setting selected and VID set to 1. Specify an unused PVID value. This value is required, even though it will not be used.
  3. For system S1, use the HMC to create virtual Ethernet adapters for other logical partitions:
    • Create virtual adapters V13 and V14 for logical partitions S11 and S12, respectively, with PVID set to 2 and no additional VIDs.
    • Create virtual adapters V15 and V16 for logical partitions S13 and S14, respectively, with PVID set to 1 and no additional VIDs.
  4. For system S1, use the HMC to assign the physical Ethernet adapter (E11) to the Virtual I/O Server and to connect the adapter to the Ethernet switch port P1.
  5. Using the Virtual I/O Server command-line interface, set up a Shared Ethernet Adapter ent3 with the physical adapter ent0 and virtual adapters ent1 and ent2.
  6. Configure IP addresses as follows:
    • S13 (ent0), S14 (ent0), and S2 (ent0) belong to VLAN 1 and are on the same subnet. The router is connected to Ethernet switch port P5.
    • S11 (ent0) and S12 (ent0) belong to VLAN 2 and are on the same subnet. The router is connected to Ethernet switch port P6.

You can configure the Shared Ethernet Adapter on the Virtual I/O Server logical partition with an IP address. This is required only for network connectivity to the Virtual I/O Server.

As the tagged VLAN network is being used, you must define additional VLAN devices over the Shared Ethernet Adapters before configuring IP addresses.



Send feedback Rate this page

Last updated: Thu, April 05, 2018