Home  
  Microsoft  
  Cisco  
  CompTIA  
  CWNP  
  InfoSecurity  
  Forums  
  Blogs  
  Topsites  
  Watch free videos online  
     
  Subnet Calculator  
  Online Degrees  
  Exam Vouchers  
  Free Magazines  
     

  Watch free videos online  
   

 

Register Practice Exams TechNotes Members List Search Today's Posts Mark Forums Read
Go Back   TechExams.net IT Certification Forums > Cisco > CCNA / CCENT
Reply
 
Thread Tools
Member
Registered Member
 
Join Date: May 2009
Posts: 75

up2thetime is on a distinguished road
Old 07-03-2009, 08:54 PM   #1 (permalink)
Default Auto-Summary Question

Hey everyone,

I was wondering if someone would clarify "no auto-summary" for me.

I have set up a lab in Packet Tracer and trying to see it for myself.

My question is, if RIPv2 sends subnet masks with advertisements, then why do we need auto summary?

Here is the setup:

192.168.1.0/24---RouterA---192.168.2.0/30---RouterB---192.168.3.0/30

When RIP is enabled on both routers, RouterA has this in its Routing Table:

R 192.168.3.0/24 [120/1] via 192.168.2.2, 00:00:04, Serial0/0/0


So I went over to RouterB and enabled no auto-summary

I went back to RouterA and now the routing table has this:

192.168.3.0/30 is subnetted, 1 subnets
R 192.168.3.0 [120/1] via 192.168.2.2, 00:00:12, Serial0/0/0

To me, that seems like the no auto-summary command caused RouterB to send the /30 subnet mask along with the network it advertised.

My confusion comes from knowing that one of the features of RIPv2 is that it sends the mask along with the advertisement. However, in my test lab it seems like the addition of no auto-summary caused it to send the correct mask along with the advertisement.

Thanks in advance.


Last edited by up2thetime; 07-03-2009 at 09:05 PM.
up2thetime is offline   Reply With Quote

Login/register to remove this advertisement.
BOFH - Network Division
Registered Member
 
Forsaken_GA's Avatar
 
Join Date: Aug 2008
Location: The Plane of Suck
Posts: 984

Certifications: CCNP, CCDP, MCP, A+
Forsaken_GA is a jewel in the roughForsaken_GA is a jewel in the roughForsaken_GA is a jewel in the rough
Old 07-03-2009, 09:02 PM   #2 (permalink)

By default, rip acts as a classful routing protocol, which means it will summarize on classful boundaries unless you tell it not to.

In your first example, with auto-summary on, 192.168.3.0 is a classful network, a class C, hence it's being advertised with a /24 mask.

When you turned it off, it advertised it as a /30, which tells me that the interface is configured with a 255.255.255.252 mask.

If auto-summary is on, you shouldn't be seeing the /30 mask.

As for why it's needed, it's really not needed. But if you're designing your network along class boundaries, it's useful. You do want to summarize when possible, it keeps your routing tables small



__________________
--- Tearline v1.0
* Origin: narco.noctum.net 'So what if you can see the dark inside of me...' (127:0/0.1)

"We think the packets are being devoured by Nidhoggr, the Net Serpent"

Forsaken_GA is offline   Reply With Quote
Member
Registered Member
 
Join Date: May 2009
Posts: 75

up2thetime is on a distinguished road
Old 07-03-2009, 09:15 PM   #3 (permalink)

So RIPv2 still sends the subnet mask, but it by default sends the classful mask unless we say no auto-summary?

Telling the router no auto-summary actually tells the router to send the subnet mask that the network is configured with (ie. the subnet mask we chose to use when designing the network), and not the default subnet mask for this network address based on Class A, B, or C?

Correct?

up2thetime is offline   Reply With Quote
BOFH - Network Division
Registered Member
 
Forsaken_GA's Avatar
 
Join Date: Aug 2008
Location: The Plane of Suck
Posts: 984

