ROS软路由论坛 ROSABC.com 网络方案网络工程交流

 找回密码
 会员注册

QQ登录

只需一步,快速开始

思科RIP动态路由基本配置的方法和全部命令

2014-10-21 22:34| 发布者: admin| 查看: 838| 评论: 0

摘要: 根据下面的拓扑图,由三台cisco路由器组成一个简单的链式网络,重做到右分别为Router A、Router B和Router C ,具体的ip地址设置如图所示。 首先说明一下,RIP是一种动态路由协议,通常用于小到中型TCP/IP网络中,是 ...
根据下面的拓扑图,由三台cisco路由器组成一个简单的链式网络,重做到右分别为Router A、Router B和Router C ,具体的ip地址设置如图所示。
首先说明一下,RIP是一种动态路由协议,通常用于小到中型TCP/IP网络中,是一个使用距离矢量计算路由的可靠协议。动态路由与静态路由最大不同就是,动态路由无须手动配置一跳跳的路由,且可在网络通信流量或网络拓扑发生变化时能自动调整路由路径。无须网络管理员手动配置进行整理。
 
 

路由A配置:
RouterA(config)#int f0/0
RouterA(config-if)#ip add 192.168.0.1 255.255.255.0
RouterA(config-if)#no shutdown
RouterA(config-if)#int f0/1
RouterA(config-if)#ip add 192.168.1.1 255.255.255.0
RouterA(config-if)#no shutdown
RouterA(config)#router rip
RouterA(config-router)#network 192.168.0.0
RouterA(config-router)#network 192.168.1.0
RouterA(config-router)#end
 
路由B配置:
Router(config)#int f0/1
Router(config-if)#ip add 192.168.1.2 255.255.255.0
Router(config-if)#no shu
Router(config)#int f0/0
Router(config-if)#ip add 192.168.2.1 255.255.255.0
Router(config-if)#no shu
Router(config)#router rip
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0
Router(config-router)#end
 
路由C配置:
Router(config)#int f0/0
Router(config-if)#ip add 192.168.2.2 255.255.255.0
Router(config-if)#no shu
Router(config-if)#int f0/1
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exi
Router(config)#router rip
Router(config-router)#network 192.168.2.0
Router(config-router)#network 192.168.3.0
Router(config-router)#end
 
三台路由随便找一台路由ping其它两台路由,在这里我找路由A来ping B、C
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/22/30 ms
 
Router#ping 192.168.2.2
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
!!!!!
不良信息举报Q:2000617

软路由

不良信息举报Q:2000617|Archiver|ROS软路由论坛 ROSABC.com 网络方案网络工程交流

GMT+8, 2024-5-14 20:48 , Processed in 0.068599 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部