A.
VLAN TRUNK
Trunk
berfungsi untuk melewatkan traffic VLAN dari swicth yang berbeda, antara swicth
1 ke swicth 2 yang terhubung, PC0, PC1, PC2, PC3, Ini masuk PC4, PC5, PC6, PC7
1. Configurasi 2 swicth 2 segmen
Switch>enable
Switch#vlan database
Switch(vlan)#vlan 100 name guru
VLAN 100 added:
Name: guru
Switch(vlan)#vlan 200 name siswa
VLAN 200 added:
Name: siswa
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#conf (tab)
Switch#configure ter (tab)
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#interface fastEthernet 0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#interface fastEthernet 0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#interface fastEthernet 0/5
Switch(config-if)#switchport mode trunk
Switch(config-if)#no shutdown
Switch(config-if)#exit
Hasil ping dari PC3 ke PC0








0 comments:
Post a Comment