cisco?·óé????μ??ù±?????ê??é

所属分类: 软件教程 / 网络通讯 阅读数: 811
收藏 0 赞 0 分享
????êμ?é??3?£o????D?Díí???

ó2?t?·?3£o6ì¨PC?ú£?3ì¨?????ú£?3ì¨?·óé£?3?ù??2???£?7?ù?±í¨???£

èí?t?·?3£owindows xp 2ù×÷?μí3 3????????£



êμ?é2??è£o

1.°′????í?á??ó?????ú£??·óé?÷£?PC?úμ?êy?Y???£

Pc1?----¨¤Sw1 7o????ú Pc2?----¨¤Sw2 7o????ú

Pc3?----¨¤Sw1 17o????ú Pc4?----¨¤Sw2 17o????ú

Pc5?----¨¤Sw3 5o????ú pc6?----¨¤Sw3 12o????ú

Sw1 24o????ú?----¨¤Sw2 24o????ú
Sw1 23o????ú?----¨¤Router1 e0/0???ú

Router1 e1/1???ú?----¨¤Router2 e0/0???ú

Router2 e1/2???ú?----¨¤Router3 e1/1???ú

Router3 e0/0???ú?----¨¤Switch3 24o????ú

2.switch1μ?????è???£o

switch>enable
switch#config terminal

switch(config)#hostname sw1

sw1(config)#no ip domain-lookup

sw1(config)#line console 0

sw1(config-line)#exec-timeout 0 0

sw1(config-line)#logging synchronous

sw1(config-line)#enable password 123

sw1(config)#exit
sw1(config)#vlan database

sw1(vlan)#VTP domain abc.com

sw1(vlan)#vtp password cisco

sw1(vlan)#exit

sw1#config terminal

sw1(config)#interface f0/23

sw1(config-line)#switch mode trunk

sw1(config-line)#no shutdown

sw1(config-line)#interface f0/24
sw1(config-line)#switch mode trunk


sw1(config-line)#no shutdown
sw1(config-line)#exit

sw1(config)#vlan 2,3

sw1(config)#interface range f0/1-10

sw1(config-if-range)#switchport access vlan 2

sw1(config-if-range)#interface range f0/11-22

sw1(config-if-range)#switch port access vlan 3

3.switch2????è???£o

switch>enable
switch#config terminal

switch(config)#hostname sw2

sw2(config)#no ip domain-lookup

sw2(config)#line vty 0 4

sw2(config-line)#login

sw2(config-line)#password cisco

sw2(config-line)#exit
sw2(config)#line console 0

sw2(config-line)#exec-timeout 0 0

sw2(config-line)#logging synchronous

sw2(config-line)#exit

sw2#vlan database

sw2(vlan)#vtp mode client(Dé?a?ú?D?avtp client)

sw2(vlan)#vtp domain benet.com

sw2(vlan)#vtp password 123
sw2(vlan)#exit

sw2#config terminal

sw2(config)#interface range f0/1 - 10

sw2(config-if-range)#switchport access vlan 2

#p#

sw2(config-if-range)#interface range f0/11 - 22

sw2(config-if)#switchport access vlan 3

sw2(config-if)#interface f0/24

de4(config-if)#no showdown
sw2(config-if)#switchport mode trunk

sw2(config-if)#exit

4.switch3????è???£o

switch>enable

switch#config terminal

switch(config)#hostname sw3
sw3(configig)#no ip domain-lookup

sw3(config)#line vty 0 4

sw3(config-line)#login

sw3(config-line)#password 123

sw3(config-line)#exit

sw3(config)#line console 0

sw3(config-line)#exec-timeout 0 0

sw3(config-line)#logging synchronous
sw3(config-line)#exit

sw3(config)#vlan 2,3

sw3(config)#interface range f0/1 - 5

sw3(config-if)#switchport access vlan 2

sw3(config-if)#interface range f0/6 - 15
sw3(config-if)#switchport access vlan 3

sw3(config-if)#interface range f0/16 - 26

sw3(config-if)#switchport access vlan 4

sw3(config-if)#interface f0/24

sw3(config-if)#no shutdown

sw3(config-if)#switchport mode trunk

sw3(config-if)#exit
5£orouter1????è???£o

router>enable

router#config terminal

router(config)#hostname r1

r1(config)#no ip domain-lookup

r1(config)#line vty 0 4
r1(config-line)#login

r1(config-line)#password cisco

r1(config-line)#enable password 123

r1(config)#line console 0

r1(config-line)#exec-timeout 0 0

r1(config-line)#logging synchronous
r1(config-line)#exit

r1(config)#int E0/0

r1(config-if)#ip address 192.168.1.254 255.255.255.128

r1(config-if)#no shutdown

r1(config)#interface E1/1
r1(config-if)#ip address 192.168.2.193 255.255.255.128

r1(config-if)#no shutdown

r1(config-if)#interface E0/0.2

r1(config-subif)#encapsulation dot1q 2

r1(config-subif)#ip address 192.168.1.62 255.255.255.128

r1(config-subif)#interface E0/0.3
r1(config-subif)#encapsulation dot1q 3

r1(config-subif)#ip address 192.168.1.126 255.255.255.128

r1(config-subif)#exit

r1(config)#ip route 192.168.2.192 255.255.255.252 192.168.2.192

r1(config)#ip route 192.168.2.0 255.255.255.192 192.168.2.194
r1(config)#ip route 192.168.2.64 255.255.255.192 192.168.2.194

6£?Router2????è???£o

router>enable

router#config termind

router(config)#hostname r2

