Task
Vlan2 Vlan3 Vlan4 communication for each other. The network map as below.
Environment:Cisco Packet Tracer
1.Multilayer Switch(Cisco 3560-24ps) 1
2.Cisco 2950-24 switch 3
3.Desktop 6
4.Network Cable
Solution
1. Network Cable Connection
Sodgsw001 Fa 0/1-------Fa 0/1 Sodgsw002
Sodgsw001 Fa 0/2-------Fa 0/1 Sodgsw003
Sodgsw001 Fa 0/3-------Fa 0/1 Sodgsw004
Sodgsw002 Fa 0/2-------Fa 0 PC0
Sodgsw002 Fa 0/3-------Fa 0 PC1
Sodgsw003 Fa 0/2-------Fa 0 PC2
Sodgsw003 Fa 0/3-------Fa 0 PC3
Sodgsw004 Fa 0/2-------Fa 0 PC4
Sodgsw004 Fa 0/3-------Fa 0 PC5
2. Set static ip for workstations
PC0: Ip Address: 192.168.199.40
Subnet Mast: 255.255.255.0
Gateway: 192.168.199.30
PC1: Ip Address: 192.168.199.50
Subnet Mast: 255.255.255.0
Gateway: 192.168.199.30
PC2: Ip Address: 192.168.202.40
Subnet Mast: 255.255.255.0
Gateway: 192.168.202.30
PC3: Ip Address: 192.168.202.50
Subnet Mast: 255.255.255.0
Gateway: 192.168.202.30
PC4: Ip Address: 192.168.222.40
Subnet Mast: 255.255.255.0
Gateway: 192.168.202.30
PC5: Ip Address: 192.168.222.50
Subnet Mast: 255.255.255.0
Gateway: 192.168.222.30
3.Config SODGSW001.
Change switch name to SODGSW001
Create Vlan2 Vlan3 Vlan4
Set Vlan Ip
Set switchport mode to trunk
Run Switch Routing function
4.Config SODGSW002.
Change the hostname to sodgsw002
add vlan2 vlan3 vlan4 run in the switch
Config switchport, arrange vlan 2 to all connection workstation
5.Config SODGSW003.
Change the hostname to sodgsw003
add vlan2 vlan3 vlan4 run in the switch
Config switchport,arrange vlan3 to all connection workstation
6.Config SODGSW004.
Change the hostname to sodgsw004
add vlan2 vlan3 vlan4 run in the switch
Config switchport,arrange vlan4 to all connection workstation
Make test
Test 1: from Vlan2 to ping vlan2 vlan3 Vlan4
Go to PC0 make ping. Result: Pass
Test 2: from Vlan3 to ping vlan2 vlan3 Vlan4
Go to PC2 make ping. Result: Pass
Test 2: from Vlan4 to ping vlan2 vlan3 Vlan4
Go to PC4 make ping. Result: Pass
博主个人网站www.davis-wiki.com
原文地址:http://4011746.blog.51cto.com/4001746/1611476