思科路由器rip动态路由协议配置

简介:

                     rip动态路由协议配置

网络拓朴图

R1上的全部配置

Router>enable

Router#conf

Router(config)#int f0/0

Router(config-if)#ip address 192.168.0.1 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#int s2/0

Router(config-if)#ip address 192.168.1.1 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#router rip

Router(config-router)#network 192.168.0.0

Router(config-router)#network 192.168.1.0

R2全部配置

Router>enable

Router#conf

Router(config)#int s2/0

Router(config-if)#ip address 192.168.1.2 255.255.255.0

Router(config-if)#clock rate 128000

Router(config-if)#no shutdown

Router(config-if)#int s3/0

Router(config-if)#ip address 192.168.2.1 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#router rip

Router(config-router)#network 192.168.1.0

Router(config-router)#network 192.168.2.0

R3全部配置

Router>enable

Router#conf

Router(config)#int s3/0

Router(config-if)#ip address 192.168.2.2 255.255.255.0

Router(config-if)#clock rate 128000

Router(config-if)#no shutdown

Router(config-if)#int f0/0

Router(config-if)#ip address 192.168.3.1 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#router rip

Router(config-router)#network 192.168.2.0

Router(config-router)#network 192.168.3.0

Router(config-router)#exit

这时可以在三个路由器的特权模式下:show ip route

Router#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, 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, E - EGP

       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

       * - candidate default, U - per-user static route, o - ODR

       P - periodic downloaded static route

Gateway of last resort is not set

R    192.168.0.0/24 [120/2] via 192.168.2.1, 00:00:21, Serial3/0

R    192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:21, Serial3/0

C    192.168.2.0/24 is directly connected, Serial3/0

C    192.168.3.0/24 is directly connected, FastEthernet0/0

pc4  ip配置

pc5  ip配置

测试连通性

使用pc5 ping pc4测试










本文转自 guodong810 51CTO博客,原文链接:http://blog.51cto.com/guodong810/1033267,如需转载请自行联系原作者
目录
相关文章
|
8月前
|
网络架构
交换机与路由器技术-20-动态路由协议
交换机与路由器技术-20-动态路由协议
28 0
|
8月前
|
网络架构
交换机与路由器技术-21-RIP路由协议
交换机与路由器技术-21-RIP路由协议
40 0
|
8月前
|
网络架构
交换机与路由器技术-22-OSPF路由协议
交换机与路由器技术-22-OSPF路由协议
34 0
|
8月前
|
网络架构
交换机与路由器技术-07-静态路由配置
交换机与路由器技术-07-静态路由配置
31 0
|
8月前
|
网络架构
交换机与路由器技术-24-OSPF单区域配置
交换机与路由器技术-24-OSPF单区域配置
44 0
|
负载均衡 网络协议 算法
思科私有动态路由协议:EIGRP
EIGRP是一种基于内部网关路由协议 (IGRP) 原理的高级距离矢量路由协议,具有提高运算能力和收敛速度快的独特特性。
233 0
思科私有动态路由协议:EIGRP
|
网络协议 网络架构
H3C_RIP_路由器_动态路由
H3C_RIP_路由器_动态路由
H3C_RIP_路由器_动态路由
|
网络协议 测试技术 网络架构
|
网络协议 网络虚拟化 网络架构