-
Notifications
You must be signed in to change notification settings - Fork 0
Lab 2.1: Subnet Design
Emma edited this page Sep 15, 2025
·
1 revision
In this lab we are connecting and configuring VLANs on this start file:
- Add vlans to the databases => 100, 110 to all => 130 in East 02 only => 140 in West 02 only
(config)#vlan x
(config-vlan)#name <vlan name>
- Configure ports for those VLANs on every switch
- VLAN 100 (FacStaff) on ports 4-12 (all switches)
- VLAN 110 (Student) on ports 13-20 (all switches)
- VLAN 130 (Lab1) on ports 21-24 (East-Edge-02 only)
- VLAN 140 (Lab2) on ports 21-24 (West-Edge-02 only)
(config)interface range FastEthernet0/x-y
(config-if-range)switchport access vlan z
i.e) for East-Edge-01
- Using the IP Ranges set in the first part, configure the IPs for the end devices and add default gateways.
- Connect Devices with copper to the ports in their VLAN range
(Note: I took these screenshots after the lab was complete so I was able to ping between VLANs on different switches)
- Pinging all devices in the FacStaff VLAN + a random one outside of VLAN.
- Pinging all devices in the Student VLAN + a random one outside of VLAN.
- Pinging all devices in the Lab1 VLAN + a random one outside of VLAN.
- Configure trunk ports for the Core switches
- Add plans 100, 110, 130, and 140 to the vlan database on core switches
vlan x
name <name>
- Configure FastEthernet 0/1 and 0/2 as trunk ports for the appropriate VLANS
(config)#interface FastEthernet0/x
(config-if)#switchport mode trunk
(config-if)#switchport trunk allowed vlan add <vlan #>
- Configure FastEthernet 0/1 as the trunk port for relevant VLANs on the edge switches
- Using copper cross-over cables connect the trunk ports between edge and core switches
- Enable Routing on East-Core Switch
(config)#ip routing
- Assign the router addresses from VLANS 100, 110, 130, 140 to East Core
(config)#interface vlan x
(config-if)ip address 10.11.x.x 255.x.x.x
ie).
- Verification: Check if you can ping between two systems on different VLANs in EAST.
- Configure Gigabit Ethernet 0/1 on East and West Core switches as trunk ports
- Copper Cross over cable them
- Verification: You should be able to ping between all devices (done)
- from
Switch>enablegives you privileged access and brings you toSwitch# - from
Switch#conf t(or configure terminal) enters global configuration mode which allows you to execute commands and brings you toSwitch(config)# - from
Switch(config)#if you use aninterfacecommand such asinterface FastEthernet0/1it will bring you toSwitch(config-if) -
exitwill bring you back to the previous mode
See step 1.1.1
See Step 2.2
(config)#interface FastEthernet0/x
(config-if)#switchport mode access
(config-if)#switchport access vlan 100
See step 1.1.2