网络系统集成课程设计

上传人:shug****ng1 文档编号:152306027 上传时间:2022-09-15 格式:DOCX 页数:9 大小:164.19KB
收藏 版权申诉 举报 下载
网络系统集成课程设计_第1页
第1页 / 共9页
网络系统集成课程设计_第2页
第2页 / 共9页
网络系统集成课程设计_第3页
第3页 / 共9页
资源描述:

《网络系统集成课程设计》由会员分享,可在线阅读,更多相关《网络系统集成课程设计(9页珍藏版)》请在装配图网上搜索。

1、姓名:班级:学号:年级:12级指导教师:成绩:信息学院网络系统集成课程实践实验报告实验名称路由器综合路由配置实验日期:2015年4月1日一、实验目的:1、掌握综合路由器的配置方法;2、掌握查看通过路由重分布学习产生的路由;3、熟悉广域网线缆的链接方式。二、实验背景:假设某公司通过一台三层交换机连到公司出口路由器R1上,路由器R1再和公司外的 另一台路由器R2连接。三层交换机与R1间运行RIPV2路由协议,R1与R2间运行OSPF 路由协议。现要做适当配置,实现公司内部主机与公司外部主机之间的相互通信。三、技术原理:为了支持本设备能够运行多个路由协议进程,系统软件提供了路由信息从一个路由进程 重

2、分布到另一个路由进程的功能。比如你可以将OSPF路由域的路由重新分布后通高RIP路由 域中,也可以将RIP路由域的路由重新分布后通告到OSPF路由域中。路由的相互重分布可以 在所有的IP路由协议之间进行。要把路由从一个路由域分布到另一个路由域,并且进行控制路由重分布,在路由进程配 置模式中执行以下命令:redistribute protocol metric metricmetric-type metric-typematch internallexternal typelnssa-external typetag tagroute-map route-map-namesubnets四、实验设

3、备:1、Router_1841 2台2、Switch_3560 1台3、直通线、交叉线五、实验步骤:1、拓补图如下所示:2、实验配置步骤如下:(1) PC与交换机间用直连线连接;PC与路由、路由与路由之间用交叉线连接。(2) 在三层上划分2个Vlan,运行RIPV2协议;R2运行OSPF协议。(3) 在路由器R1上左侧配置RIPV 2路由协议;右侧配置OSPF协议。(4) 在R1路由进程中引入外部路由,进行路由重分布。(5) 将PC1、PC2主机默认网关分别设置为与直接网络设备接口IP地址。(6) 验证PC1、PC2主机之间可以互相通信;对S3560 (Switch 0)进行配置如下:Swit

4、ch#enableSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlan 2Switch(config-vlan)#exitSwitch(config)#int fa 0/10Switch(config-if)#switchport access vlan 2Switch(config-if)#exitSwitch(config)#int vlan 1Switch(config-if)# ip address 192.168.1.1 255.255.255.0Swi

5、tch(config-if)#no shutdownSwitch(config-if)#exitSwitch(config)#int vlan 2Switch(config-if)#ip address 192.168.2.1 255.255.255.0Switch(config-if)#no shutdownSwitch(config-if)#endSwitch#%SYS-5-CONFIG_I: Configured from console by consoleSwitch#show int vlan 1Vlan1 is up, line protocol is upHardware is

6、 CPU Interface, address is 0060.47c9.12d6 (bia 0060.47c9.12d6)Internet address is 192.168.1.1/24MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec, reliability 255/255, txload 1/255, rxload 1/255Encapsulation ARPA, loopback not setARP type: ARPA, ARP Timeout 04:00:00Last input 21:40:21, output never,

7、output hang neverLast clearing of show interface counters neverInput queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0Queueing strategy: fifoOutput queue: 0/40 (size/max)5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec1682 packets input, 53095

8、5 bytes, 0 no bufferReceived 0 broadcasts (0 IP multicast)0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored563859 packets output, 0 bytes, 0 underruns0 output errors, 23 interface resets0 output buffer failures, 0 output buffers swapped out Switch#conf tEnter configu

9、ration commands, one per line. End with CNTL/Z.Switch(config)#ip routingSwitch(config)#router ripSwitch(config-router)#network 192.168.1.0Switch(config-router)#network 192.168.2.0Switch(config-router)#version 2对路由器R1进行配置如下:RouterenableRouter#conf tEnter configuration commands, one per line. End with

10、 CNTL/Z.Router(config)#host R1R1(config)#int fa 0/0R1(config-if)#ip address 192.168.2.2 255.255.255.0R1(config-if)#no shutdownR1(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR1(config-if

