ImageVerifierCode 换一换
格式:DOCX , 页数:25 ,大小:106.89KB ,
资源ID:934725      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bingdoc.com/d-934725.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(静态路由表建立.docx)为本站会员(b****2)主动上传,冰点文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰点文库(发送邮件至service@bingdoc.com或直接QQ联系客服),我们立即给予删除!

静态路由表建立.docx

1、静态路由表建立实验九 静态路由表建立一、实验性质本实验为设计型实验,实验学时为4学时。二、实验目的通过静态路由方式实现网络的连通性,通过实验掌握路由表的基本结构,掌握基本的路由选路知识。三、预备知识路由的概念,路由表的结构,路由的基本原理。预备实验:路由器的基本配置。四、实验设备R2624(2台)、V35 DTE线缆(1根)、V35 DCE线缆(1根)。五、实验内容1、背景描述假设校园网通过一台路由器连接到校园外的另一台路由器上,现要在路由器上做适当配置,实现校园网内部主机与校园网外部主机的相互通信。2、实现功能设置静态路由表,实现校园网内部主机与校园网外部主机的相互通信。3、拓扑结构六、实验

2、步骤在路由器Router1上配置接口的IP地址和串口上的时钟频率Router1(config)# interface fastethernet 0 !进入接口F0的配置模式Router1(config-if)# ip address 172.16.1.1 255.255.255.0 !配置路由器接口F0的IP地址Router1(config)# no shutdown !开启路由器fastethernet0接口!Router1(config)# interface serial 0 !进入接口S0配置模式Router1(config-if)# ip address 172.16.2.1 255

3、.255.255.0 !配置路由器接口S0的IP地址Router1(config-if)#clock rate 64000 !配置Router1的时钟频率(DCE)Router1(config)# no shutdown !开启路由器fastethernet0接口验证测试:验证路由器接口的配置Router1#show ip interface brief Interface IP-Address OK? Method Status ProtocolFastEthernet0 172.16.1.1 YES manual up upSerial0 172.16.2.1 YES manual dow

4、n downSerial1 unassigned YES unset administratively down downRouter1#show interface serial 0Serial0 is down, line protocol is down Hardware is HDLC4530A Internet address is 172.16.2.1/24 MTU 1500 bytes, BW 2048 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set, keep

5、alive set (10 sec) Last input never, output never, output hang never Last clearing of show interface counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/64/0 (size/threshold/drops) Conversations 0/0 (active/max active) Reserved

6、Conversations 0/0 (allocated/max allocated) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underruns 0

7、output errors, 0 collisions, 8 interface resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions DCD=down DSR=down DTR=down RTS=down CTS=down在路由器Router1上配置静态路由Router1(config)#ip route 172.16.3.0 255.255.255.0 172.16.2.2或:Router1(config)#ip route 172.16.3.0 255.255.255.0 s

8、erial 0验证测试:验证Router1上的静态路由配置Router1#show ip routeCodes: C - connected, S - static, R - RIP O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2Gateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnetsC 172.16.1.0 is directly connected, FastEthernet0C 172

9、.16.2.0 is directly connected, Serial0S 172.16.3.0/24 1/0 via 172.16.2.2在路由器Router2上配置接口的IP地址和串口上的时钟频率Router2(config)# interface fastethernet 0 !进入接口F0的配置模式Router2(config-if)# ip address 172.16.3.2 255.255.255.0 !配置路由器接口F0的IP地址Router2(config)# no shutdown !开启路由器fastethernet0接口!Router2(config)# inter

10、face serial 0 !进入接口S0配置模式Router2(config-if)# ip address 172.16.2.2 255.255.255.0 !配置路由器接口S0的IP地址Router2(config)# no shutdown !开启路由器fastethernet0接口验证测试:验证路由器接口的配置Router2#show ip interface brief Interface IP-Address OK? Method Status ProtocolFastEthernet0 172.16.3.2 YES manual up upSerial0 172.16.2.2

