In this lab, we will see how to configure RIP route summarization.
Here’s the topology we will use:
Here’s the RIPv2 configuration before summarization:
For R1:
R1(config)#router rip R1(config-router)#version 2 R1(config-router)#no auto-summary R1(config-router)#network 192.168.1.0 R1(config-router)#network 172.16.0.0
For R2:
R1(config)#router rip R2(config-router)#version 2 R2(config-router)#no auto-summary R2(config-router)#network 192.168.1.0
The routing table of router R2 will look like this:
R2#show ip route rip 172.16.0.0/24 is subnetted, 2 subnets R 172.16.0.0 [120/1] via 192.168.1.1, 00:00:24, FastEthernet0/0 R 172.16.1.0 [120/1] via 192.168.1.1, 00:00:24, FastEthernet0/0
Above you see both networks. Now let’s create a summary:
172.16.0.0 = 172.16.00000000.0/24 172.16.1.0 = 172.16.00000001.0/24 -------------------- = 172.16.0.0/23
The /23 is the more specific because it only covers 172.16.0.0/24 and 172.16.1.0/24
R1(config)#interface fastEthernet 0/0 R1(config-if)#ip summary-address rip 172.16.0.0 255.255.254.0
This is what it looks like on router R2:
R2#show ip route rip 172.16.0.0/23 is subnetted, 1 subnets R 172.16.0.0 [120/1] via 192.168.1.1, 00:00:22, FastEthernet0/0
I hope this been informative for you, enjoy !
Tagged: ccnp, cisco, rip, routing, summarization
Leave a Reply :