Time
23 hours 18 minutes
Difficulty
Beginner
CEU/CPE
14

Video Transcription

00:00
Hello and welcome back to I see anyone interconnecting Cisco Networking devices. Part one
00:05
This episode 515 layer three Switching and configuring the static routes.
00:10
Trend there, one over here. Structure for this course, no s video went over How to set up viewing and rounding with a router or otherwise notice. Row is around on a stick.
00:20
This was recovered how to route between the lines with a layer three switch and how to configure a static route on the routers.
00:28
Learning objectives were going to set up that layer three wrote switching. We're gonna figure static croaks, actually on the switch, and then we're gonna do it on the routers as well. So that way, Weekend
00:38
Ping from one of the network to the other end,
00:41
and we're gonna be setting that default or the gateway of last resort for the switch. Actually, for now
00:50
and quick, pre assessment here. What is another name for a layer three switch?
00:55
Give me a few seconds.
00:59
It is a multilayer switch. Yes, it can be sometimes more expensive, but depending what kind of switch you get. I know the between diverse between my 29 sixties and my 35 sixties was
01:11
negligible difference. Really?
01:14
Um,
01:15
anyway, so moving to a lab diagram here, the only thing that has changed if you look off to the right is I have gone ahead and put the
01:23
I've changed the trunk port from Router Three to switch three.
01:29
I've put in a layer three switch and you switch three
01:34
and then put a sub nets
01:37
the small slash 30.
01:38
And between the router and switch. And I've assigned the I P address into F A 00
01:44
done 10 1 Ford at nine.
01:49
And then we're gonna configure the V Lane, one interface being a native avian lan for switch three
01:55
and
01:56
and then we will go into the house, actually enable the interview land routing for the switch.
02:05
All right, So what the Swiss story is we have laid to switching and layer three routing. How we do this is with switched virtual interface is this is the villain interfaces that will type into the global configuration mode.
02:17
Eso remember the layer to afford the frames in the same via Lana. But later three will for the packets between the different V. Lance
02:28
s O. If you have an older switch. Do the SDM prefer land based dash routing and do a reload and then move into the next one, which is the I P Road in command?
02:38
Um, with my 35 60 I think I was 15 on there. I just go right into the I P routing one on. I'm gonna go ahead and bring it to party session here.
02:50
So do a show i p Interface briefs. You were right real quick.
02:55
All right. So I already had the a p Josep Review and one
03:00
So I'm gonna go ahead and set the I P. Address for Villain 30 and veal and 50.
03:06
So we're going to hear P v lan her interface. V Lana 30
03:12
i p. Address
03:15
10 13
03:17
That's 1 to 5 to slash 24.
03:23
Renee. No shirts.
03:25
And since the device is still have the same default Gateway said is 10 123.1. We don't have to touch him. You leave. Then we'll go into interface veal and 50
03:37
and we're going into this is the switch. The virtual interface. Remember?
03:42
I p address
03:43
10 15.1 slash 24
03:49
on a no shut
03:51
try that again.
03:53
You should and, you know, do a show like interface brief.
03:58
We should have all the proper I. P's. This is any slash 30. This is slashed 20 fours,
04:03
and I have the two devices on here on four and 12.
04:11
So cool thing about these is we still have the Mac address table.
04:15
I'm gonna do dynamic. We don't know what drunk.
04:19
So school. We still have that as RV land for each one.
04:23
Um,
04:24
but now, if we're going to configure terminal, we can do I pee
04:29
routing.
04:31
Easy. Is that
04:32
super easy to d'oh
04:34
we have Our Swiss virtual interface is enabled. We've enabled I p routing.
04:41
So now if we do a show I p route, even though we're on a switch
04:46
now we have routes we have are connected routes.
04:49
We have the view and 30
04:53
this one. And then this is our link between the router in the switch.
04:57
So was paying all three real quick was paying the router. 10. Don't wanna duck Ford at nine.
05:04
Success. I was doing a thing to 10 1
05:09
Serena 50
05:12
uh, success. All right. And find that 50.
05:18
This is the respirator pie and we're gonna go. We could paint all machines,
05:23
so I'm gonna go ahead and get on the surface right quick and shoot a ping to the raspberry pies. I'm gonna shoot what? Pink from feline 32 veal and 50.
05:33
All right, so we're successful. Weaken. We have ener villain routing now.
05:38
So the cool thing What this is now the packets, they stay right in the switch. They don't have that. They don't have to go up the link to the router at all. It's all done in the switch. There's there's less
05:49
wasted, I guess resource is because it just lets travelers less CPU usage on the router. It never asked to even touch these packets. So I'm gonna go ahead and minimize buddy
06:01
all rights. And we just did a demonstration.
06:05
I had to do the layers to switch. And now we have set up routing between villain 30 and delay and 50.
06:14
So we're gonna go ahead and set some static routes here. So
06:18
the way we have instead of no, we can do interview and routing. But if we have to send anything off the network from Ways Computers and doesn't switch doesn't know where to go.
06:28
So we're gonna set a gateway of last resort here,
06:32
remember, I P routes
06:34
and the way it's just for zero space for zeros. So I, p for
06:40
zeros suddenly asked four zeros.
06:43
And if it gives us this and we have quite a few and go through
06:47
the one we have the fording routers address, you can set it through the
06:55
Where's the rest of you? Go to the fest Eastern a channel.
06:59
There's a few different ones that we're just gonna go through the router i p address for now.
07:03
So 10 14 that's nine
07:09
and we. So here's where you can actually add in a district semester, because right now it's gonna be set is a static route.
07:15
There's going to be the start of defaults, the gateway of last resort. So it's going to set as 2 55
07:23
Ah, the DCP learned one will be 2 to 4.
07:27
The other static routes that we will sent through this command is gonna be set as a metric of one you'll see.
07:33
So let's go ahead and enter on this. Now. The
07:38
computer should be eloping that are out there. Everything that doesn't match the sub nets
07:45
with this broader or the switches. And no descendant is gonna send it right to the router
07:48
and say, Hey, you deal with this. I don't want you.
07:51
Anyway. I'm gonna go ahead and plug the con support into the router, and we'll set up the routing between the different networks for that.
08:01
All right, so we are on router three.
08:03
So what we need to do is we'll do a
08:07
show. Our show. I pr
08:13
everything. Okay?
08:16
Any way to get those? That is the
08:20
I. P. Address of the link of the vestiges of 00 and then the switch viewing one interface.
08:26
So what we have we should build to ping the other
08:28
rotors. So do a Ping 10 1/4 1
08:35
this is order Broder one.
08:37
And this is writer, too.
08:41
Ah,
08:43
no, it should be done. Five. Sorry.
08:46
Come on.
08:48
Uh,
08:52
that is actually the
08:54
broadcast address,
08:56
so this might take a minute. See, Control. See you doesn't do it.
09:01
Ah, we just sent a ping to the broadcast address on the
09:05
link
09:07
network between rather one and road or three.
09:11
So we're gonna wait for this to time out
09:15
All right.
09:18
Alright. Here we go. Sorry about that. Brings up a good point. Um,
09:26
and almost You are gonna be studying this at night after you work all day or you have to deal with kids all day or whatever. You D'oh. You're gonna be tired. You're definitely going to make mistakes.
09:37
I make mistakes all time. Obviously, you guys have seen it.
09:43
Um,
09:43
just don't worry about it. Just
09:46
laugh about it. Learn from it.
09:48
Uh, the only way to learn about making mistakes really hiding
09:52
hadn't learned all time cause I mess up all the time on stuff anyway, so we can paying router to.
10:01
So let's go ahead and configure our routes.
10:05
So, actually, let's go ahead and take a look at a round table. Real quick show I p
10:09
wrote.
10:11
So we have. Are these air All the interface
10:15
links between the routers attendant without one of four.
10:20
So I'm gonna set up the routes for the off switch three first.
10:24
So, Toby I p routes
10:28
and this is the destination. Certainly 10 13.0
10:35
and the, uh, mask
10:39
for the slash 24.
10:41
And again, we could do the fast internet, so we'll do that this time.
10:46
First Internet
10:48
zero slash zero.
10:52
So let's do the same thing for
10:56
you can do this, um,
11:00
for view and 50. So set that up. People out there.
11:03
I p route and we'll hit the
11:07
glued to a laptop network next to
11:13
and I'm gonna throw in the i p address of that next router here. 10 145
11:20
Be Route
11:24
10 11.0 to certify to defer to zero
11:31
jen one for that one
11:35
now for you and show I p wrote.
11:39
There we go. It's a much bigger table. So here's was talking about when I'm saying the static routes is going to be,
11:46
Here's your administrative distances. One and we'll be going over the administration administrative distance here and a little bit.
11:54
But know that first static routes it is one with a metric of zero,
12:01
and this is via
12:03
Ah, this is your outer ones. I p
12:07
and this would be writer twos. I p address.
12:09
And here it's saying these networks can be reached off of a 00
12:15
So I'm gonna go ahead. And if you want to go ahead and configure the same thing for all the routes for router one and router to. I'm gonna go ahead and just fast for the video.
12:28
Okay?
12:54
Okay.
12:56
Hey.
13:07
All right.
13:09
So hopefully you guys have figured it out. Um, and then I went through. I've gone ahead. And Ping, I am on router one right now.
13:16
I'm paying the
13:18
surface slapped up onto the lane 30
13:22
by paying the Raspberry pi 150. These are both off switch three in round three.
13:26
And then we went out a switch to and rotter to down to
13:31
the woods of that job.
13:33
So now we have We can ping from one. It's at one end. I can ping the
13:39
interfaces that connect to the the routers to I've gone and put those on So do to five.
13:48
Um,
13:50
and I realized typing always in It's like 15 commands. Um,
13:54
what we're gonna do is, and all of them go through the same interface. So really, we just kind of set up eight
14:01
last gateway last resort.
14:03
But I'm gonna show you how to set all this up and rip, and you're going to like while Why do we even waste our time and static routes? That sucks.
14:11
Uh, so if you would go ahead and set up a set of a gateway of last resort for this router. Uh,
14:20
it will not. So remember, we just do this
14:24
with a sudden zeros,
14:26
and we can either do the interface that is going out of f A zero there. I could, sir. It's cereal 000
14:35
Ah,
14:39
no, it wouldn't be interface something. God. Sorry, man. I'm tired.
14:45
You like that? Or you could put in the address of 10 1 that Ford to which would be Router three's interface that is connected to a router. One
14:56
would. This does remember. It basically looks to the routing table. Says, Okay, nothing matches. Let's check the gateway. Last resort. Okay,
15:05
send it there. Is there a problem? Let them deal with it.
15:09
All right.
15:09
So
15:11
we have gone ahead and set up.
15:16
Um,
15:16
our routes, we can hit every, uh,
15:20
device, everything
15:22
and we can
15:24
tell me. Said anything up? Uh, someone like Ugo if you really want to, we can set up a route to a specific hosts. Let's say that
15:33
for some reason you want to set up a route to a server somewhere, I'm gonna set one up for the A boon to lads up here So I could do to that 50
15:41
and then you just do a slash 32 7
15:45
That'll be 10 11?
15:48
Uh, no. Sort of four.
15:50
That too.
15:52
So we show you what that looks like? Your show. I p. Roach.
15:58
Did you do? So what it does is it goes through here. It says, Okay, I need to get to
16:04
10. 12 50. Okay, I get around for the 10. Network were slashed. 28
16:10
and 10. 12 Okay, We're gonna slash 24. That's better.
16:14
And 10 1 slash 32. Big moving. We've hit the most specific route that we can take. We're gonna go ahead and take that one.
16:21
Um, So
16:22
you can use this for load balancing if you want, because you know, if you know that there's a bunch of traffic gonna be going over
16:30
to a server, you can send it off off a specific link that we're not flooding the network on one link, you know,
16:37
um, so you used your advantage when you're designing networks would know that the
16:41
it's gonna use that most specific route that you set
16:45
I'm gonna go ahead and minimize the party session. We'll move on,
16:49
writes a static routes.
16:52
Um,
16:52
really? I said it uses that administrative distance to determine that best route
16:56
and so aesthetic grounds have the aid administer distance of one.
17:00
Oh, SPF Theo Open shores path first is 1 10 e i g R p.
17:07
Which used to be Cisco's proprietary protocol in 2013. They actually started opening it up so people could use it.
17:15
That, of course, is 90 because Cisco thinks their stuff is better, so they choose 90 over 1 10 Rip is going to be 1 20 which is what we're gonna be learning here. And I seen the one you'll learn about O S P f e i g r p, and I see two
17:30
so flowing static route. What it does is it moves in and out of the routing table, depending on if it needs it or of a better route exists. So what you can do is you can actually add a metric on the end of that I p route command. So I will just bring that up here just to show you
17:47
I was going to terminal. I'm just going to set a a, uh, metric for
17:53
another. Almost set it up for grabs. Reply here. So 10 1 52 50
17:59
Do a search of the 33rd 2 for five. You want to go through 10 142
18:06
And if we question mark again,
18:07
here's where we can set a metric for it. We can go up to 55. We looked at a little bit earlier
18:14
S O If you want to, you can set it where you can set that folding up that says like,
18:18
um, you know, we don't want want to send traffic over this link. Let's say you have a one gig up link and you have a,
18:25
um,
18:26
one mag link
18:27
that,
18:29
uh,
18:30
that's used just like a You know, the gig link is down. We have to be able to have some kind of Internet.
18:36
You can have that sitting in there and we'll say that giggling is down. I can send you start sending traffic, or that's gonna slow, but it works. You can set up for that kind of thing.
18:45
And they went over the default route already. We talked a bit about that. We talked about how it's just going to use that as a last resort, just like it's in his name.
18:56
So quick. Recap on what we did today. We set up the Layer three interview and routing so delighted 30 of you, like 50 could reach each other without having to go up to the router. We configured static routes in between all the different sub nets.
19:10
And then he said, that Gateway last resort, we actually did that on the switch. You can do that. If it's a layer three switch. You can do that on all your rotors
19:18
because I'm on a closed network. I don't want to do it. What? Let's say you have one of those connected to your Internet.
19:25
That would be what you want to sit if you have all your internal land networks, and then you finally get that last router and it just basically says, Okay, send everything out this link that would reach the Internet.
19:36
We're going to the post assessment here. What is the administrative distance for a static route by default without you messing with it?
19:47
All right, it is one. Remember nineties E I g R p one tennis. Oh, SPF and zero would be a connected route.
19:56
And with that we'll jump into the next lesson. We're actually going to be configuring Rippy to on these routers, so go ahead and reload. Um, um set a base, configure out and put the I P addresses. That should be on their on. Um, you can leave the switch threes later. Three.
20:11
I just don't have them set with any static routes and, well, actually use rip to learn the routes.
20:18
And as always, if you guys have questions need l feel free to shoot your message. I always think of washing this longer video and appreciate your time.

Up Next

CCNA ICND1

This course will enable students to understand virtualization and cloud services, and network programmability related to LAN, access and core segments.

Instructed By

Instructor Profile Image
Trenton Darrow
Network Engineer at NCI Information Systems, Inc
Instructor