In this video, I'm going to show you how to configure a router on a stick or an external router that's
connected to allow you to switch that performs the inter VLAN routing to allow devices in one VLAN
to communicate with devices in another VLAN. The topology that we're going to build consists of two VPCS
devices.
PC 1 will configure with an IP address of 10.1.2.1 and the default gateway will be
router 1 with 10.1.2.254. In VLAN 2 PC 2 will be configured with an IP address of 10.1.
3.1/24 default gateways router 1 IP address 10 1 2 3 2 5 4 in line 3.
So this router will use an 802.1q trunk to the switch and do the inter VLAN routing so that
PC 1 can ping PC 2.
In other words, we are inter VLAN routing between VLAN 2 and VLAN 3.
So I've started a new project I'll drag a router into the workspace and grab an ethernet switch as
well as 2 VPCS devices.
Now when you start configure the switch and delete all current interfaces they are all going to be
in VLAN 1 and are going to be configured as access ports.
So we want to start with a new switch configuration support 1 is going to be an access port in VLAN
2, port 2 is going to be an access port in VLAN 3, port 3 is going to be a trunk port and
we're gonna configure the native VLAN as VLAN 1.
So that's our switch configuration port 1 is in VLAN 2, port 2 is in VLAN 3 they are access ports,
port 3 is gonna be an 802.1q trunk.
I can now configure the devices and connect them to the switch. So fast
Ethernet00 on our router will be configured for inter VLAN routing.
So this host will configure as 10.1.1.1/24 in VLAN 2
this host we will configure as 3.1 in VLAN 3
and the router
will be 254 in the relevant VLANs, I'll also configure VLAN one as the native VLAN on fast
Ethernet 00 on the router.
Now you can obviously make the topology more pretty for lack of a better word.
I'm not going to do that for the sake of time.
So start the devices up
and open console ports to the devices.