Certifications: CCNP, CCDP, MCP, A+
Forsaken_GA is a jewel in the roughForsaken_GA is a jewel in the roughForsaken_GA is a jewel in the rough
Old 07-03-2009, 09:16 PM   #4 (permalink)

Exactly right!

EIGRP behaves the same way.

OSPF, otoh, does not auto-summarize by default



__________________
--- Tearline v1.0
* Origin: narco.noctum.net 'So what if you can see the dark inside of me...' (127:0/0.1)

"We think the packets are being devoured by Nidhoggr, the Net Serpent"

Forsaken_GA is offline   Reply With Quote
Member
Registered Member
 
Join Date: May 2009
Posts: 75

up2thetime is on a distinguished road
Old 07-03-2009, 09:26 PM   #5 (permalink)

Quote:
Originally Posted by Forsaken_GA View Post
Exactly right!

EIGRP behaves the same way.

OSPF, otoh, does not auto-summarize by default
Hey thanks for clearing that up! Appreciate it!

up2thetime is offline   Reply With Quote
Member
Registered Member
 
Join Date: May 2009
Posts: 75

up2thetime is on a distinguished road
Old 07-04-2009, 12:33 AM   #6 (permalink)

Quote:
Originally Posted by up2thetime View Post
192.168.1.0/24---RouterA---192.168.2.0/30---RouterB---192.168.3.0/30


Just as an example from my diagram:


If we have auto summary on, when PC1 on the 192.168.1.0/24 network (left side of RouterA) wants to ping the IP Address 192.168.3.10, will RouterA send it out to RouterB? I believe it will do this because, since we have auto summary on, RouterA believes that 192.168.3.0/24 can be reached via RouterB. It believes RouterB has the route to 192.168.3.1 - 192.168.3.255

However, if we turn no auto-summary on, RouterA will receive the message destined for 192.168.3.10 and realize RouterB only has the route to 192.168.3.1, 192.168.3.2, and 192.168.3.3 (for broadcasts).

Therefore RouterA drops the packet (assume no gateway of last resort on RouterA).

Is that right?


Last edited by up2thetime; 07-04-2009 at 12:41 AM.
up2thetime is offline   Reply With Quote
BOFH - Network Division
Registered Member
 
Forsaken_GA's Avatar
 
Join Date: Aug 2008
Location: The Plane of Suck
Posts: 984

Certifications: CCNP, CCDP, MCP, A+
Forsaken_GA is a jewel in the roughForsaken_GA is a jewel in the roughForsaken_GA is a jewel in the rough
Old 07-04-2009, 12:40 AM   #7 (permalink)

Exactly. This is why discontiguous subnets and classful routing protocols don't mix



__________________
--- Tearline v1.0
* Origin: narco.noctum.net 'So what if you can see the dark inside of me...' (127:0/0.1)

"We think the packets are being devoured by Nidhoggr, the Net Serpent"

Forsaken_GA is offline   Reply With Quote
Member
Registered Member
 
Join Date: May 2009
Posts: 75

up2thetime is on a distinguished road
Old 07-04-2009, 12:42 AM   #8 (permalink)

Quote:
Originally Posted by Forsaken_GA View Post
Exactly. This is why discontiguous subnets and classful routing protocols don't mix
Awesome! I understand. Thank you again!

up2thetime is offline   Reply With Quote
Bookmarks
Go Back TechExams.net IT Certification Forums > Cisco > CCNA / CCENT
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT. The time now is 03:57 PM.

 
 
Featured Sponsors

TrainSignal - “Hands On” computer training for IT professionals. Network+ Training, MCSE, Cisco & more! Visit Train Signal’s free training site to get loads of Free Computer Training, videos, articles and practice exams.

Preplogic - Sign up now to get Unlimited Access to PrepLogic's entire video training library. Enjoy open access to Microsoft Server 2008, CCNA, CISSP®, PMP and many more. Get Unlimited Access

 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
TechExams.net 2009