VLAN Trunk

VLAN Trunk 
Trunk berfungsi melewatkan traffic dari switch yang berbeda antara switch1 ke switch2 yang terhubung . PC0 PC1 PC2 PC3 ini masuk VLAN 100 PC4 PC5 PC6 PC ini masuk VLAN 200

 cara konfigurasi VLAN Trunk
Switch 0
Switch#enable
Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vlan 100
Switch(config-vlan)#name guru
Switch(config-vlan)#vlan 200
Switch(config-vlan)#name siswa
Switch(config-vlan)#int fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#no shutdown
Switch(config-if)#int fa0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#int fa0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#int fa0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#no sh
Switch(config-if)#int fa0/5
Switch(config-if)#switchport mode trunk
Switch(config-if)#no sh
Switch(config-if)#do wr
Building configuration...
[OK]
Switch(config-if)#
Switch 1
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vlan 100
Switch(config-vlan)#name guru
Switch(config-vlan)#vlan 200
Switch(config-vlan)#name siswa
Switch(config-vlan)#int fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#int fa0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#int fa0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#int fa0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#no sh
Switch(config-if)#int fa0/5
Switch(config-if)#switchport mode trunk
Switch(config-if)#no sh
Switch(config-if)#do wr
Building configuration...
[OK]
Hasil Konfigurasi 
 
PC>ping 200.200.200.1
Pinging 200.200.200.1 with 32 bytes of data:
Reply from 200.200.200.1: bytes=32 time=59ms TTL=128
Reply from 200.200.200.1: bytes=32 time=10ms TTL=128
Reply from 200.200.200.1: bytes=32 time=0ms TTL=128
Reply from 200.200.200.1: bytes=32 time=0ms TTL=128
Ping statistics for 200.200.200.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 59ms, Average = 17ms
PC>ping 200.200.200.1
Pinging 200.200.200.1 with 32 bytes of data:
Reply from 200.200.200.1: bytes=32 time=11ms TTL=128
Reply from 200.200.200.1: bytes=32 time=1ms TTL=128
Reply from 200.200.200.1: bytes=32 time=0ms TTL=128
Reply from 200.200.200.1: bytes=32 time=0ms TTL=128
Ping statistics for 200.200.200.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 11ms, Average = 3
Previous
Next Post »