un in en Close Info display
A topology
PC1-->192.168.10.1/24
PC2-->192.168.10.2/24
PC3-->192.168.20.1/24
PC4-->192.168.20.2/24
PC5-->192.168.10.3/24
PC6-->192.168.10.4/24
PC7-->192.168.20.3/24
PC8-->192.168.20.4/24
10 network gateway 192.168.10.254/24
20 network gateway 192.168.20.254/24
Second, device configuration
1, LSW1 LSW2 with two switch configuration: Create vlan10 and PC connection port provided vlan20-- as access, the PC 10 is incorporated vlan10,20 network segment PC incorporated vlan20 - GE0 / 0/2 port as a trunk type, by allowing vlan10 20.
2, LS3 switch configuration: Create vlan10 20 - GE0 / 0/1, GE0 / 0/2 and GE0 / 0/24 (24 is the cascade port opening) are set to trunk port type, by allowing vlan10 20.
3, R1 router configuration:
Create subinterface 0/0 / 0.10-- 802.1Q protocol encapsulation dot1q termination vid 10-- add gateway ip address 192.168.10.254 24-- broadcast arp broadcast enable opening arp
Create subinterface 0/0 / 0.20-- 802.1Q protocol encapsulation dot1q termination vid 20-- add gateway ip address 192.168.20.254 24-- broadcast arp broadcast enable opening arp
4, configuration, test connectivity.
Note: do not need a switch LSW3 gateway configuration, with the instruction to enter the undo ip address vlan Gateway addresses removed three switches route-arm rotation.