Question & Answer
Question

Answer

Figure 2 shows how network packets traverse from the VIOS Server interface en2 to the gateway in the current configuration.

The packets are dropped because they do not have VLAN ID 480. The VIO server must send packets with VLAN ID 480 in order for it to be able to communicate with a gateway. There are two solutions to resolve this problem. Only one solution is needed. (A) Create a VLAN Adapter with vlan_tag_id 480 on top of SEA (B) Create a Virtual Ethernet Adapter (VEA) with PVID 480.
(A) Create a VLAN adapter with base adapter ent2 and VLAN ID 480, then configure the IP address on the VLAN adapter interface.
► On VIO Server, as a root from HMC console session:
- configure IP address on en3.
After changes are done successfully, Figure 3 shows how network packets traverse from the VIO Server network interface en3 to the gateway.

(B) Create a Virtual Ethernet Adapter (VEA) with PVID 480, then configure the IP address on the VEA interface.
► On VIO Server, as a root using HMC console session:
► On HMC CLI, as a hscroot:
chhwres -r virtualio -m <name of the managed system> -o a -p <name of the VIO Server> --rsubtype eth -a "port_vlan_id=480,vswitch=ETHERNET0,ieee_virtual_eth=0"
Note: setup uses default vswitch ETHERNET0.
► On VIO Server, as a root using HMC console session:

In summary, it is important to tag the packets with the correct VLAN ID based on the destination host's VLAN ID and switch port configuration. If packets do not have the correct VLAN ID, then they will be dropped.
Was this topic helpful?
Document Information
Modified date:
24 April 2025
UID
ibm17230820