it's about mikrotik and cisco kang

BTemplates.com

Sabtu, 20 Agustus 2016

VLAN TRUNK

VLAN TRUNK


            TRUNK berfungsi untuk melewatkan traffic VLAN dari switch yang berbeda, antara switch 1 ke switch ke 2 yang terhubung, PC0,PC1,PC2,PC3 ini masuk VLAN 100. PC8,PC5,PC6,PC7 ini masuk VLAN 200.


2 Segment 2 Switch

Konfigurasi Switch Nya :
Switch Pertama
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)#exit
Switch(config)#vlan 200
Switch(config-vlan)#name Siswa
Switch(config-vlan)#exit
Switch(config)#interface FastEthernet0/1
Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/2
Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/3
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/4
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/5
Switch(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up

Switch(config-if)#exit
Switch(config)#do wr
Building configuration...
[OK]
Switch(config)#

Switch kedua
            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)#exit
Switch(config)#vlan 200
Switch(config-vlan)#name Siswa
Switch(config-vlan)#exit
Switch(config)#interface FastEthernet0/1
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to                 down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up

Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/2
Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/3
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/4
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/5
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#do wr
Building configuration...
[OK]

Hasil Konfigurasi :
Test Ping dari PC0 ke PC1 , PC2, & PC3



Test Ping dari PC8 ke PC5,PC6, & PC7


Share:

0 komentar:

Posting Komentar

BTemplates.com

Diberdayakan oleh Blogger.

Labels