0% found this document useful (0 votes)
168 views4 pages

Lab: Vlan and Trunking

1. The document describes steps to configure VLANs, trunking, DHCP servers, and VTP on switches to allow communication between PCs in different VLANs. 2. SW1 is configured as the VTP server with VLANs 10 and 20, and the other switches are configured as VTP clients in the "netconlab.com" domain. 3. DHCP servers are configured to assign IPs in VLANs 10 and 20, and VLAN 100 is configured to allow communication between PCs 9 and 10 which have different IPs in the same VLAN.

Uploaded by

sugapriya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
168 views4 pages

Lab: Vlan and Trunking

1. The document describes steps to configure VLANs, trunking, DHCP servers, and VTP on switches to allow communication between PCs in different VLANs. 2. SW1 is configured as the VTP server with VLANs 10 and 20, and the other switches are configured as VTP clients in the "netconlab.com" domain. 3. DHCP servers are configured to assign IPs in VLANs 10 and 20, and VLAN 100 is configured to allow communication between PCs 9 and 10 which have different IPs in the same VLAN.

Uploaded by

sugapriya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

LAB : VLan and Trunking

Task

1. Configure IP Addresses as per given in topology.


2. Create DHCP Server for Vlan 10 and Vlan 20.
3. Make SW1 as a VTP Server and rest of all configure as a client. Make sure that vtp domain is
netconlab.com.
4. Make sure all pc's assign ip address via DHCP.
5. PC9 and PC10 having different IP's but in single Vlan. You need to communicate PC9 and PC10.
(No need to communicate with server and Routers).
LAB : VLan and Trunking
Solution
 Task 2: Create DHCP Server for Vlan 10 and Vlan 20.

DHCP Server

ip dhcp pool vlan10


network 211.0.101.0 255.255.255.0
default-router 211.0.101.1
exit

ip dhcp pool vlan20


network 54.113.89.0 255.255.255.0

default-router
54.113.89.1 exit

 Task 3: Make SW1 as a VTP Server and rest of all configure as a client. Make sure that vtp
domain is netconlab.com.

SW1

interface range f0/2-4


switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20
exit

vtp domain
netconlab.com vtp
password cisco.com vtp
mode server

vlan 10
exit
vlan 20
exit

SW2

interface range f0/1-5


switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20
exit
LAB : VLan and Trunking
vtp mode client
vtp domain netconlab.com

SW3

interface range f0/2-4


switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20
exit

vtp mode client


vtp domain netconlab.com

SW4

interface range f0/1-5


switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20
exit

vtp mode client


vtp domain netconlab.com

ASW1

vtp mode client


vtp domain netconlab.com

ASW2

vtp mode client


vtp domain netconlab.com

ASW3

vtp mode client


vtp domain netconlab.com

ASW4

vtp mode client


vtp domain netconlab.com

Make sure all switches are accepted vlan information from server. Verify at your end.
LAB : VLan and Trunking
 Task 5: PC9 and PC10 having different IP's but in single Vlan. You need to communicate
PC9 and PC10. (No need to communicate with server and Routers).

SW1

vlan 100
exit

SW4

interface range f0/6-7


switchport mode access
switchport access vlan 100
exit

int vlan 100


ip add 10.0.0.1 255.255.255.0
ip add 20.0.0.1 255.255.255.0 secondary
exit

Verify using ping between pc9 and pc10.

(NOTE: Make sure ASW switches assign interface on respected vlan's as per given in topology.)

On all ASW Switches

interface f0/2
switchport mode access
switchport access vlan 10
exit

interface f0/3
switchport mode access
switchport access vlan 20
exit

You might also like