So now, guys, we're going to do any age RP lab and I am going to involve all the routers in it. So route or to a one hour one route or 23 and four.
log into router to know one
still to my configure
global configuration mode.
And once again, the first order of business is to enable the routing protocol on the router. So I'm going to see a router, e g r p and hit enter. And now it says in complete command.
So I up arrow key and see, what am I missing?
Now you had your pee is asking me for an autonomous system i d or an autonomous system number which can range between one and 65 5 35 which would tell me that it is a 16 bit number.
Let's pick 100 now with autonomous system I d. S. These need to be consistent throughout your network. They are globally significant,
which means if one router is running e a g r P autonomous System 100 another one is running 200. Those two writers are not going to talk to each other
now. I will do just like what the rep I will do My network command
now e g R P is classless. It does send sub net mask information in its routing updates.
my network statement will also be classless. So it will be a slight change from
what we had previously
So I say, a network.
And since the Network 200 is attached to a router to one that being the only network on router two or one, I will say
Network 202 102 100.0.
Now I have the option
of pressing Enter here, but e I g R P also
lets you make a class less network statement by adding what I call wildcard bits.
Now the current mask
the only network attached to router to a one interface serial 010 is a 2 52 mask to 55255255252 Since that link between router to one and router one is a point to point link, let's make sure do show, run
the I. P. Address has a mask of 255255255252
gonna make my phone too little bigger for you guys,
that should be good enough
If I take 255255255255
And then I substrate act
my mask from it to $55.255. True, 55.252
three. That's how you figured out your wild card bits. So
in a wild card and on bit
is I do not care a bit
So all the bits in the wild card in the first octet are turned off, which means I need this address to match Exactly.
The second octet also turned off the third octave also turned off
in the 3rd 4th octet.
I have the bit value too, and one turned on
to yield the number three.
The rest of the bits are turned off,
which means I have a range of three
So when I do my network statement
202 $100 0 and the wild card zero. Which means if this wild card is zero, which means all the bits are turned
my 1st 200 must match exactly
for the second octet. Also zero. It means my second octet must match, exactly seem with 1/3 octet. And then the 00.3 means I have a range of three. So basically, I'm telling the router if there is an I P address on this router in the range between
and 202 102 $100 3 Whatever interface that I p exists on
include that in E I g r P. So I hit. Enter. And as you see, I have an I. P. Address 202 102 102 sitting on interfaced serial 010 So at this point, serial zero on zero has been included
in the therapy routing process. We are done with Router two or one.
Let's save our work.
and let's see what networks we have on router one. Just to refresh your memory.
So we have the 1 51 01 45.1 Connected to the land between the router. 123 and four.
I p address. 202 102 100 doc. One
on the serial interface. So we have the network 202 102 100 0
and network 1 51 1 45.0 with a slash 29 mask or 255255255 to 48.
So let's go ahead and configure e i g r p
to router. Yeah. G R p 100. Remember, this numbers number has to match,
and then I'm going to say
What is my wild card gonna be?
Well, if I subtract 255255255.2 48
from all to five fives, I get zero. Not zero. Not zero, not
Another easy way of doing it is I know that forest last 29 mask the value of the last bit turned on is eight. It's always that number minus one
which yields a seven.
Now let's do the other end. The serial link Network 202 103 100.0
andi 0.0 dot 0.3 cause that has a 2 50 to mask
right here, just like on router to a one.
And I see that some logging message happened and
my neighbor ship or my adjacency, it is up at this point, Router one has made neighbors
with router to a one and exchanged it's topology table with rod or two or one.
So if I check, do show I p e a g r p
neighbor 202 102 102
connected to my cereal 000 interface. This H column basically denotes the order in which the neighbors are learned.
So this is neighbor number zero.
The whole time you see is 12 seconds. And if you remember,
is the amount of seconds that I'm going to wait to receive another hello from my neighbor before considering it down.
This neighbor has been up for a minute and 50 seconds.
Don't worry about the rest of this fields
the short round trip timer, the retransmission timeout, the Q count and sequence number. All this you will learn when you're preparing for your CC. AII right, now, don't worry about them.
Now we're done with the outer one. So let's go finish up Router
34 And rather, too. I'm gonna begin with the router to, and I'm going to do this a little bit differently.
So go into my CONFIG mode.
Enable B i g r p by saying router E J R P 100. You know it's been enabled when you see the router prompt,
and I'm going to do my first network statement for the 1 50 network
this one's I'm not picking the network address. I'm picking the actual I P that exists on fascinating at 00 of route or two.
So when you picked the actual I P,
you can use a wild card off all zeros, meaning all fields must exactly match
So basically, this this network statement is what it's
basically what this network statement is saying is if this exact i p exists on the router, whatever interfaces exists on,
put it in the a g r p and this this I p address. If you look do show running config
exists on fast Internet 00 so fascinating and 00 is now part of the I G R P.
Now let's do the links on the other side. Facets in at 01
these links the fastest in a 1.10 and 1.20 which has the 10 network and the 20 network. Lets include those in the a g r P Also
so a network 10 dot Tenn dot Tenn dot to 54 0000 I'm choosing to use the exact I P that were $2020.20 dollars
You're supposed to know how to do it both ways for the exam. So remember how to get your wild card if you use your network address and remember that the wild card is all zeros. If you used exact I P address on the interface,
I'm going to save my work,
I'm going to finish up Router three, which should be simple, since rather three
only has the 1 50 network, as you see here on fast eating a 00
So router e I g r p 100
network 1 51 a 1 45 30.0 dot 0.0
And you see, my neighbors are coming up. I will check my neighbor table once I'm done with router for also
so long into router four
go into config mood by saying configure terminal
enable e a g r p with the router e a g r p 100 command. And once again, remember that this 100 has to stay consistent throughout my network
and four out of four,
I'm going to use the network address instead of the i p on the interface.
So the I pee on the interface is 1 51 01 45 docked for I'm going to use the network address of 1 51 01 45.0 And then while my wild card must be 0007
and I got seven by subtracting 255255255.2 48 from 255255255255
And I see some logging messages saying that my agency is up.
All my neighbor ship is up.
Let's go to Roger One, and we're going to check to see if I have all my neighbors. This rather one happens to be the device that is connected on the land side on the fast Internet site to Router 23 and four and also connected to a router to a one. So from now on, no one I can just execute one command
and I should have won
23 and four neighbors.
So let's go ahead and see that
and I have four neighbors.
router to a one was learned first router to was learned. Second router. Three was there in third.
I mean, router to was Yeah, Router three was learned third and router forwards learned forth. So 0123 The edge column basically represents the order in which the neighbors were learned.
So, uh, router to one is a neighbor on serial 000 and router 23 and four are neighbors on fast. Lieutenant 00
Now, let's go ahead and check our routing table
shoe. I'd be route. I can say show I'd be route
to check the routing table. But you see this connected route
in here If you check the whole routing table or I can clean up my output and say Sure, I'd be route E I g R p 100.
Oh, sure, I'd be route E g r P.
So let me scroll and clean this up.
So the d you see on the left hand side represents e i g r p.
Why did they pick the letter D for E i g r p? Simply because e i g r p runs the defusing update algorithm. So D stands for duel or the defusing update algorithm.
you're 10 network, your 20 network coming from router to these two networks. They're connected to a router to
I can log into router to quickly insure you shou id be interface brief and you see the 10 and the 20 networks are available on router to faceted as you know, slash 1.10 and 20.
And the 1 50 network is this land between rather 123 and four.
So you see the 1 50 network on router or to a one, and you see
the tool one network.
Well, a pain to my host all the way sitting down here. PC one work.
Let me make sure PC one still has an I. P.
Yes, it does. And I p's 10 10 10 1
So on router to a one ping Tenn dot Tenn dot Tenn 10.0.0.1
The first attempt failed for the odd request and reply,
and now I will have 100% success. Will a trace route to 10 dot sanda Tenn 10.0.1 work,
of course. At war, you see you go through rather one. Then you go to Ratter to and then you reach
Now let's look at our apology table.
or let me take the whole thing out.
when you see a pee in the topology table on the left hand side. This stands for passive
passive. A route in the topology table that is passive is a good thing. It means this route is stable
and I don't I have connective ity to these networks.
If a route fails at some point, an E e g r p stars the defusing update algorithm process looking for an alternate route. Then this route will go active. Active actually means I've lost contact and I'm trying to regain contact.
Active is actually a bad thing.
You see my 200 network, which is directly connected
the route to the 200 network. You see they're out to the 1 50 Network, the 10 Network and the 20 Network.
Let's concentrate on the 20 Network.
The route to the 20 Network has a feasible distance. The F D is two or 517120
This should be the number that I see in my routing table. So if I say sure, I p route
for the 20 Network, you see
the 19. The first number in brackets is 90. Remember, I said, the first number is always the administrative distance, so This is the administrative distance
for E. I. G R P or the default administrative distance for E I. G R P.
I have my feasible distance or my metric, which is two or 517120 same number as this guy. Once again, my metric hair is two or 5171 to 0 and I metric is the feasible distance and this number two feasible distance is the same.
So I only had one best route to the 20 networks with that round got plucked out off
the topology table and installed in the I P routing table.
Now you also see this number two or 517120 at the bottom.
Now, this first number in brackets at the bottom
is my feasible distance because it matches this number.
The second number is my report and distance.
This is the distance that router one is reporting to me, which means this is the distance
router one should have as it's feasible distance or router ones. Distance to the 20 network.
So let's go check on Router one.
and say show I B e I G R P
router ones. Feasible distance is three or 7 to 0
three or 7 to 0 if I scroll up. No,
at the advertised distance on router to a one
or reported distance on router to one. It is 307 to 0 that is router ones. Feasible distance, as reported to me. Or, if you check on router one that is rather ones feasible distance.
So this first number is your physical distance in the topology table, and the second number is your reported distance. So this distance to 28160 is the distance router to is reporting to me. So this should be Router two's feasible distance.
We go into router to and say, Show I be route.
Well, no show I P E A G R P topology
and you see that 28160 is
the feasible distance for the 20 network or outer two's feasible distance, which showed up as a reported distance on router one.
Now, how did E g r p calculate this?
Well, let's work through this now for your ccn exam. You're not expected to work through this in this much detail. I'm just trying to take some of the magic away for you guys, so
I have my calculator ready.
I need a note pad also,
and I have my note pad on the go
router. We're going to calculate our metric for the network 20 and see if we come up with the same number as router to wondered for the 20 network router to one came within them came up with a number two or 517120
So let's see if we can come up with the same number.
First, I need to look up the bandwidth and delays off all the outgoing interfaces between router to a one and router to.
So let's go to Outer to a one outgoing interface in this case is Cereal 010
So let's look at serial 010
show Interface cereal
zero slash one slash zero.
My band with is 128 kilobits, and my delay is 20,000 milli seconds. So let's write that down
router to a one band with
Then I'm gonna go to Roger. One outgoing interface for traffic flowing in this direction to Network 20
So let's go look at fast Lieutenant 00 Roger. One with the show interface is fascinating and zero slash zero command and my band with is ah, 100,000 killer bits per second and delay is 100.
So I'll put that in note pad for outer one
band with e equals 100
And I'm pretty sure it's going to be the same for the outgoing into face hair where Network 20
So Network 20 Show I p interface breathe
is sitting on fast it in at zero slash one got 20.
So we're gonna look at that show
fast Lieutenant zero slash 1.20
and you see that my band with his 100,000 and Delays 100 again.
So let's write that down.
My router two's band with
equals 100,000 and DeLay
Now for your A g r B
ban. With calculation
in the formula, you have only consider the lowest bandwidth between source and destination, which is 1 28 K.
This is because you're only as fast as your weakest link. Water flowing through pipes will only flow as fast as the thinness pipe,
And if you remember right in the formula, bandwidth is actually tend to the power
to the parlor. Seven. Divided by bandwith or divided by 1 28 equals, Let's find out. Take a calculator.
10 to the power seven is one with 1234567 zeros, divided by 1 28
equals 78125 This is
Delay is the sum of all delays
in units of tens of microseconds. So some off 20
20,202 converted two units of tens of microseconds. You divide by 10
my formula is ban with which is
my formula is bandwidth, which is 78125
2 56 So let's do this calculation on our calculator because I can't do this in my head.
plus 2 +020 equals +0145 multiplied by 2 56
So my number I'm getting
17120 I believe that's what it was. Let's make sure to a five to a 517117120 Yep.
Now let's see if this is the number
router tool one calculated
or this is the feasible distance or the metric router to one calculated to get to
And sure enough, it's two of five.
That's the number we came up with two or 517120
You don't need to learn how to do these calculations till you are preparing, or if in the future you prepare for your C C I E.
Which comes after your CCMP. But I just wanted to show you any ways to take any magic away.
So it's It's pretty straightforward if you just plug in the numbers and push it into the formula. Now
you see that I am getting class full networks from my in my e g R P routing table. I have the 10.0 dot zero slash eight network, the $20.0.0 slash eight network and the 1 51 110.0 slash 60 network
slash eight for Class A and slash 16 for Class B.
Shouldn't I be seeing 1 51 1 45.0 slash 29 for the 1 50 network
and slash 24 for the 10 and 20 network since E I G R P is class full?
I mean, since E I g r P is class less
well, just like ripped version, too, which is class less,
and e i g R P is also class less.
Yeah, J. R. P also auto summarizes at the class full boundary like ripped version, too.
we can turn that feature off, however, by going into E. I G R P
and executing the new Otto Summary command just like we did for rip version shoot,
let's go over and do this on all my routers.
So a round or 21 is done.
Now I do. Router one.
Go into the edge of the routing process and saying no auto summary.
And as you see the Aguilar people resync the neighbors know Otto Summary Also on Router three. The neighbors will go down and come back up.
Ah, Router four also say no auto summary.
And the last router a round or two. I will also say,
configure terminal throughout a year G r p 100 then no auto summary.
Now, if I go look at my routing table on router to a one,
I will see Do show I be Route B I g r p.
that now I'm seeing the class less networks. So I see the 1 51 1 $45.0 network with this last 29 mask. I see the 2020 20 0 network with the slash 24 mask and the $10.10 dollars, $10.0 or with the slash 24 mask.
Now we're gonna move on to e I g r p manual summarize ation