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

加入VIP,免费下载
 

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

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

下载须知

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

版权提示 | 免责声明

本文(网络技术实验课程报告Word下载.docx)为本站会员(b****3)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

网络技术实验课程报告Word下载.docx

1、7、实验系统 1二、 RIP路由协议配置预备知识 11、需要提前了解的知识 12、实验原理 1三、 实验步骤 21、配置两台路由器的主机名、接口 IP 地址 22、在两台路由器上配置 RIP路由协议 33、查看 RIP 配置信息,路由表 34、测试网络连通性 75、用 debug 命令观察路由器接收和发生路由更新的情况 86、参考配置 97、查看配置成功与否 10四、 实验总结 111、RIP路由协议配置的背景介绍1、实验名称RIP 路由协议基本配置。2、实验目的 掌握在路由器上如何配置 RIP 路由协议。3、背景描述假设在校园网在地理上分为 2 个区域,每个区域内分别有一台路由器连接了 2

2、个子网,需要将两台路由器通过以太网链路连接在一起并进行适当的配置,以实现这 4 个子网之间的互联互通。为了在未来每个校园区域扩充子网数量的时候,管理员不需要同时更改路由器的配置,计划使用 RIP路由协议实现子网之间的互通。4、需求分析两台路由器通过快速以太网端口连接在一起,每个路由器上设置 2 个 Loopback 端口模拟子网,在所有端口运行 RIP路由协议,实现所有子网间的互通。5、实验拓扑 实验拓扑图6、实验设备路由器2台 7、实验系统版本Windows 72、RIP路由协议配置预备知识 1、需要提前了解的知识路由器的工作原理和基本配置方法,距离矢量路由协议,RIP 工作原理和配置方法

3、2、实验原理RIP(Routing Information Protocols,路由信息协议)是应用较早、使用较普遍的 IGP(Interior Gateway Protocol,内部网关协议),适用于小型同类网络,是典型的距离矢量(distance-vector)协议。RIP 协议以跳数做为衡量路径开销的,RIP协议里规定最大跳数为 15。RIP 在构造路由表时会使用到 3种计时器:更新计时器、无效计时器、刷新计时器。它让每台路由器周期性地向每个相邻的邻居发送完整的路由表。路由表包括每个网络或子网的信息,以及与之相关的度量值。3、实验步骤1、配置两台路由器的主机名、接口 IP 地址 RSR2

4、0#configure terminal Enter configuration commands, one per line. End with CNTL/Z. RSR20(config)#hostname RouterA RouterA(config)# RouterA(config)#interface fastEthernet 0/0 RouterA(config-if)#ip address 192.168.1.1 255.255.255.0 RouterA(config-if)#no shutdown RouterA(config-if)#exit RouterA(config)#

5、interface loopback 0 RouterA(config-if)#Aug 15 23:46:32 RouterA %7:%LINE PROTOCOL CHANGE:Interface Loopback 0, changed state to UP RouterA(config-if)#ip address 172.16.1.1 255.255.255.0 RouterA(config)#interface loopback 1 47:00 RouterA %7:Interface Loopback 1, changed state to UP RouterA(config-if)

6、#ip address 172.16.2.1 255.255.255.0 RSR20(config)#hostname RouterB RouterB(config)# RouterB(config)#interface fastEthernet 0/0 RouterB(config-if)#ip address 192.168.1.2 255.255.255.0 RouterB(config-if)#no shutdown RouterB(config-if)#exit RouterB(config)#interface loopback 0 RouterB(config-if)#Aug 8

7、 21:00:00 RouterB %7:RouterB(config-if)#ip address 10.1.1.1 255.255.255.0 RouterB(config)#interface loopback 1 28 RouterB %7:RouterB(config-if)#ip address 10.2.2.1 255.255.255.0 RouterB(config-if)#exit 2、在两台路由器上配置 RIP路由协议 RouterA(config)#router rip RouterA(config-router)#network 192.168.1.0 RouterA(

8、config-router)#network 172.16.1.0 RouterA(config-router)#exit RouterB(config)#router rip RouterB(config-router)#network 192.168.1.0 RouterB(config-router)#network 10.0.0.0 RouterB(config-router)#exit 3、查看 RIP 配置信息,路由表 RouterA#show ip route Codes: C - connected, S - static, R - RIP B - BGP O - OSPF,

