Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 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