RIP metric when summarizing redistributed routes

By | December 29, 2021

I saw this interesting issue about the metrics of summarized routes after being redistributed into RIP.

Scenario:

R1—RIP—R2—OSPF—R5—5.5.5.5/32

R2 is redistributing OSPF to RIP as follows:

R2#sho run | sec router rip
router rip
 version 2
 redistribute ospf 1 metric 2
 network 192.168.0.0
 no auto-summary

R1 has the following route:

R1#sho ip route | sec 5.0.0.0
     5.0.0.0/32 is subnetted, 1 subnets
R       5.5.5.5 [120/2] via 192.168.0.2, 00:00:11, FastEthernet0/0

1-Manual Summary:

R2(config)#int f0/0
R2(config-if)#ip summary-address rip 5.0.0.0 255.0.0.0 

R1#sho ip route | sec 5.0.0.0
R    5.0.0.0/8 [120/3] via 192.168.0.2, 00:00:01, FastEthernet0/0

The metric increased by 1.

2-Auto-summary:

R2(config-if)#router rip
R2(config-router)#auto-summary 

R1#sho ip route | sec 5.0.0.0
R    5.0.0.0/8 [120/2] via 192.168.0.2, 00:00:05, FastEthernet0/0

The metric is the same as when redistributed.

Thanks for reading the blog.

Recommended links:

Leave a Reply

Your email address will not be published.