Hello and welcome back to I see anyone interconnecting Cisco Networking devices. Part one
This episode 515 layer three Switching and configuring the static routes.
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.
This was recovered how to route between the lines with a layer three switch and how to configure a static route on the routers.
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
Ping from one of the network to the other end,
and we're gonna be setting that default or the gateway of last resort for the switch. Actually, for now
and quick, pre assessment here. What is another name for a layer three switch?
Give me a few seconds.
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
negligible difference. Really?
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
I've changed the trunk port from Router Three to switch three.
I've put in a layer three switch and you switch three
and then put a sub nets
And between the router and switch. And I've assigned the I P address into F A 00
done 10 1 Ford at nine.
And then we're gonna configure the V Lane, one interface being a native avian lan for switch three
and then we will go into the house, actually enable the interview land routing for the switch.
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.
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
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?
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.
So do a show i p Interface briefs. You were right real quick.
All right. So I already had the a p Josep Review and one
So I'm gonna go ahead and set the I P. Address for Villain 30 and veal and 50.
So we're going to hear P v lan her interface. V Lana 30
That's 1 to 5 to slash 24.
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
and we're going into this is the switch. The virtual interface. Remember?
You should and, you know, do a show like interface brief.
We should have all the proper I. P's. This is any slash 30. This is slashed 20 fours,
and I have the two devices on here on four and 12.
So cool thing about these is we still have the Mac address table.
I'm gonna do dynamic. We don't know what drunk.
So school. We still have that as RV land for each one.
but now, if we're going to configure terminal, we can do I pee
we have Our Swiss virtual interface is enabled. We've enabled I p routing.
So now if we do a show I p route, even though we're on a switch
now we have routes we have are connected routes.
We have the view and 30
this one. And then this is our link between the router in the switch.
So was paying all three real quick was paying the router. 10. Don't wanna duck Ford at nine.
Success. I was doing a thing to 10 1
uh, success. All right. And find that 50.
This is the respirator pie and we're gonna go. We could paint all machines,
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.
All right, so we're successful. Weaken. We have ener villain routing now.
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
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
all rights. And we just did a demonstration.
I had to do the layers to switch. And now we have set up routing between villain 30 and delay and 50.
So we're gonna go ahead and set some static routes here. So
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.
So we're gonna set a gateway of last resort here,
remember, I P routes
and the way it's just for zero space for zeros. So I, p for
zeros suddenly asked four zeros.
And if it gives us this and we have quite a few and go through
the one we have the fording routers address, you can set it through the
Where's the rest of you? Go to the fest Eastern a channel.
There's a few different ones that we're just gonna go through the router i p address for now.
So 10 14 that's nine
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.
There's going to be the start of defaults, the gateway of last resort. So it's going to set as 2 55
Ah, the DCP learned one will be 2 to 4.
The other static routes that we will sent through this command is gonna be set as a metric of one you'll see.
So let's go ahead and enter on this. Now. The
computer should be eloping that are out there. Everything that doesn't match the sub nets
with this broader or the switches. And no descendant is gonna send it right to the router
and say, Hey, you deal with this. I don't want you.
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.
All right, so we are on router three.
So what we need to do is we'll do a
show. Our show. I pr
Any way to get those? That is the
I. P. Address of the link of the vestiges of 00 and then the switch viewing one interface.
So what we have we should build to ping the other
rotors. So do a Ping 10 1/4 1
this is order Broder one.
And this is writer, too.
no, it should be done. Five. Sorry.
that is actually the
so this might take a minute. See, Control. See you doesn't do it.
Ah, we just sent a ping to the broadcast address on the
network between rather one and road or three.
So we're gonna wait for this to time out
Alright. Here we go. Sorry about that. Brings up a good point. Um,
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.
I make mistakes all time. Obviously, you guys have seen it.
just don't worry about it. Just
laugh about it. Learn from it.
Uh, the only way to learn about making mistakes really hiding
hadn't learned all time cause I mess up all the time on stuff anyway, so we can paying router to.
So let's go ahead and configure our routes.
So, actually, let's go ahead and take a look at a round table. Real quick show I p
So we have. Are these air All the interface
links between the routers attendant without one of four.
So I'm gonna set up the routes for the off switch three first.
and this is the destination. Certainly 10 13.0
And again, we could do the fast internet, so we'll do that this time.
So let's do the same thing for
you can do this, um,
for view and 50. So set that up. People out there.
I p route and we'll hit the
glued to a laptop network next to
and I'm gonna throw in the i p address of that next router here. 10 145
10 11.0 to certify to defer to zero
jen one for that one
now for you and show I p wrote.
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,
Here's your administrative distances. One and we'll be going over the administration administrative distance here and a little bit.
But know that first static routes it is one with a metric of zero,
Ah, this is your outer ones. I p
and this would be writer twos. I p address.
And here it's saying these networks can be reached off of a 00
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.
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.
surface slapped up onto the lane 30
by paying the Raspberry pi 150. These are both off switch three in round three.
And then we went out a switch to and rotter to down to
the woods of that job.
So now we have We can ping from one. It's at one end. I can ping the
interfaces that connect to the the routers to I've gone and put those on So do to five.
and I realized typing always in It's like 15 commands. Um,
what we're gonna do is, and all of them go through the same interface. So really, we just kind of set up eight
last gateway last resort.
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.
Uh, so if you would go ahead and set up a set of a gateway of last resort for this router. Uh,
it will not. So remember, we just do this
with a sudden zeros,
and we can either do the interface that is going out of f A zero there. I could, sir. It's cereal 000
no, it wouldn't be interface something. God. Sorry, man. I'm tired.
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
would. This does remember. It basically looks to the routing table. Says, Okay, nothing matches. Let's check the gateway. Last resort. Okay,
send it there. Is there a problem? Let them deal with it.
we have gone ahead and set up.
our routes, we can hit every, uh,
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
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
and then you just do a slash 32 7
Uh, no. Sort of four.
So we show you what that looks like? Your show. I p. Roach.
Did you do? So what it does is it goes through here. It says, Okay, I need to get to
10. 12 50. Okay, I get around for the 10. Network were slashed. 28
and 10. 12 Okay, We're gonna slash 24. That's better.
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.
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
to a server, you can send it off off a specific link that we're not flooding the network on one link, you know,
um, so you used your advantage when you're designing networks would know that the
it's gonna use that most specific route that you set
I'm gonna go ahead and minimize the party session. We'll move on,
writes a static routes.
really? I said it uses that administrative distance to determine that best route
and so aesthetic grounds have the aid administer distance of one.
Oh, SPF Theo Open shores path first is 1 10 e i g R p.
Which used to be Cisco's proprietary protocol in 2013. They actually started opening it up so people could use it.
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
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
I was going to terminal. I'm just going to set a a, uh, metric for
another. Almost set it up for grabs. Reply here. So 10 1 52 50
Do a search of the 33rd 2 for five. You want to go through 10 142
And if we question mark again,
here's where we can set a metric for it. We can go up to 55. We looked at a little bit earlier
S O If you want to, you can set it where you can set that folding up that says like,
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,
that's used just like a You know, the gig link is down. We have to be able to have some kind of Internet.
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.
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.
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.
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
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.
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.
We're going to the post assessment here. What is the administrative distance for a static route by default without you messing with it?
All right, it is one. Remember nineties E I g R p one tennis. Oh, SPF and zero would be a connected route.
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.
I just don't have them set with any static routes and, well, actually use rip to learn the routes.
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.