3Com Router 3000 Ethernet FamilyConfiguration Guide Chapter 3 Layer 2 Ethernet Port Configuration3Com Corporation3-12[3Com] interface Ethernet 3/0/0.1[3Com-Ethernet3/0/0.1] vlan-type dot1q vid 10[3Com-Ethernet3/0/0.1] ip address 1.1.1.1 255.255.255.0# Configure Ethernet3/0/0.2[3Com] interface Ethernet 3/0/0.2[3Com-Ethernet3/0/0.2] vlan-type dot1q vid 20[3Com-Ethernet3/0/0.2] ip address 2.2.2.1 255.255.255.03.4.3 VLANs Involving Multiple DevicesI. Network requirementsAs shown in the following diagram, the router is connected to a switch that supports802.1Q-compliant VLAN. Configure the router and the switch each with a trunk carryingmultiple VLANs.PC 1 and PC 2 are connected to port Ethernet 3/0/1 and port Ethernet 3/0/2 on therouter; they belong to VLAN 10 and VLAN 20 respectively.PC 3 and PC 4 are connected to port Ethernet 0/0/1 and port Ethernet 0/0/2 on theswitch; they belong to VLAN 10 and VLAN 20 respectively.Port Ethernet 3/0/22 on the router is connected to port Ethernet0/0/3 on the switchusing a network cable. Set the link type to trunk on them.Do the following:z Allow PC 1 and PC 3 to communicate with each other, so do PC 2 and PC 4.z Forbid PC 1 and PC 3 to communicate with PC 2 and PC 4.II. Network diagramCOL-ACT-STA-1 2 3 4 5 6 7 8 9101112HS1 HS2 OK1 OK2 PS CONSOLEVLANTRUNKVLAN 10 VLAN 20PC1 PC2PC3 PC4AR 18-22-241.1.1.1/241.1.1.2/242.2.2.1/242.2.2.2/24Figure 3-4 VLANs involving multiple devices