11、YES manual up upSerial1 unassigned YES unset administratively down downRouter2#show interface serial 0Serial0 is up, line protocol is up Hardware is HDLC4530A Internet address is 172.16.2.2/24 MTU 1500 bytes, BW 2048 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set

12、, keepalive set (10 sec) Last input never, output never, output hang never Last clearing of show interface counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/64/0 (size/threshold/drops) Conversations 0/0 (active/max active) Res

13、erved Conversations 0/0 (allocated/max allocated) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underr

14、uns 0 output errors, 0 collisions, 8 interface resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions DCD=up DSR=up DTR=up RTS=up CTS=up在路由器Router2上配置静态路由Router2(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.1或:Router2(config)#ip route 172.16.1.0 255.255.255.0 seria

15、l 0验证测试:验证Router2上的静态路由配置Router2#show ip routeCodes: C - connected, S - static, R - RIP O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2Gateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnetsC 172.16.3.0 is directly connected, FastEthernet0C 172.16.

16、2.0 is directly connected, Serial0S 172.16.1.0/24 1/0 via 172.16.2.1测试网络的互连互通性。C:ping 172.16.3.22 !从PC1 ping PC2 Pinging 172.16.3.22 with 32 bytes of data:Reply from 172.16.3.22: bytes=32 time10ms TTL=126Reply from 172.16.3.22: bytes=32 time10ms TTL=126Reply from 172.16.3.22: bytes=32 time10ms TTL=1

17、26Reply from 172.16.3.22: bytes=32 timeping 172.16.1.11 !从PC2 ping PC1Pinging 172.16.1.11 with 32 bytes of data:Reply from 172.16.1.11: bytes=32 time10ms TTL=126Reply from 172.16.1.11: bytes=32 time10ms TTL=126Reply from 172.16.1.11: bytes=32 time10ms TTL=126Reply from 172.16.1.11: bytes=32 time10ms

18、 TTL=126【注意事项】如果两台路由器通过串口直接互连,则必须在其中一端设置时钟频率(DCE)。【参考配置】Router1#show running-config ! 显示路由器Router1的全部配置Building configuration.Current configuration:version 6.14(2)hostname Router1ip subnet-zerointerface FastEthernet0 ip address 172.16.1.1 255.255.255.0interface Serial0 ip address 172.16.2.1 255.255.

19、255.0 clock rate 64000interface Serial1 no ip address shutdown!voice-port 0voice-port 1voice-port 2voice-port 3ip classlessip route 172.16.3.0 255.255.255.0 172.16.2.2line con 0line aux 0line vty 0 4 loginendRouter2#show running-config ! 显示路由器Router2的全部配置Building configuration.Current configuration:

20、version 6.14(2)hostname Router2ip subnet-zerointerface FastEthernet0 ip address 172.16.3.2 255.255.255.0interface Serial0 ip address 172.16.2.2 255.255.255.0interface Serial1 no ip address shutdown!voice-port 0voice-port 1voice-port 2voice-port 3ip classlessip route 172.16.1.0 255.255.255.0 172.16.2

21、.1line con 0line aux 0line vty 0 4 loginend七、考核方式1、当场演示结果2、提交配置文件实验十 简单动态路由协议RIP V1基本实验一、实验性质本实验为设计型实验,实验学时为4学时。二、实验目的掌握在路由器上配置RIP V1路由协议的方法,通过实验掌握RIP V1路由协议的原理。三、预备知识掌握路由的基本概念、RIP V1路由协议的原理等理论知识预备试验:路由器的基本配置,静态路由四、实验设备R2624路由器(2台)、V35DCE(1根)、V35DTE(1根)。五、实验内容1、背景描述假设校园网通过一台路由器连接到校园外的另一台路由器上,现要在路由器上

22、做适当配置,实现校园网内部主机与校园网外部主机的相互通信。本实验以2台R2624路由器为例,路由器分别命名为Router1和Router2,路由器之间通过串口采用V35 DCE/DTE电缆连接,DCE端连接到Router1(R2624)上。PC1的IP地址和缺省网关分别为172.16.1.11和172.16.1.1,PC2的IP地址和缺省网关分别为172.16.3.22和172.16.3.2 ,网络掩码都是255.255.255.0 。2、实现功能在RIP V1下 ,实现校园网内部主机与校园网外部主机的相互通信。3、拓扑结构六、实验步骤1. 在路由器Router1上配置接口的IP地址和串口上的

23、时钟频率。Router1(config)# interface fastethernet 0 !进入接口F0的配置模式Router1(config-if)# ip address 172.16.1.1 255.255.255.0 !配置路由器接口F0的IP地址Router1(config-if)# no shutdown !开启路由器fastethernet0接口!Router1(config)# interface serial 0 !进入接口S0配置模式Router1(config-if)# ip address 172.16.2.1 255.255.255.0 !配置路由器接口S0的IP

24、地址Router1(config-if)#clock rate 64000 !配置Router1的时钟频率(DCE)Router1(config-if)# no shutdown !开启路由器serial 0接口验证测试:验证路由器接口的配置和状态Router1#show ip interface brief Interface IP-Address OK? Method Status ProtocolFastEthernet0 172.16.1.1 YES manual up upFastEthernet1 unassigned YES unset administratively down

25、 downFastEthernet2 unassigned YES unset administratively down downFastEthernet3 unassigned YES unset administratively down downSerial0 172.16.2.1 YES manual down downSerial1 unassigned YES unset administratively down down注:串口Serial0的链路层状态是down,这是因为对端接口还没有配置。2. 在路由器Router1上配置RIP V1路由协议。Router1(config

26、)# router rip !创建RIP路由进程Router1(config-router)#network 172.16.0.0 !定义关联网络(必须是直连的主类网络地址)验证测试:验证Router1上的RIP V1路由表Router1#show ip routeCodes: C - connected, S - static, R - RIP O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2Gateway of last resort is not set 172.16.0

27、.0/24 is subnetted, 2 subnetsC 172.16.1.0 is directly connected, FastEthernet0C 172.16.2.0 is directly connected, Serial03在路由器Router2上配置接口的IP地址。Router2(config)# interface fastethernet 0 !进入接口F0的配置模式Router2(config-if)# ip address 172.16.3.2 255.255.255.0 !配置路由器接口F0的IP地址Router2(config-if)# no shutdown

28、 !开启路由器fastethernet0接口!Router2(config)# interface serial 0 !进入接口S0配置模式Router2(config-if)# ip address 172.16.2.2 255.255.255.0 !配置路由器接口S0的IP地址Router2(config-if)# no shutdown !开启路由器serial 0接口验证测试:验证路由器接口的配置和状态Router2#show ip interface brief Interface IP-Address OK? Method Status ProtocolFastEthernet0

29、172.16.3.2 YES manual up upFastEthernet1 unassigned YES unset administratively down downFastEthernet2 unassigned YES unset administratively down downFastEthernet3 unassigned YES unset administratively down downSerial0 172.16.2.2 YES manual up upSerial1 unassigned YES unset administratively down down

30、在路由器Router2上配置RIP V1路由协议。Router2(config)# router rip !创建RIP路由进程Router2(config-router)#network 172.16.0.0 !定义关联网络(必须是直连的主类网络地址)验证测试:验证Router2和Router1上的RIP V1路由表Router2#show ip routeCodes: C - connected, S - static, R - RIP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF exter

31、nal type 1, E2 - OSPF external type 2Gateway of last resort is not set 172.16.0.0/24 is subnetted, 3 subnetsR 172.16.1.0 120/1 via 172.16.2.1, 00:00:16, Serial0 !Router2通过RIP协议获得的路由C 172.16.2.0 is directly connected, Serial0C 172.16.3.0 is directly connected, FastEthernet0Router1#sh ip routeCodes: C - connected, S - static, R - RIP O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2