CCNA | Lab - VLAN Trunk

CCNA | LAB - VLAN (Virtual Local Area Network)

VLAN TRUNK


Objective : Configure VLAN on switch 1 and switch 2 so they can communicate with each other.


Topology : 


Table Of IP Address : 

Device

Interface

IP Address

Subnet Mask

Laptop1

N/A

192.168.10.1

255.255.255.0

Laptop2

N/A

192.168.10.2

255.255.255.0

Laptop3

N/A

192.168.20.1

255.255.255.0

Laptop4

N/A

192.168.20.2

255.255.255.0

Laptop5

N/A

192.168.10.3

255.255.255.0

Laptop6

N/A

192.168.10.4

255.255.255.0

Laptop7

N/A

192.168.20.3

255.255.255.0

Laptop8

N/A

192.168.20.4

255.255.255.0

SW-JKT-01

N/A

N/A

N/A

SW-JKT-02

N/A

N/A

N/A



Configuration : 

SW-JKT

SW-JKT(config)#interface [interface name]

SW-JKT(config-if)#switchport mode trunk 


Perintah “switchport mode trunk” digunakan untuk mengubah interface menjadi trunk port. Trunk port berfungsi untuk membawa lalu lintas dari beberapa VLAN sekaligus melalui satu port, biasanya digunakan untuk menghubungkan antar switch atau antara switch dan router.



Full Configuration : 

SW-JKT-01

SW-JKT-01(config)#interface fa0/5

SW-JKT-01(config-if)#switchport mode trunk


SW-JKT-02

SW-JKT-02(config)#interface fa0/5

SW-JKT-02(config-if)#switchport mode trunk



Verification :

Send packet ICMP from Laptop2 (VLAN10) to Laptop5 (VLAN 10).

Send packet ICMP from Laptop4 (VLAN20) to Laptop7 (VLAN 20).

 

Posting Komentar

0 Komentar