首页 > 新闻详情

【长春思科培训】--思科RIP动态路由基本配置的方法和全部命令

来源:长春上为网络技术服务有限公司

时间: 2012/10/8 14:10:00

   首先说明一下,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:
!!!!!
 

                 长春上为网络技术服务有限公司联系电话:400-0066-703

       
                           联系人:张老师    QQ:2239255687

优先领取试听课
版权所有:搜学搜课(wwww.soxsok com)