You are on page 1of 7

LAB Report 04

Lab Report: 04
Title: Configuration of Virtual Local Area Network (VLAN) and Inter-VLAN.
Objective:

Configure and maintain Virtual Local Area Network (VLAN).


Assign switch ports to a VLAN also assign the management VLAN.
Configure trunking and verify that the switches can communicate to each other.
Configuration of Inter-VLAN routing with sub-interfaces corresponding to the
configured VLANs.

Tools: CISCO Packet Tracer 6.3.


Simulation:
VLAN is a virtual LAN. In technical terms, a VLAN is a broadcast domain created by switches.
For configuring VLAN and Inter-VLAN, create a topology as in following figure.

Addressing Table:
Md. Saidur Rahman Kohinoor || mdsaidur.r.kohinoor@ieee.org

LAB Report 04

Device

Interface

IP Configuration

Default Gateway

S1
S2
S3
PC0
PC1
PC2
PC3
PC4
PC5

VLAN 99
VLAN 99
VLAN 99
-

172.17.99.11/24
172.17.99.12/24
172.17.99.13/24
172.17.10.21/24
172.17.20.22/24
172.17.30.23/24
172.17.10.24/24
172.17.20.25/24
172.17.30.26/24

172.17.10.1
172.17.20.1
172.17.30.1
172.17.10.1
172.17.20.1
172.17.30.1

For VLAN configuration, we following the steps one by one,


1. Configure the PCs IP Address.
2. User ports of S1 and S2 are enabled as access ports
3. Create VLAN on switch S0, S1 and S2.
4. Assign switch ports to VLANs on S1 and S2
5. Assign the management VLAN
6. Configure trunking and native VLAN for the Switches
These steps help to easy configuration.
Step 1: Go to the PC0 => Desktop => IP configuration mode and type

Same as configure all other five PCs. [PC1, PC2, PC3, PC4, PC5]
Step 2: Enabling the access ports. Just write these commands,
Switch 1 (S1)

Md. Saidur Rahman Kohinoor || mdsaidur.r.kohinoor@ieee.org

LAB Report 04

Switch 2 (S2)

Step 3: Create VLANs. The commands are same in all switches. So, repeat these commands in
S0, S1, and S2.
Switch (S0, S1, S2)

Md. Saidur Rahman Kohinoor || mdsaidur.r.kohinoor@ieee.org

LAB Report 04

Step 4: Assign switch ports to VLANs.


Switch 1: (S1)

Switch 2: (S2)

Md. Saidur Rahman Kohinoor || mdsaidur.r.kohinoor@ieee.org

LAB Report 04
Step 5: Assign Management VLAN in all switches (S0, S1, S2)
Switch 1 (S1)

Switch 2 (S2)

Switch 0 (S0)

Step 6: Configuring trunk in S0, S1 and S2


Switch (S1 & S2)

Switch 0 (S0)

Yes!!! VLAN is done.


Now we configure the Inter-VLAN from the router. At first, enable the router interface by no
shutdown command like asRouter 0 (R0)

Md. Saidur Rahman Kohinoor || mdsaidur.r.kohinoor@ieee.org

LAB Report 04

Now assign default gateway and virtual gateway for VLANs by following commands,
Router 0 (R0)

Md. Saidur Rahman Kohinoor || mdsaidur.r.kohinoor@ieee.org

LAB Report 04
Finally trunk the switch ports which connect with router.
Switch 0 (R0)

Thats it.
Fully complete the configuration of VLAN and Inter-VLAN. For testing the connectivity among
PCs, as usual we use the ping command in source PCs command prompt to write destination
PCs IP address. For example here ping from PC0 to PC6 and observe the output.

Download Link: Here is the available of configured topology.


https://www.dropbox.com/s/gc2snp1is9yd2yz/VLAN%20and%20Inter%20VLAN.pkt?dl=0

---- The END ----

Md. Saidur Rahman Kohinoor || mdsaidur.r.kohinoor@ieee.org