Lab 2.1 Subnet Design

Starting Design

Configure Edge Switches

  • Add vlans to the vlan database

    • 100 (FacStaff) and 110 (Student) to all

    • 130 (StuLab1) in East-02 switch only

    • 140 (Stulab2) in West-02 switch

east-ew-01>enable
east-ew-01#configure terminal
east-ew-01 (config) #vlan 100
east-ew-01 (config-vlan)# name FacStaff
east-ew-01 (config-vlan)# vlan 110
east-ew-01 (config-vlan)# name Student
  • All edge switches assigned VLAN 100 (FacStaff) on ports 4-12

  • All edge switches assigned VLAN 110 (student) on ports 13-20

  • East-Edge-02 assigned VLAN 130 (Lab1) on ports 21-24

  • West-Edge-02 assigned VLAN 140 (Lab2) on ports 21-24

(config)interface range FastEthernet 0/x-y (let's you configure multiple ports at one time)
(config-if-range)switchport access vlan x (defines the vlan for all ports in the range)
Example of a VLAN assigned to a port

Configure End User Devices

  • Assign FacStaff PC's IP from VLAN 100 (make sure netmask and gateway are correct)

  • Assign Student PC's IP's from VLAN 110

  • Assign Lab PC's appropriate IP's from VLAN 110

  • Assign Lab PC's appropriate IP's

Connect Devices to Edge Switch

  • Connect devices with Copper to appropriate ports

  • Verification that step 1 is complete:

    • Ping devices on same vlans or different switch

    • not able to ping different vlans or different switch

Configuring Trunking

  • Configure trunk ports for Core switches

    • add vlans 100, 110, 130 and 140 to the vlan database on Core

    • Configure FastEthernet 0/1 and 0/2 as trunk ports for the appropriate Vlans

east-csw-01>enable
east-csw-01#configure terminal
east-csw-01 (config)#vlan 100
east-csw-01 (config-vlan)#name FacStaff
east-csw-01 (config-vlan)#vlan 110
east-csw-01 (config-vlan)#name Student
east-csw-01 (config-vlan)#vlan 130
east-csw-01 (config-vlan)#name StuLab1
east-csw-01 (config-vlan)#vlan 140
east-csw-01 (config-vlan)#name StuLab2
east-csw-01 (config-vlan)#end
  • Configure trunk ports on Edge switches

    • Configure FastEthernet 0/1 as trunk port for the appropriate vlans

east-ew-01>enable
east-ew-01#configure terminal
east-ew-01 (config)#interface FastEthernet0/1
east-ew-01 (config-if)#switchportmode trunk
east-ew-01 (config-if)#switchport trunk allowed vlan add 100
east-ew-01 (config-if)#switchport trunk allowed vlan add 110
east-ew-01 (config-if)#switchport trunk allowed vlan add 130
east-ew-01 (config-if)#switchport trunk allowed vlan add 140

Connect Edge Switches to Core

  • Create cross-over cable connection between edge switch and core switch trunk ports

  • Verification: you should be able to ping between two systems on the same VLAN on different switches

Enale Routing

  • The core switches are multi-layer and can route

  • We will use the EAST-Core switch as the router

  • Enable routing on the East-core switch

  • Assign the router addresses from the table in step 1 to:

    • VLANS: 100, 110, 130, 140 to East-Core

  • Useful Commands:

(config)ip routing (turns on routing on multilayer switches)
(config)interface vlan 100 (brings you into vlan interface config mode)
(config-if)ip address 10.25.100.1 255.255.255.0 (set the ip address of 10.25.100.1 for vlan 100 on a routing switch)
NOTE: This only needs to be set on the router-switch acting as the gateway for the vlan

Verification: You should now be able to ping between two systems on different VLANs in EAST

Configure East-West Trunk

  • Configure Gigabit Ethernet 0/1 on both East and West core switches as trunk ports for defined vlans

  • Copper "cross-over" connector to connect those trunk ports

  • Verification: You should be able to ping between all devices!

Last updated