So now we're going to do a route information protocol lab
and I'm going to run rip betweens router to a one rather one. And rather, too. We're going to exclude Router Three and rather four from this lab.
So let's go to rather chew one.
I've already erased the static routes that we had on these routers. If you check there, there are no es is rather to one is on Lee aware off is directly connected network.
The reason I did that is because static routes have an administrative distance off one.
And as you will see shortly, route information protocol has an administrative distance of 1 20
So if our static routes were in place
for the router to make affording decision, if two routes to the same destination are present in the routing table or on the router, the router will install the one with the lower administrative distance in the routing table. So first addicts were still present. Route information protocol
with an administrative distance of 1 20 which is higher than one
So to start the routing process on the router, you say router and then you pick your routing protocol I executed the help feature and we're right for now we're gonna pick rip
so router R I p for out information protocol,
routing information for a call.
Then I'm going to do what is called a network statement.
Now the network statement defines a list
or defines a range of addresses.
If an I p within that range is present on the router,
the interface on which that I p iss sitting is included in the routing protocol.
So sometimes you will hear people say that the network statement
enables the router to send routing updates. No, that is a secondary function.
Yes, the router Wilson routing updates or start sending routing updates. But the purpose? The primary purpose of the network statement is
that it defines a range of addresses.
And if an address is present within that range on the router,
that then that interferes on which that addresses present is included in that routing protocol.
and the only network president on router to one is the 200 network
then I'm defining arrange. This is a classy address. 200
and the ranges between 0.1 and dot to 54. So the first valid address is 202 102 101
and the last valid address is 202 102 $100 to 54.
Now, do I have an address within that range present on the router?
Yep, I do. So if I say I do sure, I p
I p address 202 102 102 which is within the range between 1020.1 and out to 54 is present
Hence, serial 010 is included in the routing protocol. Rip
Now, as a secondary function serial 010 will start sending routing updates.
That is the only network that is present on router to a one.
and I move on to router one. Now Router one has to interface is the serial link
the fast lieutenant link. The serial link is the 200 or 200 or 200 as you know, network and the fast Internet is the 1 51 a 1 45.0 network.
So let's enable the routing protocol
And then we will include the serial interface in our
by saying that we're 202 102 $100.0.
And since if I look at show do show, I'd be interfaced brief
Since network 200 exists
on serial 0000000 is included in ripped.
Next, I'm going to do network 1 50.101 Whoops
Network 1 50 That 101
type in network where I could shorten it to net.
It's all the same. 1 50.101
that rip is a class full routing protocol.
falls within the Class B range
1 50 falls within the Class B range,
has this last 16 mask or 255.255 dot 0.0
Only. The 1st 2 octaves are part of the network. In the last two occupants are reserved as host bets.
So what? I should type
since default Class B mask is slashed. 16. What I shoot type is 1 50.101 dot 0.0.
This is the correct way of doing it. What happens if I type 1 50? That one? 01 About 45.0. The router accepts it.
But if I look at my shore
and I look at rip, I scroll down to rip.
Look, the router fixed the command for me.
It took away that 45 just put zero in its place. Now, do not try that on the test. Please. You could have points taken away. I'm just showing you that if you make a mistake, the router fixes it for you. However, you should know that you have to type 1 50 that 101.0 dot zero.
Since it is a class full network statement since reversion one is class full
and sub net mask information is not sent in routing updates.
So we're done with the router one and I will save my work.
Let's go to router to
I'm going to include sure I p interface brief. I'm going to include
fast Lieutenant 00 in the rip process. Fascinating. As you know,
in my rip process and fastest in a zero slash one, about 20 in my rip process.
So I go to Configure Terminal.
And then I turned on the rip routing process
by doing the command router ripped.
And then I do a network statement for the 1 50 network to include the fastest in at 00 interface and rip.
And then I do a network statement for the 10 Network. Now 10 and 20 are Class A and Class A. The default mask iss slash eight or 255000 So I'm only gonna type and
Tenn 0.0 dot 0.0 and then for the network 2020.0 dot zero. If I type in 2020 20 0 the writer will fix it for me. But
I want to do it correctly on my own.
and let's go to Router to a one to see if this actually worked
on router to a one. If I say show I p route,
you guys see these ours on the left hand side that stands for Rip.
I could clean this out, put out by a little bit by saying, Sure, I peer out, rip or typing. Sure, I peer out rib,
and then I only see rip specific routes. It filters out the connected route that we saw previously.
it says that network tender, tender 10 slash eight
is available. Why are 202 102 101 which is rather one serial 00 zero's
interface address. So Router one is the router that is sending us updates about Network 10
router to is sending updates throughout her one, and rather one is sending updates, too.
Now this 1 20 The first number, as I said previously, is always the administrative distance, and the default administrative distance for rip
The second number is the metric
so Network 10 and Network 20 are two hops away from router to a one,
and network 1 50 is one. Hop away. Is that true? Yes, it is. If you're sitting on router to a one network 10 and 20 year down here. So network 10 and 21 router hub
to outer hops away and network 1 50 Is this guy over hair
between router 123 and four network 1 50 is one router. Ho it One router. Hop away the hot being rather one.
A few more commands to look at.
I see that I'm running Rip
and I'm sending updates every 30 seconds. Next one, due in nine seconds.
The route Invalid timers. 180 seconds. The whole downtime is 180 seconds. And the
route flush timer. Cisco sometimes also calls this the garbage collection timer. I don't know why they like to use fancy language, but the flush timer is 240 seconds. The timer after which
the route is flushed. If no updates are received
from the routing table,
serial 010 is part of the rip process
and a descending version one. So we are running ripped version one. It can receive version two and one. But since we're sending version one, we're running version one
now this counter in the bottom Last update was nine seconds ago.
you never want to see this counter increments past 30?
Because the update timer is 30 seconds. So if you get an exam question Where this update timer
has is all the way up to, let's say,
You check the flush time because it might not be default on the test, you do the command, so I p protocols. So in this case, the flush time is to 40 which is a default. But on the test, they might have changed it to something else. So in this case, if this update, the last update received was 220 seconds ago
and it gets flushed after 2 40 the answer One of the answers would be This route is going to be flushed from the routing table after 20 seconds
because to 20 plus 20 is to 40
one more command to show you.
The command is not part of packet tracer, but I will just
type it out for you. You guys see that the maximum paths is four.
Well, this means if four pats available between
your source and destination or between your router and some destination network
ripped version one can load balance across those links
so ripped version one will send equal amounts of traffic.
for up to four pats. So if tree a present ill used three
if five a president can't use all five, it will use four of those.
And when I say equal cost pats, I mean Pat's with equal metric or pats with equal hop count.
available on a real Cisco router
is maximum pats and then the number of Pat's. I believe you can increase that up to 16. But then again, that is platform dependent. It depends on how much money you spent on that router.
Next command we're gonna see
is a debug command, and we're gonna go to Router One to see it.
So I'm going to say debug,
I'm gonna wait a little bit.
I need some debugging to pop up on screen, and it did. And what I want to show you is rather, one is sending. We won. Oh, version one update
to the destination address 255255255255 So ripped Version one sends its updates to the all host broadcast addressed,
and it is sending updates, too,
to its serial 000 interface which with the i p address 202 102 101 towards router to a one. And these are the networks and the metrics that it's ending
the network 10 with the metric of to Network 20 with a network of two metric of two and network 1 50 with the metric off one
that concludes ripped version one.
Now we're gonna should switch over to rip version, too.
So how do I switch over to version two?
I go under the routing protocol or the router prompt router rip
and you see it stays configure outer. That means this is the router prompt was commonly known as the router prompt.
So I enable rip. And then I simply say version
So let me go ahead and do that on Router One
So I'm going Thio go to outer rip
and then version, too.
The school get router to done.
I'm going to say router rip
and then version Chu.
At this moment I am done configuring ripped version, too.
let's go look at our routing table again on router to a one
now reversion to is a class less routing protocol,
which means sub net mask information is sent in the routing updates. Which means I should not be seeing this default slash it mass for the 10 network.
I should be seeing a slash 24 mask because that's what exists on router to and to prove it, I'll go to Router to
and show you the running config. Do show, run or running
have a slash 24 mask 10 and the 20 networks have a slash 24 mask, which is
2552552550 not a slash aid mask, which is 255000
Well, the reason being,
sub net mask information is being sent in the routing updates
Ripped version to auto summarizes
network addresses to the class full boundary. So even though this should say $10.10 dollars 10 not zeros last 24 by default, Rip creates a summary summary mean meaning a bigger network that encompasses the smaller slashed 24 network.
This slash eight network encompasses more addresses because they are
a slash 24 only has eight host bits. So a splashy eight network is a bigger network with a bigger host range than this last 24 network
ripped version to auto summarizes to the class full boundary. By default,
however, we can turn off this behavior.
So let's turn it off.
and let's go get that down on Router one and router to know Auto summary on Router
actually, and then no auto summary.
Go back into the routing process and say, You know
no Otto Summary on router to
And now let's go check our routing table on router to a one
do show. I'd be route rip,
huh? Now what do we see?
as you see the network slash eight still in your outing table,
But the 2020 20 slash
2020 $20.0 slash 24 network is also there, and the 10 10 $10.0 slash 24 network is there.
Same for the 1 50 network. The 1 51 010 zero's last 16 network is there like it was previously right here before the new auto summary command was executed. But now the correct address is also here, which is the UN summarized address. The 1 51 a 1 45.0
I will show you why this happens in about a minute
now. I waited a total I waited a total of 180 seconds because now router to a one is getting updates for the 1 51 01 45.0 slash 29 network,
not for the 1 51 on one
0.0 slash 16 network. So after 180 seconds or three minutes passed by now in the routing table, it says this network is possibly down.
OK, the 10 and the 20 networks are, for some reason still getting updates. But this this should also soon say that these networks are possibly down.
The 20 network now say is this network is possibly down,
and the 10 network says this network is possibly down because updates for the $10.0 dollars you know
0.0 slash eight network have stopped and updates for the $10.10 dollars $10 0 networks are coming through. So after 180 seconds, which is the route invalid timer. As I said before that this network, the previous ones, the slash eight,
the slash eight and this last 16 networks say it's possibly down.
After 240 seconds, these routes will get flushed from the routing table.
So we're close closing in on that time,
I have executed the du de Bug I P route routing command. So when these commit, when these routes gets flushed from the routing table, I should see something on screen. So I turned the camera off and I waited the length of the route flush timer. Otherwise we would have been sitting here in silence
and look what happened.
Route the Route 1 51 01
0.0 This last 16 route got deleted from the routing table,
so it says delete 1 51 0100 And the rip metric that had received to delete the route is a metric off 16. So router one and it there Go Network 20 and Network 10 also getting deleted from the routing table with a hot count of 16
So why did this happen?
Well, because router one
router to a one a poison drought with an infinite hop count and said, Delete these routes from your outing table
turnoff, debugging and look at our routing table again.
And the slash eight and slashed 16 networks are gone. Now we see the correct mask for the networks, the 24 the 29.
So all is good. This is still the administrative distance. This number is still the hop count. So the first number is always the administrative distance. The second number is always the metric. In this case, the administrative distance is
1 20 the hop count is true.
Now let's go to router one
I'm gonna wait on some update to go through.
This was received in from
Router to I'm waiting for rather one to send up an update.
Okay, so you should see that rip version to sends its updates to the monkey cast address to 24 009 not to 55255255255 So a reversion to updates are sent 2 to 24 009
Now, what happens if I shut down my fast Internet link
zero slash zero link. What happens if I shut that down? Well, let's see.
Okay? Nothing happened.
Do you face all No shots,
You both. I'd be ripped.
Give me a second here.
what I'm going to do now
is demonstrate route poisoning.
I'm gonna go to outer to one and Sadie, bug eyed, be ripped
and debug I p rip events. And then I'm going to go
check my routing table.
Make sure that 10 of the 20 networks are here
And I'm going to shut down the fast Internet link on router one. So I'm going to shut down this link router. One should send router to a one, a poisoned update about the 10 and 20 networks.
So let's see if that works.
I say shut down on Route A one
and on router to a one. You immediately see the network 10 and 20 were advertised to route or to a one and even the 1 50 network with a hop count of 16 which is a poisoned route since 16 is an infinite hop count in rip for rip.
And with that note, this concludes the rip portion of the lab. We're gonna go ahead and remove ripped from each one of these routers by executing the command. No router rip.
Next topic is E I G R P.