alone. Welcome back to Sai Berries, Infrastructure Services.
This is the lesson viewing our routing table. I am your instructor. Trend there on this will be the last lesson in the first module.
No, I didn't look at the commander route and it's usage. We're gonna utilize route commands. You determine what a routing table looks like. And well, we're gonna go ahead and we can see how we can change our own routing table. Right? So we're gonna go ahead and look at changing our thinking. We could add in static routes
for certain sub nights. Begins at in default gateways as well, which is what we will be doing today.
So it's relatively simple, but also can mess up your interior net and working.
because of having to deal zero around until right, If you put in a bad route, you're not gonna be sending package to anything, right? So go ahead and look at the basic routing table for our small network here.
So if we do a route print four dash for
here we see that 000 with the net Max years or zero Gateway, right? It's like the same type of thing with the Cisco default gateways.
and it tells you what interfaces on. Also, in case you're curious the metric
because you can set them for different ones. So it's gonna show you different persistent rounds, right?
Simple. Is that so? I'm gonna go ahead and minimize this. We will bring up the booty one.
and was due a wrote Dash Four for a the I P. Before
again, we might be running into the issue where it's trying to resolve the house names.
All right, so if we look at
metric here, you see that the gateway
So one of the issues here is you're gonna see their score. Gateway, you might say, Well, what the actors? No,
no. I p address for it. So it's because it's resolving it.
So I'm gonna do a routes dash dash hope
we'll see how you didn't do just numeric.
So we do route dish for N.
We will actually see
the a p address of our gateway, right? That is correct
with a destination of zero, the gym mask of serious right, So that is what we want.
So let's go ahead and pretend like we are going to change our
default gateway. Right?
So I'm gonna go ahead and bring up our show
and what they're gonna look at is you might say, OK, we'll go this route. Add zeros for the I. P address. Mask of zeros. Makes sense with this is just a bogus gateway, right
Metric interface 22.
Where we're getting interface one too. Well, way do this. Get net connection
You'll see that the interface aliases, Internets and the interface Alias is their index is actually eight on this one.
Here's here's way. You need a space there.
again. We need a space
and we want the gateway to be this. Actually, I'm gonna set it for the same subject just in case it through the fit here
because we don't have an actual metric they want to set for this. So we want to put the interface. A index is eight
and of course we need elevated privileges.
So let's go ahead and re a power show
will run as administrator. Not sure was going with my
working device here,
Yeah. Stewart's route ahead. Years There, there. Zero
metric interface eight.
let's look at a route print dash for now. See what we got.
So in case you see it here now, how do to default gateways?
Because we added the route, Um,
which obviously could throw a lot of different issues again.
You see that? We have
two routes, but one thing you might notice here
is the metrics are different, right? So it's gonna take this is one that one gateway over the $1.99. But if you take, for example, the one that one goes down, then it's gonna try and send everything else is gonna try and do the 1.1 99 Next. Right?
I was gonna say, Hey, I do have another default gateway I can use. I'm gonna send it out to here,
so let's go ahead and bring up the
ah booty. One should be kind of a refresher here.
Do a clear so we can actually see
you. Must do. They wrote
out add default. Gateway 10 1 to 100. Gonna keep it the same
William P. Zeros three
And let's take a look here. Right for N.
And now we have it both, but also again. You see,
it did add a metric as well. Did this one?
So just do the up arrow.
Take a look at it. Now,
You see, we only have one now,
and we should still be able to pick crossed.
And let's take the ping once an to 16 1.50. This is the Windows 10 box. This one actually set not to respond because of the windows firewall,
and you'll see 100% packet loss.
What if we go to Windows 10?
It would be hoping to 10 12 to 50.
We get a response, right? We're still routed.
All right, let's go ahead and get to be EMS out here.
So we looked at Windows 10 verses a boon to basically the same. A little bit of caveats here and there with a boon to, especially if you're Dina. Syria isn't linked with a d. You don't want to resolve the host things, make sure you use that dash and flag, right?
So quiz here. What is the equivalent to route Death print on Windows 10. Going to give you a second to try. And if you want to, you can try these different commands and see what it comes up with. Laura's will show you in just a moment here.
All right. Hopefully everyone got net. Stet Desh are. And
I'm gonna go ahead and just show you. Just verify
Yeah, I p b six running table. We got the baby before rolling table
and we got our interface list things, right?
We get the F B six listing table, I'd be before
and Inter faceless, so
And today we looked at the commander routes and its usage. We also looked at it and windows sent and a boon to we added our own default routes, using the command as well,
and we looked at to make sure that the
default gateways were still working afterwards.
And I want to say thank you to
following along with me through module one. I know. It was ah, lot of command line. Hopefully you followed along and hopefully you learned something or hopefully it was at least review for you on and stick around for the next modules. Thank you.