RIP Summarization Configuration Example
We will configure RIP Summarization by using ip summary-address rip command.
Here is the topology for this example:
In this example we will create four connected interfaces on R4.We will redistribute them into RIP with metric of 3.Then we will do RIP summarization on R2 and R3 by using ip summary-address rip command.
Configurtion of R4:
interface Loopback0
ip address 192.168.0.4 255.255.255.255
!
interface Loopback100
ip address 100.100.100.1 255.255.255.0
!
interface Loopback101
ip address 100.100.101.1 255.255.255.0
!
interface Loopback102
ip address 100.100.102.1 255.255.255.0
!
interface Loopback103
ip address 100.100.103.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.24.4 255.255.255.0
!
interface FastEthernet0/1
ip address 192.168.34.4 255.255.255.0
!
router rip
version 2
redistribute connected metric 3
network 192.168.0.0
network 192.168.24.0
network 192.168.34.0
no auto-summary
Then we see that R2 and R3 gets these connected routes:
R3#show ip route rip
R 192.168.12.0/24 [120/1] via 192.168.13.1, 00:00:08, FastEthernet0/0
100.0.0.0/24 is subnetted, 4 subnets
R 100.100.100.0 [120/3] via 192.168.34.4, 00:00:17, FastEthernet0/1
R 100.100.101.0 [120/3] via 192.168.34.4, 00:00:17, FastEthernet0/1
R 100.100.102.0 [120/3] via 192.168.34.4, 00:00:17, FastEthernet0/1
R 100.100.103.0 [120/3] via 192.168.34.4, 00:00:17, FastEthernet0/1
R 192.168.24.0/24 [120/1] via 192.168.34.4, 00:00:17, FastEthernet0/1
192.168.0.0/32 is subnetted, 4 subnets
R 192.168.0.1 [120/1] via 192.168.13.1, 00:00:08, FastEthernet0/0
R 192.168.0.2 [120/2] via 192.168.34.4, 00:00:17, FastEthernet0/1
[120/2] via 192.168.13.1, 00:00:08, FastEthernet0/0
R 192.168.0.4 [120/1] via 192.168.34.4, 00:00:17, FastEthernet0/1
On R2 and R3 we will configure RIP summarization by using ip summary-address rip
Command:
interface FastEthernet0/0
ip summary-address rip 100.100.100.0 255.255.252.0
R1 gets the summary, not the more specific routes:
R1#show ip route rip
100.0.0.0/22 is subnetted, 1 subnets
R 100.100.100.0 [120/4] via 192.168.13.3, 00:00:24, FastEthernet0/1
[120/4] via 192.168.12.2, 00:00:26, FastEthernet0/0
R 192.168.24.0/24 [120/1] via 192.168.12.2, 00:00:26, FastEthernet0/0
R 192.168.34.0/24 [120/1] via 192.168.13.3, 00:00:24, FastEthernet0/1
192.168.0.0/32 is subnetted, 4 subnets
R 192.168.0.2 [120/1] via 192.168.12.2, 00:00:26, FastEthernet0/0
R 192.168.0.3 [120/1] via 192.168.13.3, 00:00:24, FastEthernet0/1
R 192.168.0.4 [120/2] via 192.168.13.3, 00:00:24, FastEthernet0/1
[120/2] via 192.168.12.2, 00:00:26, FastEthernet0/0
Lets check the reachability:
R1#ping 100.100.100.1 source 192.168.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.100.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/55/88 ms
R1#ping 100.100.101.1 source 192.168.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.101.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/64/92 ms
R1#ping 100.100.102.1 source 192.168.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.102.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 60/68/88 ms
R1#ping 100.100.103.1 source 192.168.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.100.103.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/80/96 ms
No comments:
Post a Comment