Untuk memahami static routing bisa baca di Konfigurasi Static Routing, untuk memahami VLAN bisa baca di Konfigurasi Simpel VLAN dan untuk memahami Inter VLAN Routing bisa baca di Konfigurasi Inter VLAN Routing.
Buatlah desain topologi seperti ini :
Langkah-langkah Kerja
- Konfigurasi IP pada masing-masing interface PC dan router
- Konfigurasi VLAN pada masing-masing switch
- Konfigurasi Inter VLAN Routing pada masing-masing router
- Konfigurasi Static Routing pada masing-masing router
- Verifikasi hasil konfigurasi
Tabel interface
Konfigurasi Interface R1
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int fa0/1
R1(config-if)#ip address 10.10.10.1 255.0.0.0
R1(config-if)#no shut
Konfigurasi Interface R2
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#int fa0/1
R2(config-if)#ip address 10.10.10.2 255.0.0.0
R2(config-if)#no shut
R2(config)#int fa1/0
R2(config-if)#ip address 11.11.11.1 255.0.0.0
R2(config-if)#no shut
Konfigurasi Interface R3
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R3
R3(config)#int fa0/1
R3(config-if)#ip address 11.11.11.2 255.0.0.0
R3(config-if)#no shut
Konfigurasi IP PC0
Untuk PC1, PC2, PC3, PC4 dan PC5 isikan sesuai dengan tabel interface diatas.
Konfigurasi VLAN SW1
Switch>enLakukan konfigurasi yang sama pada SW2 dan SW3.
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW1
SW1(config)#vlan 10
SW1(config-vlan)#name marketing
SW1(config-vlan)#exit
SW1(config)#vlan 20
SW1(config-vlan)#name produksi
SW1(config-vlan)#exit
SW1(config)#int fa0/2
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 10
SW1(config)#int fa0/3
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 20
SW1(config)#int fa0/1
SW1(config-if)#switchport mode trunk
Konfigurasi Inter VLAN Routing R1
R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int fa0/0
R1(config-if)#no shutdown
R1(config-if)#exi
R1(config)#int fa0/0.10
R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip address 192.168.1.1 255.255.255.0
R1(config-subif)#exi
R1(config)#int fa0/0.20
R1(config-subif)#encapsulation dot1Q 20
R1(config-subif)#ip address 192.168.2.1 255.255.255.0
Konfigurasi Inter VLAN Routing R2
R2>en
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int fa0/0
R2(config-if)#no shutdown
R2(config-if)#exi
R2(config)#int fa0/0.10
R2(config-subif)#encapsulation dot1Q 10
R2(config-subif)#ip address 192.168.3.1 255.255.255.0
R2(config-subif)#exi
R2(config)#int fa0/0.20
R2(config-subif)#encapsulation dot1Q 20
R2(config-subif)#ip address 192.168.4.1 255.255.255.0
Konfigurasi Inter VLAN Routing R3
R3>en
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int fa0/0
R3(config-if)#no shutdown
R3(config-if)#exi
R3(config)#int fa0/0.10
R3(config-subif)#encapsulation dot1Q 10
R3(config-subif)#ip address 192.168.5.1 255.255.255.0
R3(config-subif)#exi
R3(config)#int fa0/0.20
R3(config-subif)#encapsulation dot1Q 20
R3(config-subif)#ip address 192.168.6.1 255.255.255.0
Konfigurasi Static Routing R1
R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip route 11.0.0.0 255.0.0.0 fa0/1
R1(config)#ip route 192.168.3.0 255.255.255.0 fa0/1
R1(config)#ip route 192.168.4.0 255.255.255.0 fa0/1
R1(config)#ip route 192.168.5.0 255.255.255.0 fa0/1
R1(config)#ip route 192.168.6.0 255.255.255.0 fa0/1
Konfigurasi Static Routing R2
R2>en
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ip route 192.168.1.0 255.255.255.0 fa0/1
R2(config)#ip route 192.168.2.0 255.255.255.0 fa0/1
R2(config)#ip route 192.168.5.0 255.255.255.0 fa1/0
R2(config)#ip route 192.168.6.0 255.255.255.0 fa1/0
Konfigurasi Static Routing R3
R3>en
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#ip route 10.0.0.0 255.0.0.0 fa0/1
R3(config)#ip route 192.168.3.0 255.255.255.0 fa0/1
R3(config)#ip route 192.168.4.0 255.255.255.0 fa0/1
R3(config)#ip route 192.168.1.0 255.255.255.0 fa0/1
R3(config)#ip route 192.168.2.0 255.255.255.0 fa0/1
Verifikasi Hasil Konfigurasi
- Melihat VLAN SW1
- Melihat static routing R1
- Tes konektivitas ping PC2 ke PC5
kereenn ka miftah.. tapi ribet banget ya ? hehehe..
BalasHapusini pake paket treaser ya ?
iya pake packet tracer hehe :)
BalasHapusstatic route kalo via ip itu ip si port tujuan ya. misal R1 to R2 mau di route. yang diconfig di R1 routenya (ip) (subnet) (ip yg ada di direct port R2) ? betulkan ? beda dengan via port yang di config itu (ip) (subnet) (direct port si R1 sendiri)
BalasHapus