How to communicate with different vlan segments of a layer-3 switch can be achieved through the layer-3 function of the layer-3 Switch, that is, route forwarding. For example, PC1 (192.168.255.2/24) is connected to GE0/0/1 PC2 (192.168.254.2/24) connect to GE0/0/2 int GE0/0/1 belongs to vlan 2 int GE0/0/2 belongs to vlan 3 both port link modes are access from above two ports Layer 2 can be found to be disconnected; three-tier Forwarding is required. How can I interwork through three-tier forwarding? Www.2cto.com solution: Configure virtual interfaces for two VLANs for gateway use. Example: create vlan 2 and add ge0/0/1 to vlan2 [Quidway] vlan 2 [Quidway-vlan2] port ge 0/0/1 create vlan2 Virtual Interface and configure IP [Quidway] int vlanif 2 [Quidway-vlanif2] ip address 192.168.255.1 24 add ge0/0/2 To vlan3. Refer to the preceding method, configure the vlanif 3 IP address as 192.168.254.1 24 and then enter the two PCs to add the route pc1: route add 192.168.0.0 mask route 255.0.0 192.168.255.1 pc2: route add 192.168.0.0 mask route 255.0.0 192.168.254.1. Then, let's pull the author liuaibing.