实验十 综合实验测试.doc

上传人:bao****ty 文档编号:144950833 上传时间:2020-09-14 格式:DOC 页数:6 大小:102KB
返回 下载 相关 举报
实验十 综合实验测试.doc_第1页
第1页 / 共6页
实验十 综合实验测试.doc_第2页
第2页 / 共6页
实验十 综合实验测试.doc_第3页
第3页 / 共6页
实验十 综合实验测试.doc_第4页
第4页 / 共6页
实验十 综合实验测试.doc_第5页
第5页 / 共6页
点击查看更多>>
资源描述

《实验十 综合实验测试.doc》由会员分享,可在线阅读,更多相关《实验十 综合实验测试.doc(6页珍藏版)》请在金锄头文库上搜索。

1、实验十 综合实验测试(可选)全网采用192.168.2. 0/24图中是模拟A 公司的网络拓扑简图,在A 公司各个接入级的二层交换机按部门划分了VLAN(图中用一台S2126G 代表),各接入级交换机连接到汇聚层交换机S3550-24 上,最后连接到出口路由器R1,R1 通过DDN 专线连接到ISP 的路由器R2,最终实现连接Internet。请对该公司的交换机和路由器进行相应的配置实现以下功能。(参考拓扑如上)。1 该公司内网IP 地址规划:192.168.2.0/24,由于划分了三个VLAN,故划分了子网。如图所示,子网地址管理员已划定,每台设备的IP 地址请您自行指定。(10 分)Pc分

2、别指定为:Vlan10网段:192.168.2.32/27IP地址段:192.168.2.32-63子网掩码:255.255.255.224Vlan20网段:192.168.2.64/27IP地址段:192.168.2.64-95子网掩码:255.255.255.224Vlan99网段:192.168.2.96/27IP地址段:192.168.2.96-127子网掩码:255.255.255.224网络设备配置命令行:S3550-24(config)#interface FastEthernet 0/1S3550-24(config-if)#ip address 192.168.2.129 2

3、55.255.255.224R1(config)#interface FastEthernet 1/0R1(config-if)#ip address 192.168.2.130 255.255.255.224R1(config-if)#exitR1(config)#interface Serial 1/2R1(config-if)#ip address 202.101.1.1 255.255.255.0R2(config)#interface FastEthernet 1/0R2(config-if)#ip address 221.98.1.1 255.255.255.0R2(config-

4、if)#exitR2(config)#interface Serial 1/2R2(config-if)#ip address 202.101.1.2 255.255.255.02 为了提高网络的可靠性,通过两级交换机之间的双链路实现冗余备份,要求使用802.1w 技术,且使S3550-24 作为Root Switch。测试方法:查看每个交换机的角色以及端口角色,并通过拨掉网线实现拓扑变化网络快速收敛。(10分)S2126G(config)#spanning-treeS2126G(config)#spanning-tree mode rstpS3550-24(config)#spanning-

5、treeS3550-24(config)#spanning-tree mode rstpS3550-24(config)#spanning-tree priority 40963VLAN 99 为监控管理VLAN,VLAN 10 和VLAN 20 职能分别如下: vlan 10(工程部name:Eng)和vlan 20(销售部name:Sales),接入层交换机的110 口在vlan 10 内,1120 端口在vlan 20 内,接入层和汇聚层交换机的21 口都在VLAN 99 内,实现各职能部门的隔离。测试方法: 同一VLAN 内主机可以互相PING 通,不同VLAN 内主机不能互相PING

6、 通。(10 分)S2126G(config)#vlan 10S2126G(config-vlan)#name EngS2126G(config-vlan)#exitS2126G(config)#interface range FastEthernet 0/1-0/10S2126G(config-if-range)#switchport access vlan 10S2126G(config)#vlan 20S2126G(config-vlan)#name SalesS2126G(config-vlan)#exitS2126G(config)#interface range FastEther

