Nama:Fikri Zulfiqar Ababil
|
Hari/Tanggal:19 January 2017
|
|
Kelas:XII TKJ4
|
Sk/Kd:
|
|
No Jobsheet: 02
|
Konfigurasi Inter Vlan Router On Stick
|
Guru:Maman Hariana,s.kom
|
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 satu
router melalui satu interface teknik ini disebut Router On Stick .
Kekurangan dari teknik ini akan terjadi colision domain karena hanya
menggunakan satu interface . Ada dua Trunking Protocol yang bisa
digunakan :
a. ISL = Cisco Proprietary
b. IEEE = 802.11Q (dot1Q)
Switch0
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]
Switch1
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]
Router0
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastEthernet0/0
Router(config-if)#no sh
Router(config-if)#exit
Router(config)#interface fastEthernet0/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 fastEthernet0/0.200
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.200, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.200, changed state to up
en
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]
Hasil Configurasi
nging 200.200.200.2 with 32 bytes of data:
Request timed out.
Reply from 200.200.200.2: bytes=32 time=11ms TTL=127
Reply from 200.200.200.2: bytes=32 time=13ms TTL=127
Reply from 200.200.200.2: bytes=32 time=11ms TTL=127
Ping statistics for 200.200.200.2:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 11ms, Maximum = 13ms, Average = 11ms
PC>ping 200.200.200.3
Pinging 200.200.200.3 with 32 bytes of data:
Request timed out.
Reply from 200.200.200.3: bytes=32 time=13ms TTL=127
Reply from 200.200.200.3: bytes=32 time=33ms TTL=127
Reply from 200.200.200.3: bytes=32 time=12ms TTL=127
Ping statistics for 200.200.200.3:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 12ms, Maximum = 33ms, Average = 19ms
Tidak ada komentar:
Posting Komentar