RIPv1与RIPv2共存实验
1.拓扑图
2.配置解析
在全部路由器上面启用RIP路由协议 左边(R1\\R2\\R5)为RIPv1 右边(R3\\R4\\R5)为RIPv2
下面是各路由器的配置
==============================================
R1
Router(config-router)#do sh ip ro
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0 3.0.0.0/24 is subnetted, 1 subnets
R 3.3.3.0 [120/2] via 11.0.0.1, 00:00:16, Serial1/1 4.0.0.0/24 is subnetted, 1 subnets
R 4.4.4.0 [120/2] via 11.0.0.1, 00:00:16, Serial1/1 5.0.0.0/24 is subnetted, 1 subnets
R 5.5.5.0 [120/1] via 11.0.0.1, 00:00:16, Serial1/1
11.0.0.0/24 is subnetted, 1 subnets C 11.0.0.0 is directly connected, Serial1/1 12.0.0.0/24 is subnetted, 1 subnets
R 12.0.0.0 [120/1] via 11.0.0.1, 00:00:16, Serial1/1 13.0.0.0/24 is subnetted, 1 subnets
R 13.0.0.0 [120/1] via 11.0.0.1, 00:00:16, Serial1/1 14.0.0.0/24 is subnetted, 1 subnets
R 14.0.0.0 [120/1] via 11.0.0.1, 00:00:16, Serial1/1
-------------------------------------------------------------------------------------------------------- Router(config-router)#do sh ip pro Routing Protocol is \
Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Sending updates every 30 seconds, next due in 23 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain Serial1/1 1 1 2 Loopback0 1 1 2 Automatic network summarization is not in effect Maximum path: 4 Routing for Networks: 1.0.0.0 11.0.0.0
Routing Information Sources:
Gateway Distance Last Update 11.0.0.1 120 00:00:03 Distance: (default is 120)
=============================================================
R2
Router(config-router)#do sh ip ro
Gateway of last resort is not set 2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0 3.0.0.0/24 is subnetted, 1 subnets
R 3.3.3.0 [120/2] via 12.0.0.1, 00:00:12, Serial1/2 4.0.0.0/24 is subnetted, 1 subnets
R 4.4.4.0 [120/2] via 12.0.0.1, 00:00:12, Serial1/2
5.0.0.0/24 is subnetted, 1 subnets
R 5.5.5.0 [120/1] via 12.0.0.1, 00:00:12, Serial1/2 11.0.0.0/24 is subnetted, 1 subnets
R 11.0.0.0 [120/1] via 12.0.0.1, 00:00:12, Serial1/2 12.0.0.0/24 is subnetted, 1 subnets C 12.0.0.0 is directly connected, Serial1/2 13.0.0.0/24 is subnetted, 1 subnets
R 13.0.0.0 [120/1] via 12.0.0.1, 00:00:12, Serial1/2 14.0.0.0/24 is subnetted, 1 subnets
R 14.0.0.0 [120/1] via 12.0.0.1, 00:00:13, Serial1/2
----------------------------------------------------------------------------------------- Router(config-router)#do sh ip pro Routing Protocol is \
Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Sending updates every 30 seconds, next due in 18 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain Serial1/2 1 1 2 Automatic network summarization is not in effect Maximum path: 4 Routing for Networks: 2.0.0.0 12.0.0.0
Routing Information Sources:
Gateway Distance Last Update 12.0.0.1 120 00:00:01 Distance: (default is 120)
===================================================
R3
Router(config-router)#do sh ip ro
Gateway of last resort is not set
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0 4.0.0.0/24 is subnetted, 1 subnets
R 4.4.4.0 [120/2] via 13.0.0.1, 00:00:04, Serial1/3
5.0.0.0/24 is subnetted, 1 subnets
R 5.5.5.0 [120/1] via 13.0.0.1, 00:00:04, Serial1/3 11.0.0.0/24 is subnetted, 1 subnets
R 11.0.0.0 [120/1] via 13.0.0.1, 00:00:04, Serial1/3 12.0.0.0/24 is subnetted, 1 subnets
R 12.0.0.0 [120/1] via 13.0.0.1, 00:00:04, Serial1/3 13.0.0.0/24 is subnetted, 1 subnets C 13.0.0.0 is directly connected, Serial1/3 14.0.0.0/24 is subnetted, 1 subnets
R 14.0.0.0 [120/1] via 13.0.0.1, 00:00:04, Serial1/3
-----------------------------------------------------------------------------------------------
Router(config-router)#do sh ip pro Routing Protocol is \
Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Sending updates every 30 seconds, next due in 13 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Redistributing: rip
Default version control: send version 2, receive version 2
Interface Send Recv Triggered RIP Key-chain Serial1/3 2 2 Loopback0 2 2 Automatic network summarization is not in effect Maximum path: 4 Routing for Networks: 3.0.0.0 13.0.0.0
Routing Information Sources:
Gateway Distance Last Update 13.0.0.1 120 00:00:13 Distance: (default is 120)
==========================================================
R4
Router(config-router)#do sh ip ro
Gateway of last resort is not set
3.0.0.0/24 is subnetted, 1 subnets
R 3.3.3.0 [120/2] via 14.0.0.1, 00:00:24, Serial1/4 4.0.0.0/24 is subnetted, 1 subnets
C 4.4.4.0 is directly connected, Loopback0 5.0.0.0/24 is subnetted, 1 subnets
R 5.5.5.0 [120/1] via 14.0.0.1, 00:00:24, Serial1/4 11.0.0.0/24 is subnetted, 1 subnets
R 11.0.0.0 [120/1] via 14.0.0.1, 00:00:24, Serial1/4 12.0.0.0/24 is subnetted, 1 subnets
R 12.0.0.0 [120/1] via 14.0.0.1, 00:00:24, Serial1/4 13.0.0.0/24 is subnetted, 1 subnets
R 13.0.0.0 [120/1] via 14.0.0.1, 00:00:24, Serial1/4 14.0.0.0/24 is subnetted, 1 subnets C 14.0.0.0 is directly connected, Serial1/4
-----------------------------------------------------------------------------------------------------
Router(config-router)#do sh ip pro Routing Protocol is \
Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Sending updates every 30 seconds, next due in 14 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Redistributing: rip
Default version control: send version 2, receive version 2
Interface Send Recv Triggered RIP Key-chain Serial1/4 2 2 Loopback0 2 2 Automatic network summarization is not in effect Maximum path: 4 Routing for Networks: 4.0.0.0 14.0.0.0
Routing Information Sources:
Gateway Distance Last Update 14.0.0.1 120 00:00:19 Distance: (default is 120)
==============================================================
R5
Router(config-router)#do sh ip ro