码迷,mamicode.com
首页 > 其他好文 > 详细

思科VLAN划分经典案例

时间:2015-02-04 16:53:45      阅读:282      评论:0      收藏:0      [点我收藏+]

标签:cisco   思科   vlan   子网   

Task

Vlan2 Vlan3 Vlan4 communication for each other. The network map as below.
Environment:Cisco Packet Tracer

技术分享

Condition

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


思科VLAN划分经典案例

标签:cisco   思科   vlan   子网   

原文地址:http://4011746.blog.51cto.com/4001746/1611476

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!