CCN Lab 6

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

DEPARTMENT OF ELECTRONICS ENGINEERING

MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO


COMPUTER COMMUNICATION & NETWORKING
(7th Semester, 4th Year) LAB EXPERIMENT # 5/1

Name: ___________Shayan Fatima___________________ Roll No: ___18TL06______

Score: ___________ Signature of the Lab Tutor: ______________ Date: ___________

BASIC VLAN CONFIGURATION

PERFORMANCE OBJECTIVE

Upon successful completion of this experiment, the student will be able to:
i. Cable a network according to the topology diagram
ii. Perform basic configuration tasks on a switch
iii. Create VLANs
iv. Assign switch ports to a VLAN
v. Add, move, and change ports
vi. Verify VLAN configuration
vii. Enable trunking on inter-switch connections
viii. Verify trunk configuration

Task 1: Prepare the Network


DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Semester, 4th Year) LAB EXPERIMENT # 5/2

Task 2: Perform Basic Switch Configurations

Step 1: Configure the switches according to the guidelines:

1. For Switch 1:

2. For Switch 2:

3. For Switch 3:
DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Semester, 4th Year) LAB EXPERIMENT # 5/3

Step 2: Re-enable the user ports on S2 and S3.

1. For Switch 2:

2. For Switch 3:

Task 3: Configure and Activate Ethernet Interfaces

Step 1: Configure the PCs.


DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Semester, 4th Year) LAB EXPERIMENT # 5/4

Task 4: Configure VLANs on the Switch

1. Step 1: Create VLANs on switch S1:

2. Step 2: Verify that the VLANs have been created on S1:


DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Semester, 4th Year) LAB EXPERIMENT # 5/5

Step 3: Configure and name VLANs on switches S2 and S3:

Step 6: Assign trunk

1. Switch 1:

2. Switch 2:

3. Switch 3:
DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Semester, 4th Year) LAB EXPERIMENT # 5/6

Step 5: Ping several hosts from PC2.

Question: Ping from host PC2 to host PC1 (172.17.10.21). Is the ping attempt successful?
Ans: No, they are both in different vlan's.
______

Question: Ping from host PC2 to the switch VLAN 99 IP address 172.17.99.12. Does the ping
attempt successful?
Ans: No

Question: Ping from host PC2 to host PC5. Does the ping attempt successful?
Ans: Yes
DEPARTMENT OF ELECTRONICS ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(7th Semester, 4th Year) LAB EXPERIMENT # 5/7

Step6: Change the IP address and network on PC1.

Question: Change the IP address on PC1 to 172.17.20.21. The subnet mask and default gateway
can remain the same. Once again, ping from host PC2 to host PC1, using the newly assigned IP
address. Does the ping attempt successful?

Ans: Yes

You might also like