Inter VLAN Router On Stick
RBJ
|
Title
|
:
|
Inter VLAN Router On Stick
|
Issue Date
|
:
|
20 Agustus 2016
|
|
Prepare By
|
:
|
Yada Aulia
|
|
Class
|
:
|
XII TKJ 2
|
|
Teacher
|
:
|
Suyatno, S.Kom
|
|
|
SMK AL-BAHRI KOTA BEKASI
|
Inter VLAN Router On Stick
Untuk
menghubungkan VLAN yang berbeda, dibutuhkan perangkat layer 3 baik itu router
atau switch layer 3. Cara pertama adalah dengan menggunakan 1 router melalui 1
interface. Teknik ini disebut router On Stick. Kekurangan dari teknik ini akan
terjadi colision domain karena hanya menggunakan 1 interface.
Ada 2
Trunking protocol yang bisa digunakan:
a.
ISL=
Cisco Proprietary
I b. IEEE
802.11Q (dot1Q)
konfigurasi switch 0 dan 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)#exit
Switch(config)#vlan
200
Switch(config-vlan)#name
siswa
Switch(config-vlan)#exit
Switch(config)#interface
FastEthernet0/1
Switch(config-if)#switchport
mode access
Switch(config-if)#switchport
access vlan 100
Switch(config-if)#interface
FastEthernet0/2
Switch(config-if)#switchport
mode access
Switch(config-if)#switchport
access vlan 100
Switch(config-if)#interface
FastEthernet0/3
Switch(config-if)#switchport
mode access
Switch(config-if)#switchport
access vlan 200
Switch(config-if)#interface
FastEthernet0/4
Switch(config-if)#switchport
mode access
Switch(config-if)#switchport
access vlan 200
Switch(config-if)#interface
FastEthernet0/5
Switch(config-if)#switchport
mode trunk
Switch(config-if)#no
shutdown
Switch(config-if)#do
wr
Building
configuration...
[OK]
KONFIGURASI
ROUTER
Router>enable
Router#configure
terminal
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#interface
fastEthernet 0/0
Router(config-if)#no
shutdown
Router(config-if)#exit
Router(config)#interface
fastEthernet 0/0.100
Router(config-subif)#encapsulation
dot1Q 100
Router(config-subif)#ip
address 100.100.100.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface
fastEthernet 0/0.200
Router(config-subif)#encapsulation
dot1Q 200
Router(config-subif)#ip
address 200.200.200.1 255.255.255.0
Router(config-subif)#do
wr
Building
configuration...
[OK]
dan ini hasil ping dari pc 6 ke pc 1
0 Response to "Inter VLAN Router On Stick"
Posting Komentar