Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CCNA, Route Summarization with RIP

Posted on 2013-06-20
8
Medium Priority
?
550 Views
Last Modified: 2013-06-20
I'm studying CCNA. The following setup does actually build RIP routes without problem. All 3 routers I typed following commands;

Config t
Router Rip
Network 172.16.0.0

I'm confused. How does this work when all 3 routers have different subnets, but having same same rip network statements with the same summarized network? I thought summarization is for combining routes of next hop's IP network, not router's for 2 or more hops away.

Can someone clarify it?
rip-sum.jpg
0
Comment
Question by:crcsupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 39263940
First off, you didn't specify "version 2" so with RIPv1 there's no summarization, everything is classful.

Second, RIP configuration, no matter version, is always configured with classful network statements.  A network statement just says two things
1) Turn on RIP for any interface with an IP that is in that classful network
2) Announce the connected route for the interface that RIP gets turned on

So while you have three routers and three different subnets, it'll work because of the above.  keep in mind RIPv1 doesn't do mask info which is why its never really used anywhere.  do a "sh ip route" to confirm what all you have.  ripv1 has issues depending on your exact ip scheme you use within your network

summarization is great when you have a nicely designed network with a hierarchical structure as to its IP scheme.

For example.  Let's say you have 10.0.0.0/8 space to assign.  You have 5 sites.  You assign as such.
10.1.0.0/16
10.2.0.0/16
10.3.0.0/16
10.4.0.0/16
10.5.0.0/16

Now you won't have each site be designed with a single subnet that can hold 65534 hosts.  That's just ludicrous and asking for problems.  That /16 space will be in turn divided further at that site as each site pleases.  However, If you're a host on 10.1.200.0/24 and want to get to 10.5.20.0/24.  Your gateway has not need to know the specific route to the /24 as anything in the 10.5.0.0/16 will go to site 5.  As such, you configure summarization so that site 5 only announces that one route.  This help keep the routing table smaller so less memory is used as well as routing decisions can be made faster.

so if you want yours to work type the following in the router rip

version 2
no auto-summary
0
 
LVL 1

Author Comment

by:crcsupport
ID: 39263993
"1) Turn on RIP for any interface with an IP that is in that classful network
2) Announce the connected route for the interface that RIP gets turned on"

So, since rip is classful, the summarization network statement is correct for 3 routers having the same network statement.
0
 
LVL 1

Author Comment

by:crcsupport
ID: 39264052
As long as most distant network is less than max hop 15, then I may assume RIP can deliver frame with its learned routes. So, let's say if 13 routers are all connected horizontally, then with same single statement 'network 172.16.0.0', all 13 routers will populate rip routes correctly. Correct?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Author Comment

by:crcsupport
ID: 39264066
Reading your statement again, without 'version 2' statement, the 3 routers populate all routes correctly. PC0 can ping PC2, which means, summarization works with RIPv1. Why?
0
 
LVL 25

Assisted Solution

by:Cyclops3590
Cyclops3590 earned 1000 total points
ID: 39264085
yes, same statement.

it works (if I'm remembering this right) because you are using a contiguous network.  Specifics, I need to go back and refresh my memory as I never use RIPv1.  I'll get back to you on that one.  But there is some type of assumption I remember when using RIPv1 about the masks but it only really works with contiguous networks.  if you have you have your left and right networks in the same classful network and the center one in a different one then it wouldn't work because their discontiguous and the center network gets confused how to route to the correct network.
0
 
LVL 50

Accepted Solution

by:
Don Johnston earned 1000 total points
ID: 39264279
RIP is a bit of a goofy protocol. Especially when configuring in a Cisco environment.

First, the network statement is classful. Doesn't matter if you're doing v1 or v2. If you enter "network 10.2.3.0", the IOS will automatically change it to "network 10.0.0.0". Which means that all interfaces with an IP address starting with 10. will be considered RIP networks.

Second, summarization is on by default. Except that it's summarization to the classful boundary. Unless you disable it (v2 only) with the "no auto-summary" command.  With summarization enabled, any subnets will be summarized to the classful boundary IF they are advertised out an interface that is not part of the subnet.  

For example, you have a router with two interfaces: E0 and E1. E0 has the IP address 10.1.2.3/24 and E1 is 172.16.1.1/24.  So if you look in the routing table, you will see:

10.1.2.0/24 directly connected to E0
172.16.1.0/24 directly connected to E1

But if you look at the updates the router is sending out E0, you will see 172.16.0.0.  Out E1, you'll see 10.0.0.0

Now if the E0 interface has an IP address of 172.16.2.2/24, then you would see the 172.16.1.0 network being advertised out that interface.
0
 
LVL 1

Author Comment

by:crcsupport
ID: 39264736
It makes sense. So, RIP is always classful, user doesn't have to care about how it collects routes as long as it's inside max hop counts.
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 39264738
Always is a strong word. :-)

It's classful when discussing the network statement in the configuration.

But with RIP version 2, the updates are not technically classful (if auto-summary is disabled).
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses

636 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