7、net 0/11-0/20S2126G(config-if-range)#switchport access vlan 20S2126G(config)#vlan 99S2126G(config-vlan)#exitS2126G(config)#interface FastEthernet 0/21S2126G(config-if)#switchport access vlan 99S3550-24(config)#vlan 99S3550-24(config-vlan)#exitS3550-24(config)#interface FastEthernet 0/21S3550-24(conf

8、ig-if)#switchport access vlan 994 对汇聚层交换机S3550-24 进行相应的配置,使不同部门间 的PC 实现互访。测试方法:不同VLAN 之间可以互相PING 通。(15 分)S3550-24(config)#vlan 10S3550-24(config-vlan)#exitS3550-24(config)#interface vlan 10S3550-24(config-if)#ip address 192.168.2.33 255.255.255.224S3550-24(config-if)# exitS3550-24(config)#vlan 20S35

9、50-24(config-vlan)#exitS3550-24(config)#interface vlan 20S3550-24(config-if)#ip address 192.168.2.65 255.255.255.224S3550-24(config-if)#exitS3550-24(config)#vlan 99S3550-24(config-vlan)#exitS3550-24(config)#interface vlan 99S3550-24(config-if)#ip address 192.168.2.97 255.255.255.224S3550-24(config-i

10、f)#exitS3550-24(config)#ip routing5为了提高设备的安全性,请在每台设备上将远程登陆密码、Console 密码、特权密码分别指定为star。测试方法:可从不同的主机来Telnet 到路由器和交换机。(5 分)S2126G(config)#interface vlan 1S2126G(config-if)#ip address 192.168.1.1 255.255.255.0S2126G(config-if)#exitS2126G(config)#line vty 0 4S2126G(config-line)#password starS2126G(config

11、-line)#exitS2126G(config)#line console 0S2126G(config-line)#password starS2126G(config-line)#exitS2126G(config)#enable secret level 15 0 starS3550-24 (config)#interface vlan 1S3550-24 (config-if)#ip address 192.168.1.1 255.255.255.0S3550-24 (config-if)#exitS3550-24 (config)#line vty 0 4S3550-24 (con

12、fig-line)#password starS3550-24 (config-line)#exitS3550-24 (config)#line console 0S3550-24 (config-line)#password starS3550-24 (config-line)#exitS3550-24 (config)#enable secret level 15 0 starR1(config)#line vty 0 4R1(conifg-line)#loginR1(config-line)#password starR1(config)#line console 0R1(config-

13、line)#loginR1(config-line)#password star R1(config)#enable secret level 15 0 starR2(config)#line vty 0 4R2(conifg-line)#loginR2(config-line)#password starR2(config)#line console 0R2(config-line)#loginR2(config-line)#password star R2(config)#enable secret level 15 0 star6在R1 与R2 之间做双向PPP Chap 认证,用户名和

14、密码如下:R1 用户名:company_A,R2 用户名:ISP密码均为:star测试方法:R1 与R2 之间互相Ping 通。(20 分)被验证方配置:R1(config)#hostname company_Acompany_A(config)# username ISP password 0 star company_A (config)# interface serial 1/2 company_A (config-if)# encapsulation PPP 验证方配置:R2(config)#hostname ISPISP(config)# username company_A pas

15、sword 0 starISP (config)# interface serial 1/2ISP (config-if)# encapsulation PPPISP (config-if)# ppp authentication chap7在S3550-24、R1 和R2 配置动态路由协议RIP,使公司内部网络可以访问Internet。(注意:此实验中不考虑私有IP 地址上网问题。且在实际中一般是在企业网出口做默认路由,而ISP 采用动态路由协议,然后再做路由协议间的重分布。)测试方法:从任一VLAN 均可Ping 通R2 的Internet 出口F0。(20 分)R2(config)#router ripR2(config-router)#network 202.101.1.0R2(config-router)#network 221.98.1.0R2(config-router)#version 2R1(config)#rout

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 高等教育 > 其它相关文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号