Lab 07‐1 ‐ Class Hardware Lab - Isaiah-River/NET-330-01-Network-Design GitHub Wiki

Navigation

Overview

In this lab, we worked in groups to set up an edge and distribution switch with the goal of having two PCs on different VLANs connect to a web server.

Objectives

  • Configuring edge and distribution switches
  • Setting up a gateway of last resort
  • Configuring VLANs

Completing the lab

Hardware

Part 01 - Setting up our hardware

To start this lab off we had to set up our hardware from the distribution layer down.

image

After everything was hooked up we could move on to configuring our switches.

Part 02 - Configure distribution switch

We first configured our distribution switch by using PuTTY to connect through the console cable and running the following commands:

# Erase the current configuration and restart the switch
enable
write erase
do reload

# Elevate the terminal, enter the configuration terminal, and set the hostname
enable
conf t
hostname G3-DR

# Enable routing
ip routing

# Create the two VLANS for our group (VLAN 300 & 310)
vlan 300
name G3-Admin
vlan 310
name G3-Staff
exit

# Configure the VLAN addresses
int vlan 300
ip address 172.16.30.1 255.255.255.0
no shutdown
int vlan 310
ip address 172.16.31.1 255.255.255.0
no shutdown
exit 

# Configure the interface connected to our edge switch
int GigabitEthernet 2/0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan add 300
switchport trunk allowed vlan add 310


# Set our gateway of last resort pointing to the web server
ip route 0.0.0.0 0.0.0.0 153.104.1.1

# Set the address for our default VLAN
int vlan 1
ip address 153.104.1.30 255.255.255.0

After setting up our MLS, we ran the do show run command to view our configuration and took a screenshot for our first deliverable.

image

image

Part 03- Configuring the edge switch

With our distribution switch set up, we could move on to setting up our edge switch. We did this by once again connecting through PuTTY and running the following commands:

# Erase the current configuration and restart the switch
enable 
write erase
do reload

# Elevate the terminal, enter the configuration terminal, and set the hostname
enable
conf t
hostname G3-Edge

# Add our VLANs
vlan 300
name G3-Admin
vlan 310
name G3-Staff
exit

# Configure the interface connected to our distribution switch
int GigabitEthernet 2/0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan add 300
switchport trunk allowed vlan add 310

# Configure the interface connected to our Admin PC
int GigabitEthernet 2/0/2
switchport mode access
switchport access vlan 300

# Configure the interface connected to our Staff PC
int GigabitEthernet 2/0/3
switchport mode access
switchport access vlan 310

Part 04 - Configuring end devices

With both of our switches set up, we booted into Kali using thumb drives on two computers. Here we set the IP of the one hooked up to the GigabitEthernet2/0/2 to 172.16.30.2 (Admin), and the one hooked up to the GigabitEthernet2/0/2 to 172.16.31.2 (Staff).

image

With everything configured, we were ready to capture our last two deliverables. We did this by accessing the web server from both our Staff and Admin PCs by navigating to the address 153.104.5.10 and taking screenshots of two of our deliverables.

image

image

Deliverable

My submission can be found at this link here.

Deliverable 01 - Screenshot of the multilayer switch config

This screenshot shows our multilayer switch configuration.

image

image

Deliverable 02 - Screenshot of successful access of 153.104.5.10 webpage from Admin PC

This screenshot shows the Admin PC successfully pulling up the 153.104.5.10 webpage.

image

Deliverable 03 - Screenshot of successful access of 153.104.5.10 webpage from Staff PC

This screenshot shows the Staff PC successfully pulling up the 153.104.5.10 webpage.

image

Static Badge

⚠️ **GitHub.com Fallback** ⚠️