- [Narrator] Now that we have our IVR working
with our router on a stick, we're going to change this now
into IVR on the switch one, our layer-three switch.
We don't have to go and touch switch two or three.
We just have to configure switch one for inter-VLAN routing.
Let's take a look.
Alright, I'm going to login here to my switch one.
And the first thing I want to do
is change my native VLAN that I'm using,
which is interface VLAN 1.
It's a router port for VLAN 1.
So, I'm going to become the default gateway now,
for my 50 subnet, which I'm using for the switches.
And then no shut.
It was already enabled, but just to
make sure that you do that.
Now, I am the default gateway
for the other switches, aren't I?
Now, I'm going to create a router port for each VLAN.
So, if I typed in VLAN 10 and press enter,
I'm creating VLAN 10.
Already did that.
I want to create a router port for VLAN 10.
Interface VLAN 10.
This is my router port for VLAN 10, that's the name.
Once I create that, it's done.
I now have interface VLAN 10.
And sysauth comes, says
"Hey, you've got a new router port. Awesome!"
So, I'm just going to put the default gateway
for VLAN 10 under here.
And if you were playing with the IVR on the router,
you want to take those off.
You don't want two routers for the same VLAN, right?
Anyway, so interface VLAN 10.
Put the IP address underneath there and I'm done.
This is easy!
When I go to my large enterprises,
and they have one hundred VLANs.
I just type this in one hundred times,
put my default gateway underneath that.
Each one of them, and it's done.
I have inter-VLAN routing for one hundred VLANs
in that example.
Let's create another one, VLAN 11.
Okay, we'll wait for that to come up
and tell me how great it is.
Change state to up, that's good enough.
And then I put my default gateway underneath there,
192.168.11.1.
And no shut.
And...I am done.
Let's go ahead and do...
We'll do a do show run and take a look at it.
We'll go down to the bottom of the config.
So, go through here and we'll see our
port security that we configured.
And go down to the bottom and we're going to see our VLANs.
There's our router ports, or routed ports, right?
Interface VLAN 1, 50.1,
interface VLAN 10,
interface VLAN 11.
Now, I just need to go out to the host
in VLAN 10 and 11, respectively.
And set them to these default gateway addresses.
And inter-VLAN routing will be ready to go.