11、)#int fa 0/1R1(config-if)#ip address 192.168.3.1 255.255.255.0R1(config-if)#no shutdownR1(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to upR1(config-if)#exitR1(config)#R1(config)#router ripR1(config-router)#network 192.168.2.0R1(config-router)#version 2R1(config-router)#rout

12、er ospf 1R1(config-router)#network 192.168.3.0 0.0.0.255 area 0对路由器R2进行配置如下:RouterenableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#host R2R2(config)#int fa 0/1R2(config-if)#ip address 192.168.3.2 255.255.255.0R2(config-if)#no shutdownR2(config-if)#%LINK-5

13、-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upR2(config-if)#int fa 0/0R2(config-if)#ip address 192.168.4.1 255.255.255.0R2(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to

14、up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR2(config-if)#exitR2(config)#router ospf 1R2(config-router)#network 192.168.3.0 0.0.0.255 area 0 R2(config-router)#network 192.168.4.0 0.0.0.255 area 0 R2(config-router)#end%SYS-5-CONFIG_I: Configured from console

15、 by consoleR2#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L

16、1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC192.168.3.0/24 is directly connected, FastEthernet0/1C192.168.4.0/24 is directly connected, FastEthernet0/0测试 R

17、outer0R1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - I

18、S-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setR 192.168.1.0/24 120/1 via 192.168.2.1, 00:00:04, FastEthernet0/0C192.168.2.0/24 is directly connected, FastEthernet0

19、/0C192.168.3.0/24 is directly connected, FastEthernet0/1O 192.168.4.0/24 110/2 via 192.168.3.2, 00:01:44, FastEthernet0/1 R1#ping 192.168.1.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:Success rate is 0 percent (0/5)R1#ping 192.168.4.2Type escape

20、 sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.4.2, timeout is 2 seconds:Success rate is 0 percent (0/5)Switchshow ip routCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type

21、 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC19

22、2.168.1.0/24 is directly connected, Vlan1C192.168.2.0/24 is directly connected, Vlan2Ping pc0Switch3560Switchshow ip routCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF N

23、SSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC192.168.1.0/24 is

24、 directly connected, Vlan1C192.168.2.0/24 is directly connected, Vlan2Router0R1#conftEnter configuration commands, one per line. End with CNTL/Z.R1(config)#router ripR1(config-router)#redistribute ospf 1R1(config-router)#exitR1(config)#router ospf 1R1(config-router)#redistribute rip subnetsR1(config

25、-router)#endR2show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L

26、1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setO E2 192.168.1.0/24 110/20 via 192.168.3.1, 00:00:32, FastEthernet0/1 O E2 192.168.2.0/24 110/20 via 192.168.3.1

27、, 00:00:32, FastEthernet0/1 C192.168.3.0/24 is directly connected, FastEthernet0/1C192.168.4.0/24 is directly connected, FastEthernet0/0R1#conftEnter configuration commands, one per line. End with CNTL/Z.R1(config)#router ripR1(config-router)#redistribute ospf 1 metric 2R1(config-router)#exitR1(conf

28、ig)#router ospf 1R1(config-router)#redistribute rip subnetsR1(config-router)#endR1#%SYS-5-CONFIG_I: Configured from console by consoleSwitchshow ip routCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NS

29、SA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resor

30、t is not setC192.168.1.0/24 is directly connected, Vlan1C192.168.2.0/24 is directly connected,-Vlan2RouterlR2show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF

31、NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setO E2 192.168.1.0/

32、24 110/20 via 192.168.3.1, 00:00:32, FastEthernet0/1 O E2 192.168.2.0/24 110/20 via 192.168.3.1, 00:00:32, FastEthernet0/1 C192.168.3.0/24 is directly connected, FastEthernet0/1C192.168.4.0/24 is directly connected, FastEthernet0/0六、实验效果检测:1、将PC1、PC2主机默认网关设置为与直连网路设备接口IP地址。|IP ConfigurationIP Configu

33、rationDHCPStaticIP Address192.168.1.2Subnet Mask255.255.255,0Default Gateway192,168.1,12、路由重新分配之后实验结果:在路由重新分配之后可以ping通七、实验结论/总结:通过本次实验:1、掌握了综合路由器的配置方法;2、掌握了查看通过路由重分布学习产生的路由;3、熟悉了广域网线缆的链接方式。在实验过程中,我们知道了要实现运行多个路由协议进程,要实现路由信息从一个路由 进程重分布到另一个路由进程的功能。比如你可以将OSPF路由域的路由重新分布后通高RIP 路由域中,反之也可以,路由的相互重分布可以在所有的IP路由协议之间进行。

展开阅读全文
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!