RIP路由实验<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

拓扑图:
CISCO 配置实验--rip
<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />
基本配置

配置RIP路由:

r1(config)#router rip
r1(config-router)# version 2
r1(config-router)# network <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />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

转载于:https://blog.51cto.com/hjtyqs/351283

相关文章:

  • 2021-07-01
  • 2021-12-27
  • 2022-12-23
  • 2021-11-03
  • 2021-06-16
  • 2021-05-25
  • 2021-06-08
  • 2021-12-23
猜你喜欢
  • 2021-09-16
  • 2022-01-02
  • 2021-04-05
  • 2021-04-24
  • 2021-04-05
  • 2021-09-08
相关资源
相似解决方案