VLANs and Inter-VLAN Routing. These practical lab exercises will empower you with the skills needed to configure and manage these essential networking concepts.
### Lab Overview
In this lab, we'll work through the following objectives:
1. Build the Network and Configure Basic Device Settings:
- Set up the network topology.
- Configure basic settings for the devices.
2. Create VLANs and Assign Switch Ports:
- Define VLANs on both switches.
- Assign VLANs to switch access ports.
3. Configure an 802.1Q Trunk between the Switches:
- Establish a trunk link between the switches to allow VLAN traffic.
4. Configure Inter-VLAN Routing on the Router:
- Enable communication between VLANs using an inter-VLAN router (in this case, Router R1).
5. Verify Inter-VLAN Routing:
- Confirm that hosts in different VLANs can communicate, regardless of their subnets.
### Background and Scenario
Modern networks utilize VLANs to enhance performance and security. VLANs segment large Layer 2 broadcast domains into smaller ones, making network design more efficient. Communication between VLANs requires a Layer 3 device (such as a router). By adding an inter-VLAN router, we can segregate broadcast domains while enabling inter-VLAN communication.
Here's a brief overview of the lab setup:
- Topology: We have switches (S1 and S2) and a router (R1). - Switches: We'll create VLANs, assign ports, and set up trunk links. - Router: We'll configure inter-VLAN routing.
### Lab Details
#### Topology
![Lab Topology](https://itexamanswers.net/wp-content/uploads/2020/09/4.5.2-Lab-Topology.png)
#### Addressing Table
Device | Interface | IP Address | Subnet Mask | Default Gateway |
——– | ———– | —————- | —————- | —————– |
R1 | G0/0/1.10 | 192.168.10.1 | 255.255.255.0 | N/A |
G0/0/1.20 | 192.168.20.1 | 255.255.255.0 | ||
G0/0/1.30 | 192.168.30.1 | 255.255.255.0 | ||
S1 | VLAN 10 | 192.168.10.11 | 255.255.255.0 | 192.168.10.1 |
S2 | VLAN 10 | 192.168.10.12 | 255.255.255.0 | 192.168.10.1 |
PC-A | NIC | 192.168.20.3 | 255.255.255.0 | 192.168.20.1 |
PC-B | NIC | 192.168.30.3 | 255.255.255.0 | 192.168.30.1 |
#### VLAN Table
VLAN Name | Interface Assigned |
—————– | ————————– |
10 (Management) | S1: VLAN 10, S2: VLAN 10 |
20 (Sales) | S1: F0/6 |
30 (Operations) | S2: F0/18 |
999 (Parking_Lot) | S1: F0/2-4, F0/7-24, G0/1-2; S2: F0/2-17, F0/19-24, G0/1-2 |
1000 (Native) | N/A |
Remember, the routers used in these labs are Cisco 4221 with Cisco IOS XE Release 16.9.4, and the switches are Cisco Catalyst 2960s with Cisco IOS Release 15.2 (2). Let's dive in and explore the fascinating world of VLANs and inter-VLAN routing! 🌐🔗