OmniSecu.com Logo  
omnisecu.com free mcse ccna rhce linux java learning
omnisecu.com free mcse ccna rhce linux java learning
          Sharefacebook twitter google+ google bookmark yahoo bookmark delicious digg linkedin pinterest reddit stumbleupon evernote diigo blinklist blogmarks livejournal email feed

Tutorials

Auto Summarization in RIP

External Resources

Auto summarization is a feature which allows Routing Information Protocol (RIP) to summarize its routes to their classful networks automatically.

For example, consider we are planning to use eight subnets of class B default network 172.16.0.0/16, subnetted using a three-bit subnetting as shown below. If we do a three-bit subnetting (Cick the following link if you want to learn more on Class B Subnetting) on default Class B network 172.16.0.0/16, we will get eight subnets as shown below.

• 172.16.0.0/19
• 172.16.32.0/19
• 172.16.64.0/19
• 172.16.96.0/19
• 172.16.128.0/19
• 172.16.160.0/19
• 172.16.192.0/19
• 172.16.224.0/19

Auto Summarization in RIP

Router omnisecu.com.R1 has four subnets 172.16.0.0/19, 172.16.32.0/19, 172.16.64.0/19, and 172.16.96.0/19 and Router omnisecu.com.R2 has remaining four networks 172.16.128.0/19, 172.16.160.0/19, 172.16.192.0/19 and 172.16.224.0/19 respectivly.

After configuring Routing Information Protocol (RIP), view the routing table in omnisecu.com.R1, using the show command "show ip route" command. The output of the show command "show ip route" in omnisecu.com.R1 is copied below.

omnisecu.com.R1>enable
omnisecu.com.R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

C     192.168.10.0/24 is directly connected, Serial1/0
      172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
C     172.16.32.0/19 is directly connected, Loopback1
C     172.16.0.0/19 is directly connected, Loopback0
R     172.16.0.0/16 [120/1] via 192.168.10.2, 00:00:05, Serial1/0
C     172.16.96.0/19 is directly connected, Loopback3
C     172.16.64.0/19 is directly connected, Loopback2
omnisecu.com.R1#
  

The output of the show command "show ip route" in omnisecu.com.R2 is copied below.

omnisecu.com.R2>enable
omnisecu.com.R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

C    192.168.10.0/24 is directly connected, Serial1/0
     172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
C    172.16.160.0/19 is directly connected, Loopback1
C    172.16.128.0/19 is directly connected, Loopback0
C    172.16.224.0/19 is directly connected, Loopback3
C    172.16.192.0/19 is directly connected, Loopback2
R    172.16.0.0/16 [120/1] via 192.168.10.1, 00:00:02, Serial1/0
omnisecu.com.R2#
  

Now we can see from the Routing Table of the routers that both the routers are summarizing its subnets to default Class B unsubnetted network 172.16.0.0/16. This will create confusion in network, because both the routers omnisecu.com.R1 and omnisecu.com.R2 are advertising the same Class B network 172.16.0.0/16. Each router is advertising each other about same network.

To turn off Auto summarization feature in RIP, we can use the "no auto-summary" command from the Router Configuration mode.

Use the following steps in omnisecu.com.R1 to disable Auto summarization in omnisecu.com.R1 using "no auto-summary" command.

omnisecu.com.R1>enable
omnisecu.com.R1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
omnisecu.com.R1(config)#router rip
omnisecu.com.R1(config-router)#no auto-summary
omnisecu.com.R1(config-router)#exit
omnisecu.com.R1(config)#exit
omnisecu.com.R1#
  

Use the following steps in omnisecu.com.R2 to disable Auto summarization in omnisecu.com.R2 using "no auto-summary" command.

omnisecu.com.R2>
omnisecu.com.R2>enable
omnisecu.com.R2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
omnisecu.com.R2(config)#router rip
omnisecu.com.R2(config-router)#no auto-summary
omnisecu.com.R2(config-router)#exit
omnisecu.com.R2(config)#exit
omnisecu.com.R2#sh

After disabling Auto Summarization using "no auto-summary" command, again check the routing tables in omnisecu.com.R1 and omnisecu.com.R2 to confirn the routes are advertised individually as separate subnets, using the show command "show ip route" command as shown below.

omnisecu.com.R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

C    192.168.10.0/24 is directly connected, Serial1/0
     172.16.0.0/16 is variably subnetted, 9 subnets, 2 masks
R    172.16.128.0/19 [120/1] via 192.168.10.2, 00:00:00, Serial1/0
R    172.16.160.0/19 [120/1] via 192.168.10.2, 00:00:00, Serial1/0
R    172.16.192.0/19 [120/1] via 192.168.10.2, 00:00:00, Serial1/0
R    172.16.224.0/19 [120/1] via 192.168.10.2, 00:00:00, Serial1/0
C    172.16.32.0/19 is directly connected, Loopback1
C    172.16.0.0/19 is directly connected, Loopback0
C    172.16.96.0/19 is directly connected, Loopback3
C    172.16.64.0/19 is directly connected, Loopback2

 

omnisecu.com.R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set
C    192.168.10.0/24 is directly connected, Serial1/0
     172.16.0.0/16 is variably subnetted, 9 subnets, 2 masks
C    172.16.160.0/19 is directly connected, Loopback1
C    172.16.128.0/19 is directly connected, Loopback0
C    172.16.224.0/19 is directly connected, Loopback3
C    172.16.192.0/19 is directly connected, Loopback2
R    172.16.0.0/19 [120/1] via 192.168.10.1, 00:00:05, Serial1/0
R    172.16.32.0/19 [120/1] via 192.168.10.1, 00:00:05, Serial1/0
R    172.16.64.0/19 [120/1] via 192.168.10.1, 00:00:05, Serial1/0
R    172.16.96.0/19 [120/1] via 192.168.10.1, 00:00:05, Serial1/0

              Jajish Thomason Google+
Related Topics
• Introduction to Distance Vector Routing Protocols
• Introduction to Routing Information Protocol (RIP)
• Difference between RIPv1 and RIPv2
• How to configure Routing Information Protocol (RIP)
• RIP Metric (Hop Count) and Hop Count Calculation
• RIP Authentication, RIPv2 Authentication, RIP Authentication Keychain Configuration
comments powered by Disqus


eXTReMe Tracker DMCA.com