第一范文网 - 专业文章范例文档资料分享平台

动态路由配置

来源:用户分享 时间:2025/5/28 9:46:34 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

XX实验报告

学号: 系别 课程名称 实验名称 实验目的和要求: 理解动态路由的工作原理,掌握如何配置动态路由。 日期: 年 月 日

专业 班级 课程类型 动态路由配置 姓名 学时数 实验内容: (一) 实验拓扑 (二)实验设备 路由器 2台 (三)实验步骤 第一步:配置两台路由器的主机名、接口IP地址 RSR20#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)# RouterA(config)#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-if)#exit RouterA(config)# RouterA(config)#interface loopback 1 RouterA(config-if)#Aug 15 23:47:00 RouterA %7:%LINE PROTOCOL CHANGE: Interface Loopback 1, changed state to UP RouterA(config-if)#ip address 172.16.2.1 255.255.255.0 RouterA(config-if)#exit RSR20#configure terminal Enter configuration commands, one per line. End with CNTL/Z. 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)# RouterB(config)#interface loopback 0 RouterB(config-if)#Aug 8 21:00:00 RouterB %7:%LINE PROTOCOL CHANGE: Interface Loopback 0, changed state to UP RouterB(config-if)#ip address 10.1.1.1 255.255.255.0 RouterB(config-if)#exit RouterB(config)# RouterB(config)#interface loopback 1 RouterB(config-if)#Aug 8 21:00:28 RouterB %7:%LINE PROTOCOL CHANGE: Interface Loopback 1, changed state to UP RouterB(config-if)#ip address 10.2.2.1 255.255.255.0 RouterB(config-if)#exit 第二步:在两台路由器上配置RIP路由协议 RouterA(config)#router rip RouterA(config-router)#network 192.168.1.0 RouterA(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 第三步:查看RIP配置信息,路由表 RouterA#show ip route Codes: C - connected, S - static, R - RIP B - BGP 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 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, 00: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 Protocol is \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: not set Default redistribution metric is 1 Redistributing: Default version control: 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) RouterA# RouterB#show ip route Codes: C - connected, S - static, R - RIP B - BGP 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 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 C 10.1.1.0/24 is directly connected, Loopback 0 C 10.1.1.1/32 is local host. C 10.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:00:12, FastEthernet 0/0 C 192.168.1.0/24 is directly connected, 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 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 packets Send RIPv1 packets only Passive interface: Disabled Split horizon: Enabled V2 Broadcast: Disabled 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 protocol is up RIP is not enabled on this interface Loopback 0 is up, line protocol is up Routing Protocol: RIP Receive RIPv1 and RIPv2 packets Send RIPv1 packets only Passive interface: Disabled Split horizon: Enabled V2 Broadcast: Disabled Multicast registe: Registed Interface Summary Rip: Not Configured IP interface address: 172.16.1.1/24 Loopback 1 is up, line protocol is up Routing Protocol: RIP Receive RIPv1 and RIPv2 packets Send RIPv1 packets only Passive interface: Disabled Split horizon: Enabled V2 Broadcast: Disabled Multicast registe: Registed Interface Summary Rip: Not Configured IP interface address: 172.16.2.1/24 RouterB#show ip rip Routing Protocol is \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: not set Default redistribution metric is 1 Redistributing: Default version control: 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: 10.0.0.0 192.168.1.0 Distance: (default is 120) RouterB#show ip rip database 10.0.0.0/8 auto-summary 10.1.1.0/24 [1] directly connected, Loopback 0 10.2.2.0/24 [1] directly connected, Loopback 1

搜索更多关于: 动态路由配置 的文档
动态路由配置.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c4e6gx744cy38cch96p93_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top