CISCO 配置实验--rip

RIP路由实验
拓扑图:
基本配置
配置RIP路由:
r1(config)#router rip
r1(config-router)# version 2
r1(config-router)# network 10.0.0 .0
r1(config-router)# network 192.168.10.0
r1(config-router)# network 192.168.60.0
 
r2(config)#router rip
r2(config-router)# version 2
r2(config-router)# network 192.168.10.0
r3(config-router)# network 192.168.20.0
 
r3(config)#router rip
r3(config-router)# version 2
r3(config-router)#network 192.168.20.0
r3(config-router)#network 192.168.30.0

r4(config)#router rip
r4(config-router)# version 2
r4(config-router)#network 192.168.60.0
r4(config-router)#network 192.168.50.0

r5(config)#router rip
r5(config-router)# version 2
r5(config-router)#network 192.168.40.0
r5(config-router)#network 192.168.50.0
 
 
r6(config)#router rip
r6(config-router)# version 2
r6(config-router)#network 172.168.0.0
r6(config-router)#network 192.168.30.0
r6(config-router)#network 192.168.40.0
 
 
验证RIP 路由
r1#show ip route
C    10.0.0 .0/8 is directly connected, FastEthernet0/0
R    172.168.0.0/16 [120/3] via 192.168.10.2, 00:00:10, Serial0/0
C    192.168.10.0/24 is directly connected, Serial0/0
R    192.168.20.0/24 [120/1] via 192.168.10.2, 00:00:10, Serial0/0
R    192.168.30.0/24 [120/2] via 192.168.10.2, 00:00:10, Serial0/0
R    192.168.40.0/24 [120/3] via 192.168.10.2, 00:00:10, Serial0/0
R    192.168.50.0/24 [120/1] via 192.168.60.2, 00:00:06, Serial0/1
C    192.168.60.0/24 is directly connected, Serial0/1
 
R2#show ip route
R    10.0.0 .0/8 [120/1] via 192.168.10.1, 00:00:09, Serial0/0
R    172.168.0.0/16 [120/2] via 192.168.20.2, 00:00:21, Serial0/1
C    192.168.10.0/24 is directly connected, Serial0/0
C    192.168.20.0/24 is directly connected, Serial0/1
R    192.168.30.0/24 [120/1] via 192.168.20.2, 00:00:21, Serial0/1
R    192.168.40.0/24 [120/2] via 192.168.20.2, 00:00:21, Serial0/1
R    192.168.50.0/24 [120/2] via 192.168.10.1, 00:00:09, Serial0/0
R    192.168.60.0/24 [120/1] via 192.168.10.1, 00:00:09, Serial0/0
 
r3#show ip route
R    10.0.0 .0/8 [120/2] via 192.168.20.1, 00:00:05, Serial0/0
R    172.168.0.0/16 [120/1] via 192.168.30.2, 00:00:27, Serial0/1
R    192.168.10.0/24 [120/1] via 192.168.20.1, 00:00:05, Serial0/0
C    192.168.20.0/24 is directly connected, Serial0/0
C    192.168.30.0/24 is directly connected, Serial0/1
R    192.168.40.0/24 [120/1] via 192.168.30.2, 00:00:27, Serial0/1
R    192.168.50.0/24 [120/2] via 192.168.30.2, 00:00:27, Serial0/1
R    192.168.60.0/24 [120/2] via 192.168.20.1, 00:00:05, Serial0/0
 
r4#show ip route
R    10.0.0 .0/8 [120/1] via 192.168.60.1, 00:00:07, Serial0/0
R    172.168.0.0/16 [120/4] via 192.168.60.1, 00:00:07, Serial0/0
R    192.168.10.0/24 [120/1] via 192.168.60.1, 00:00:07, Serial0/0
R    192.168.20.0/24 [120/2] via 192.168.60.1, 00:00:07, Serial0/0
R    192.168.30.0/24 [120/3] via 192.168.60.1, 00:00:07, Serial0/0
R    192.168.40.0/24 [120/4] via 192.168.60.1, 00:00:07, Serial0/0
C    192.168.50.0/24 is directly connected, Serial0/1
C    192.168.60.0/24 is directly connected, Serial0/0
 
r5#show ip route
R    10.0.0 .0/8 [120/4] via 192.168.40.2, 00:00:24, Serial0/1
R    172.168.0.0/16 [120/1] via 192.168.40.2, 00:00:24, Serial0/1
R    192.168.10.0/24 [120/3] via 192.168.40.2, 00:00:24, Serial0/1
R    192.168.20.0/24 [120/2] via 192.168.40.2, 00:00:24, Serial0/1
R    192.168.30.0/24 [120/1] via 192.168.40.2, 00:00:24, Serial0/1
C    192.168.40.0/24 is directly connected, Serial0/1
C    192.168.50.0/24 is directly connected, Serial0/0
R    192.168.60.0/24 [120/4] via 192.168.40.2, 00:00:24, Serial0/1
 
r6#show ip route
R    10.0.0 .0/8 [120/3] via 192.168.30.1, 00:00:21, Serial0/1
C    172.168.0.0/16 is directly connected, FastEthernet0/0
R    192.168.10.0/24 [120/2] via 192.168.30.1, 00:00:21, Serial0/1
R    192.168.20.0/24 [120/1] via 192.168.30.1, 00:00:21, Serial0/1
C    192.168.30.0/24 is directly connected, Serial0/1
C    192.168.40.0/24 is directly connected, Serial0/0
R    192.168.50.0/24 [120/1] via 192.168.40.1, 00:00:00, Serial0/0
R    192.168.60.0/24 [120/3] via 192.168.30.1, 00:00:21, Serial0/1

你可能感兴趣的:(职场,Cisco,休闲,实验,rip)