Virtual Ethernet technology is supported on AIX® 5.3 on POWER5™ hardware. This technology enables IP-based communication between logical partitions on the same system using a VLAN capable software switch in POWER5 systems. Shared Ethernet Adapter technology (part of the optional Virtual I/O Server feature on POWER5 hardware) enables the logical partitions to communicate with other systems without assigning physical Ethernet slots to the logical partitions.
Virtual networking, along with other POWER5 virtualization technologies, offers greater flexibility in configuration scenarios. Workloads can be consolidated with more control over resource allocation. Network availability might also be improved for more systems with fewer resources using a combination of virtual Ethernet, shared Ethernet and link aggregation in the Virtual I/O Server. When there are not enough physical slots to allocate a physical network adapter to each LPAR network, access using virtual Ethernet and a Virtual I/O Server is a preferable to IP forwarding because it does not complicate the IP network topology.
IBM® eServer™ p5 and IBM eServer i5 support inter-LPAR communication using virtual networking. Virtual Ethernet adapters are connected to an IEEE 802.1q (VLAN)-style virtual Ethernet switch. Using this switch function, logical partitions can communicate with each other by using virtual Ethernet adapters and assigning VIDs (VLAN ID) that enable them to share a common logical network. The virtual Ethernet adapters are created and the VID assignments are done using the Hardware Management Console (HMC). The system transmits packets by copying the packet directly from the memory of the sender partition to the receive buffers of the receiver partition without any intermediate buffering of the packet.
The number of virtual Ethernet adapters for each LPAR varies by operating system. AIX 5.3 limits the number of virtual Ethernet adapters to 256 virtual Ethernet for each LPAR. Besides a PVID, the number of additional VID values that can be assigned for each virtual Ethernet adapter is 20, which indicates that each virtual Ethernet adapter can be used to access 21 networks. The HMC generates a locally administered Ethernet MAC address for the virtual Ethernet adapters so that these addresses do not conflict with physical Ethernet adapter MAC addresses. To ensure uniqueness among the virtual Ethernet adapters, the address generation is based on the system serial number, LPAR ID, and adapter ID.
When using the Integrated Virtualization Manager, only PVID is allowed (no additional VLANs), and only the PVID may only be 1-4. When using Virtual Partition Manager, each partition can have at most one Virtual Ethernet adapter for each PVID from 1-4.
For VLAN-unaware operating systems, each virtual Ethernet adapter is created with only a PVID (no additional VID values) and the POWER™ hypervisor ensures that packets have their VLAN tags removed before delivering to that LPAR. In the case of VLAN aware systems, you can assign additional VID values besides the PVID and the POWER hypervisor removes the tags of any packets that arrive with the PVID tag. Because the number of virtual Ethernet adapters supported for each LPAR is large, you can have multiple virtual Ethernet adapters with each adapter being used to access a single network and therefore assigning only PVID and avoiding the additional VID assignments. This also has the advantage that no additional VLAN configuration is required for the operating system using these virtual Ethernet adapters.
After a specific virtual Ethernet is enabled for a partition, a network device named entX is created in the partition. The user can then set up TCP/IP configuration similar to a physical Ethernet device to communicate with other partitions.