Solved

auto-summary and  ip summary-address rip comparison

Posted on 2006-06-19
6
847 Views
Last Modified: 2009-01-22
Case1
When auto-summary is enabled the output was

Router2#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
         i - IS-IS, 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
 
       2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C         2.2.2.16/28 is directly connected, Loopback2
C         2.2.2.32/27 is directly connected, Loopback22
R      163.1.0.0/16 [120/1] via 192.168.1.1, 00:00:15, Serial0/1
C      192.168.1.0/24 is directly connected, Serial0/1[/code]

When auto-summary is disabled the output:

Router2#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
         i - IS-IS, 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
 
       2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C         2.2.2.16/28 is directly connected, Loopback2
C         2.2.2.32/27 is directly connected, Loopback22
       163.1.0.0/16 is variably subnetted, 3 subnets, 3 masks
R         163.1.192.0/18 [120/1] via 192.168.1.1, 00:00:18, Serial0/1
R         163.1.0.0/16 [120/1] via 192.168.1.1, 00:00:47, Serial0/1
R         163.1.8.0/21 [120/1] via 192.168.1.1, 00:00:18, Serial0/1
C      192.168.1.0/24 is directly connected, Serial0/1[/code]



Case 2 :
When auto-summary is disabled the output:

Router2#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
         i - IS-IS, 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
 
       2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C         2.2.2.16/28 is directly connected, Loopback2
C         2.2.2.32/27 is directly connected, Loopback22
       163.1.0.0/16 is variably subnetted, 3 subnets, 3 masks
R         163.1.192.0/18 [120/1] via 192.168.1.1, 00:00:18, Serial0/1
R         163.1.0.0/16 [120/1] via 192.168.1.1, 00:00:47, Serial0/1
R         163.1.8.0/21 [120/1] via 192.168.1.1, 00:00:18, Serial0/1
C      192.168.1.0/24 is directly connected, Serial0/1[/code]

When I enabled ip summary-address rip 163.1.0.0 255.255.0.0 on S0/1 Router1 , then I checked the below command


Router2#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
         i - IS-IS, 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
 
       2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C         2.2.2.16/28 is directly connected, Loopback2
C         2.2.2.32/27 is directly connected, Loopback22
R      163.1.0.0/16 [120/1] via 192.168.1.1, 00:00:11, Serial0/1
C      192.168.1.0/24 is directly connected, Serial0/1[/code]

What is the difference between the "no auto-summary" and  "ip summary-address rip" ?
0
Comment
Question by:zillah
  • 2
  • 2
6 Comments
 
LVL 12

Expert Comment

by:Scotty_cisco
ID: 16935865
What version of RIP are you using... version 1 is classfull and will not allow for any kind of subneting.  Try using rip version 2 it will allow for the interdomain routing.

Thanks
Scott

To answer your question though the main difference between auto summary and no auto summary is that the router records all networks and routes with auto summary it summarizes the routes...  For instance

lets say you have 10 networks all starting 10.1.1.0, 10.2.1.0, 10.3.1.0 ect

with auto summary your route will show 10.0.0.0 255.0.0.0 with no auto summary you will show all 10 routes.... this is just an example not a very clear one I am sure....

Thanks
scott
0
 

Author Comment

by:zillah
ID: 16936692
Thanks scott for your help.

((Try using rip version 2 it will allow for the interdomain routing.))
It is already version 2.

((difference between auto summary and no auto summary ))
My query is What is the difference between the "no auto-summary" and  "ip summary-address rip" ?
0
 
LVL 12

Expert Comment

by:Scotty_cisco
ID: 16936724
ip summary-address rip
To configure a Cisco router running RIPv2 to advertise a summarized local IP address pool on a network access server so that the address pool can be provided to dialup clients and specify the IP address and network mask that identify the routes to be summarized, use the ip summary-address rip router configuration command.

auto-summary (RIP)
To restore the default behavior of automatic summarization of subnet routes into network-level routes, use the auto-summary command in router configuration mode. To disable this function and send subprefix routing information across classful network boundaries, use the no form of this command.

auto-summary

no auto-summary

Usage Guidelines
Route summarization reduces the amount of routing information in the routing tables.

RIP Version 1 always uses automatic summarization. If you are using RIP Version 2, you can turn off automatic summarization by specifying the no auto-summary command. Disable automatic summarization if you must perform routing between disconnected subnets. When automatic summarization is off, subnets are advertised.


thanks
Scott

0
 

Author Comment

by:zillah
ID: 16939665
((My query is What is the difference between the "no auto-summary" and  "ip summary-address rip" ?))
Sorry, I meant to say: What is the difference between the "auto-summary" and  "ip summary-address rip"  ?

I have got an answer from this :
http://www.cisco.com/en/US/products/ps6350/products_command_reference_chapter09186a008046702d.html
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 17519775
PAQed with points refunded (250)

DarthMod
Community Support Moderator
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VoIP and Data on single switch, with SonicWall 6 72
Connecting LAN to a new leased line 2 63
BGP Code 12 54
How to Link NetGear wireless AC-1200 router to Sonicwall 3600 13 64
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question