9、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 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default Gateway of last resort is no set R 10.0.0.0/8 120/1 via 192.168.1.2,

10、 00:17, FastEthernet 0/0 C 172.16.1.0/24 is directly connected, Loopback 0 C 172.16.1.1/32 is local host. C 172.16.2.0/24 is directly connected, Loopback 1 C 172.16.2.1/32 is local host. C 192.168.1.0/24 is directly connected, FastEthernet 0/0 C 192.168.1.1/32 is local host. RouterA# Routing Protoco

11、l is rip Sending updates every 30 seconds, next due in 21 seconds Invalid after 180 seconds, flushed after 120 seconds Outgoing update filter list for all interface is: not set Incoming update filter list for all interface is: Default redistribution metric is 1 Redistributing: Default version contro

12、l: send version 1, receive any version Interface Send Recv Key-chain FastEthernet 0/0 1 1 2 Loopback 0 1 1 2 Loopback 1 1 1 2 Routing for Networks: 172.16.0.0 192.168.1.0 Distance: (default is 120) RouterB#show ip route C 10.1.1.0/24 is directly connected, Loopback 0 C 10.1.1.1/32 is local host. C 1

13、0.2.2.0/24 is directly connected, Loopback 1 C 10.2.2.1/32 is local host. R 172.16.0.0/16 120/1 via 192.168.1.1, 00:12, FastEthernet 0/0 C 192.168.1.2/32 is local host. RouterA#show ip rip database 10.0.0.0/8 auto-summary 10.0.0.0/8 1 via 192.168.1.2 FastEthernet 0/0 00:09 172.16.0.0/16 auto-summary

14、 172.16.1.0/24 1 directly connected, Loopback 0 172.16.2.0/24 1 directly connected, Loopback 1 192.168.1.0/24 auto-summary 192.168.1.0/24 1 directly connected, FastEthernet 0/0 RouterA#show ip rip interface FastEthernet 0/0 is up, line protocol is up Routing Protocol: RIP Receive RIPv1 and RIPv2 pac

15、kets Send RIPv1 packets only Passive interface: Disabled Split horizon: Enabled V2 Broadcast: Multicast registe: Registed Interface Summary Rip: Not Configured IP interface address: 192.168.1.1/24 FastEthernet 0/1 is down, line protocol is down RIP is not enabled on this interface Null 0 is up, line

16、 protocol is up Loopback 0 is up, line protocol is up Enabled V2 Broadcast: 172.16.1.1/24 Loopback 1 is up, line protocol is up 172.16.2.1/24 RouterB#show ip rip send version 1, receive any version Interface Send Recv Key-chain 10.0.0.0 RouterB#show ip rip database 10.1.1.0/24 10.2.2.0/24 172.16.0.0

17、/16 1 via 192.168.1.1 FastEthernet 0/0 00:08 RouterB#show ip rip interface 192.168.1.2/24 Disabled Split horizon: 10.1.1.1/24 10.2.2.1/24 4、测试网络连通性 RouterA#ping 10.1.1.1 Sending 5, 100-byte ICMP Echoes to 10.1.1.1, timeout is 2 seconds: !Success rate is 100 percent (5/5), round-trip min/avg/max = 1/

18、1/1 ms RouterA#ping 10.2.2.1 Sending 5, 100-byte ICMP Echoes to 10.2.2.1, timeout is 2 seconds:Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/10 ms RouterB#ping 172.16.1.1 Sending 5, 100-byte ICMP Echoes to 172.16.1.1, timeout is 2 seconds:RouterB#ping 172.16.2.1 Sending 5, 100-byte

19、 ICMP Echoes to 172.16.2.1, timeout is 2 seconds:5、用 debug 命令观察路由器接收和发生路由更新的情况 下面是一个完整的 RIP 路由器接收更新和发送更新的过程,从中可以看到 RouterB 接收到了 RouterA 发送的更新,其中包含一条路由信息 172.16.0.0(可以看到水平分割原则的作用),然后刷新了路由表。RouterB 本身发送的更新报文则在 Fa0/0、 Lo0 和 Lo1三个端口发出,采用广播的方式,广播地址分别为 192.168.1.255,10.1.1.255,10.2.2.255,使用 UDP 的 520 端口。在水平分割的原则下,每个端口发送的路由信息均不相同。RouterB#debug ip rip Aug

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1