r2(config)#no ip domain-lookup
r2(config)#line vty 0 4

r2(config-line)#login

r2(config-line)#password cisco

r2(config-line)#enable password 123
r2(config-line)#exit

r2(config)#line console 0

r2(config-line)#exec-timeout 0 0
r2(config-line)#logging synchronous

r2(config-line)#exit

r2(config)#int E0/0

r2(config-if)#ip address 192.268.2.194 255.255.255.252

r2(config-if)#no shutdown
r2(config-if)#interface E1/2

r2(config-if)#ip address 192.268.2.197 255.255.255.252

r2(config-if)#no shutdown

r2(config)#ip route 192.168.1.0 255.255.255.128 192.168.2.193

r2(config)#ip route 192.168.2.0 255.255.255.192 192.168.2.198
r2(config)#exit

7.router3????è???£o

router>enable

router#config terminal

router(config)#hostname r3

r3(config)#no ip domain-lookup

r3(config)#line vty 0 4
r3(config-line)#login

r3(config-line)#password cisco

r3(config-line)#enable password 123

r3(config-line)#exit

r3(config)#line console 0r3(config-line)#exec-timeout 0 0
r3(config-line)#logging synchronous

r3(config-line)#exit

r3(config)#interface E0/0

r3(config-if)#ip address 193.368.2.198 255.255.255.252

r3(config-if)#no shutdown
r3(config-if)#interface E1/3

r3(config-if)#ip address 193.368.2.254 255.255.255.192

r3(config-if)#no shutdown

r3(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.197

r3(config)#exit

8.??PC?úéè??IP μ??·,2¢?é?¤?¥í¨?£
PC1: 192.168.1.1 PC2: 192.168.1.2 PC3: 192.168.1.129

PC4: 192.168.1.130 PC5: 192.168.2.1 PC6:192.168.2.65

?ú??ì¨PC?úé?′ò?a?°??DD?±???°?ò£?ó?ping ?üá??à?¥2a?éí???ê?·??????yè·.

更多精彩内容其他人还在看

两台电脑共享LAN快车上网的解决方案

问:单位的电脑使用中国电信的LAN方式上网,操作系统是Windows XP SP2,上网时需要进行虚拟拨号,是没有Modem的那种连接。我的一个同事最近又加了一台电脑,请问,用什么简单的方法连接这两台电脑共同用这个LAN上网?   
收藏 0 赞 0 分享

必学:电脑与网络维护常用技巧

如果你做电脑和网络维护方面的工作,来看看,你会发现这里面的小技巧很多是值得收藏并好好加以利用和学习的    第一条:Windows 2000 连接共享    interner connect share ICS
收藏 0 赞 0 分享

ADSL路由方式的NAT(端口映射)

NAT是网络地址翻译就是把公网IP翻译成私有地址, 又叫端口映射或端口转发. 采用路由方式是指ADSL拥有一个动态或固定的公网IP,ADSL直接接在HUB或交换机上,所有的电脑共享上网。这时ADSL的外部地址只有一个,比如61.177.*.*
收藏 0 赞 0 分享

防火墙配置不当导致网络无法共享

最近某小型局域网内的工作站无法通过服务器连接Internet,服务器可以访问Internet,管理员在进行自查无果后向笔者求救,笔者赶到后,首先了解了一下情况,此局域网所有机器操作系统均为Windows XP,通过服务器的Internet连接共
收藏 0 赞 0 分享

net命令使局域网文件同步更新

现在大家都希望有个同步软件可以达到网络目录或者文件的更新来减少自己的工作量,现在网络上也有很多软件可以达到这个目的,象同步专家之类的,但是这些软件需要安装服务端和客户端,客户端要常驻才能使用,并且占用了一定的资源。 
收藏 0 赞 0 分享

在网吧中如何使用双ADSL线路

现在网吧中使用ADSL作为上网线路的越来越多,一是因为ADSL比较便宜,另外是因为ADSL安装方便。但是ADSL的带宽有限,而网吧能否提供给用户高速稳定的上网线路,是能够留住顾客的关键。按照经验,如果是一条512K的ADSL线路,有10人同时
收藏 0 赞 0 分享

关于网络拥挤问题及对应处理办法

网络拥挤现象的基本症状是网络的某一部分或整个网络性能低劣。在高峰期,可能这只是暂现象。在其他情况下,这种现象可能逐渐漫延持续几周或几个月的时间,直到最后使网络性能降低到无法容忍的水平。   引起网络拥挤现象的原因有多
收藏 0 赞 0 分享

Internet连接共享组网实例技巧

ICS(Internet连接共享)是Windows 2000内置的一种网络连接共享服务,它可以使家庭网络或小型办公室网络用户非常容易的连接到Internet。    要使用ICS,有几点需要注意:    (1)启用ICS的计算机必须具有两个网络
收藏 0 赞 0 分享

加快Windows 2000访问网上邻居的速度

在部分机器的Windows 2000中打开“邻近的计算机”,常常会等上几十秒的时间,让人无法忍受。仔细分析会发现,在找到的计算机当中,包括“打印机”和“任务计划”两项。通过“网上邻居”浏览计算机时,Windows 2000会先搜索
收藏 0 赞 0 分享

浅谈Win 98中一块网卡实现两个网段的通信

目前,鉴于我国中小学信息技术教材内容的设置,绝大部分中小学校计算机安装的依然是Windows 98。笔者所在学校也一样,且教师办公用机和学生机的IP地址分属两个网段(办公用机在10.10.8.?网段,学生机在192.168.0.?网段)。办公
收藏 0 赞 0 分享
查看更多