- [Instructor] Alright now let's go out
and finish the configurations for San Francisco and LA.
And San Francisco can get to Corp and Corp to San Francisco,
and Corp is configured for the routes behind LA.
But I need to configure LA to San Francisco.
I also need to put in the WAN links
or San Francisco won't be able to get to LA and vice versa.
So let's go ahead and take a look.
I'm in the Corp router.
I'm all configured here with all of the networks.
We can see all the serials, my LAN and all the remote LANs.
So let's run out to San Francisco
and configure it for the LA router, to get to LA.
So show IP route.
We can see we can get to the 10 network
and the directly connected 10 and 40,
I want to get to 192.168.20
and 192.168.30.
So to get to
192.168.20 and 30,
you have to do them one at a time, remote mask.
And I can use my exit interface
or my next hop, which is 172.16.10.1.
I'm gonna say serial zero one one.
Oops, I need a space there.
And then take 20 and then to 30.
And I can't send it to LA.
I have to send it to Corporate,
so my directly connected router.
Now I'm only going to put in the next hop,
I'm gonna put in the 172.16 network here.
172.16.10.4, right.
I'm just gonna use the one link; I could use both.
So now I know how to get to...
They were right about that, this is a slash 30.
Love this, that it told me.
Now I should be done with my San Francisco router.
Do show IP route.
Gets to the 10.10.10 off the LAN to 20, 30,
and you can see, I'm directly connected, 10 and 40.
Alright, so let's get out of this and go to LA.
And login, and show IP route.
Always look at your table,
understand what you're directly connected to.
I have two routes to the Corp router.
I'm just gonna use the four subnet.
Alright, config t.
I wanna get to IP route 192.168.10.0
with a slash 24 remote mask.
And I can send it out my serial zero zero one, that's fine.
I don't mind using my exit interface.
And they also got a dot 40 over there.
And we have, I'll just type it out
instead of trying to fix it,
the 172.16.10.0 subnet connecting Corp to,
and it's a slash 30, Corp to the San Francisco router.
And same exit interface, right?
Sending it to my Corp router.
Now I can see if it's working.
10.10.10.1.
I don't know if I put a route into that actually
now that I think about it.
So I didn't add a route on the LA to the Corp LAN yet
so let's go ahead and add that.
So I'm just gonna have to say config t here,
IP route 10.10.10.0 with this remote mask.
And we'll just send it out
the same exit interface, that's fine.
Now let's try that again.
I'm gonna up arrow twice.
Ba-da-bing, ba-da-boom.
And then 192.168.10.1, that's my remote, that's awesome.
Kay, we're looking good.
I have one more thing to show you guys.
That's a lot of work, even on this small minute network.
Let's take a quick look, I'm almost done here.
San Francisco and LA really are
what's called stub networks, which we've discussed.
And that means there's one way in or out.
So I don't have to do all this work on San Francisco and LA.
I can just do a default route.
So let's just go out to San Francisco and do it.
And then we'll be done.
So I'm just gonna type San Francisco,
log in, and show IP route.
And let's get rid of all these routes.
It's just too much work for me.
So it'll show when I type in show IP route.
Alright, now that we understand that,
let's run out and do a show run on San Francisco.
Just spacebar down until you see your static routes.
Easy peasy, hit the Q key, config t.
and then you're gonna highlight each line
and then right-click.
So we'll say Mark and then Copy.
If you're using a different program,
it might even be easier.
I didn't hit say no first, so you do a Control + A,
it takes your cursor to the beginning of the line.
Type no, and press enter, very nice.
So in this case here, I'm just gonna type no first
and get rid of each one.
Alright, just another couple.
This is very easy to do now.
The best way again to do this, go to your running config.
And lastly, and then I'll just put a default route in
and verify and we'll be done.
So what I want to do to do a default route, as we know,
it's IP route, any network, any mask,
and I can use the next hop, that's fine.
Or my exit interface.
In this case, I'm just gonna use the exit interface.
So smaller routing table, very useful in stub networks.
Show IP route.
Now we see the S asterisk,
and if we look up here in our codes,
it says candidate for the default route.
And my gateway of last resort is now set, right,
to default route which goes to serial zero one one.
So ping 10.10.10, hope this works.
Alright.
And 192.168.20.1.
Awesome, alright, we did great.
Our little inner network is up and running
with static and default routing.