1 00:00:00,610 --> 00:00:07,560 In this video, I'm going to show you how to configure a router on a stick or an external router that's 2 00:00:07,560 --> 00:00:13,830 connected to allow you to switch that performs the inter VLAN routing to allow devices in one VLAN 3 00:00:14,220 --> 00:00:21,300 to communicate with devices in another VLAN. The topology that we're going to build consists of two VPCS 4 00:00:22,290 --> 00:00:23,500 devices. 5 00:00:23,820 --> 00:00:29,490 PC 1 will configure with an IP address of 10.1.2.1 and the default gateway will be 6 00:00:29,610 --> 00:00:38,610 router 1 with 10.1.2.254. In VLAN 2 PC 2 will be configured with an IP address of 10.1. 7 00:00:38,700 --> 00:00:49,710 3.1/24 default gateways router 1 IP address 10 1 2 3 2 5 4 in line 3. 8 00:00:49,710 --> 00:00:57,330 So this router will use an 802.1q trunk to the switch and do the inter VLAN routing so that 9 00:00:57,330 --> 00:01:00,270 PC 1 can ping PC 2. 10 00:01:00,540 --> 00:01:06,260 In other words, we are inter VLAN routing between VLAN 2 and VLAN 3. 11 00:01:06,300 --> 00:01:16,800 So I've started a new project I'll drag a router into the workspace and grab an ethernet switch as 12 00:01:16,800 --> 00:01:23,360 well as 2 VPCS devices. 13 00:01:23,380 --> 00:01:32,950 Now when you start configure the switch and delete all current interfaces they are all going to be 14 00:01:32,950 --> 00:01:36,590 in VLAN 1 and are going to be configured as access ports. 15 00:01:36,640 --> 00:01:43,640 So we want to start with a new switch configuration support 1 is going to be an access port in VLAN 16 00:01:43,660 --> 00:01:53,830 2, port 2 is going to be an access port in VLAN 3, port 3 is going to be a trunk port and 17 00:01:53,830 --> 00:01:57,820 we're gonna configure the native VLAN as VLAN 1. 18 00:01:57,820 --> 00:02:04,120 So that's our switch configuration port 1 is in VLAN 2, port 2 is in VLAN 3 they are access ports, 19 00:02:04,120 --> 00:02:08,360 port 3 is gonna be an 802.1q trunk. 20 00:02:08,539 --> 00:02:15,730 I can now configure the devices and connect them to the switch. So fast 21 00:02:15,740 --> 00:02:22,310 Ethernet00 on our router will be configured for inter VLAN routing. 22 00:02:26,090 --> 00:02:32,230 So this host will configure as 10.1.1.1/24 in VLAN 2 23 00:02:35,390 --> 00:02:40,190 this host we will configure as 3.1 in VLAN 3 24 00:02:43,160 --> 00:02:46,210 and the router 25 00:02:48,970 --> 00:03:02,650 will be 254 in the relevant VLANs, I'll also configure VLAN one as the native VLAN on fast 26 00:03:02,690 --> 00:03:06,640 Ethernet 00 on the router. 27 00:03:06,640 --> 00:03:12,140 Now you can obviously make the topology more pretty for lack of a better word. 28 00:03:12,220 --> 00:03:14,700 I'm not going to do that for the sake of time. 29 00:03:14,800 --> 00:03:16,480 So start the devices up 30 00:03:20,550 --> 00:03:25,020 and open console ports to the devices.