Konfigurasi Router menggunakan Protokol Static
Konfigurasi masing-masing PC :
Lab-01 : Ip
Address = 192.168.1.14
Subnet Mask =
255.255.255.240
Default Gateway = 192.168.1.1
Lab-02 : Ip
Address = 192.168.1.30
Subnet Mask =
255.255.255.240
Default Gateway = 192.168.1.17
Lab-03 : Ip
Address = 192.168.1.46
Subnet Mask =
255.255.255.240
Default Gateway = 192.168.1.33
Interface pada masing-masing Router :
Router Surabaya : Serial 0/0/0 : 192.168.1.253/30 - DCE
Serial 0/0/1 : 192.168.1.250/30
Fe 0/0 :
192.168.1.1/28
Router Sidoarjo : Serial 0/0/0 : 192.168.1.254/30
Serial 0/0/1 :
192.168.1.245/30 - DCE
Fe 0/0 :
192.168.1.17/28
Router Gresik : Serial 0/0/0 : 192.168.1.249/30 - DCE
Serial 0/0/1 :
192.168.1.246/30
Fe 0/0 : 192.168.1.33/28
Konfigurasi Router
dengan protokol Static
Router Surabaya
Router>enable
Router#conf t
Router(config)#hostname Surabaya
Surabaya(config)#interface fa0/0
Surabaya(config-if)#ip addres
192.168.1.1 255.255.255.240
Surabaya(config-if)#no shutdown
Surabaya(config-if)#exit
Surabaya(config)#interface
serial0/0/0
Surabaya(config-if)#ip address
192.168.1.253 255.255.255.252
Surabaya(config-if)#clock rate
64000
Surabaya(config-if)#no shutdown
Surabaya(config)#interface
serial0/0/1
Surabaya(config-if)#ip
address 192.168.1.250 255.255.255.252
Surabaya(config-if)#clock
rate 64000
Surabaya(config-if)#no
shutdown
Surabaya(config-if)#
Surabaya#
Surabaya#conf
Surabaya(config)#ip route
192.168.1.16 255.255.255.240 192.168.1.254
Surabaya(config)#ip
route 192.168.1.32 255.255.255.240 192.168.1.249
Surabaya(config)#exit
Surabaya#copy run start
Destination filename
[startup-config]?
Building configuration...
[OK]
Surabaya#
Router Sidoarjo
Router>
Router>en
Router#conf t
Router(config)#hostname Sidoarjo
Sidoarjo(config)#int fa0/0
Sidoarjo(config-if)#ip addres
192.168.1.17 255.255.255.240
Sidoarjo(config-if)#no shut
Sidoarjo(config-if)#exit
Sidoarjo(config)#int ser0/0/0
Sidoarjo(config-if)#ip addres
192.168.1.254 255.255.255.252
Sidoarjo(config-if)#clock rate
64000
Sidoarjo(config-if)#no shut
Sidoarjo(config)#int
ser0/0/1
Sidoarjo(config-if)#ip
addres 192.168.1.245 255.255.255.252
Sidoarjo(config-if)#clock
rate 64000
Sidoarjo(config-if)#no
shut
Sidoarjo(config-if)#exit
Sidoarjo(config)#ip route
192.168.1.0 255.255.255.240 192.168.1.253
Sidoarjo(config)#ip
route 192.168.1.32 255.255.255.240 192.168.1.246
Sidoarjo(config)#exit
Sidoarjo#
Sidoarjo#copy run start
Destination filename
[startup-config]?
Building configuration...
[OK]
Sidoarjo#
Router Gresik
Router>
Router>en
Router#conf t
Router(config)#hostname
Gresik
Gresik(config)#int
fa0/0
Gresik(config-if)#ip
addres 192.168.1.33 255.255.255.240
Gresik(config-if)#no
shut
Gresik(config-if)#exit
Gresik(config)#int
ser0/0/0
Gresik(config-if)#ip
addres 192.168.1.249 255.255.255.252
Gresik(config-if)#clock
rate 64000
Gresik(config-if)#no
shut
Gresik(config)#int
ser0/0/1
Gresik(config-if)#ip
addres 192.168.1.246 255.255.255.252
Gresik(config-if)#clock
rate 64000
Gresik(config-if)#no
shut
Gresik(config-if)#exit
Gresik(config)#ip
route 192.168.1.0 255.255.255.240 192.168.1.250
Gresik(config)#ip
route 192.168.1.16 255.255.255.240 192.168.1.245
Gresik(config)#exit
Gresik#
Gresik#copy run
start
Destination
filename [startup-config]?
Building
configuration...
[OK]
Gresik#
Lakukan
ping antar client untuk mengecek apakah konfigurasi kita sudah benar atau
belum. Jika hasilnya ada reply maka konfigurasinya sudah benar.
Untuk Packet Tracernya bisa diunduh disini
Konfigurasi Router menggunakan Protokol RIP
Konfigurasi masing-masing PC :
Grk1 : Ip address =
192.168.1.1
Subnet mask = 255.255.255.0
Default Gateway = 192.168.1.254
Sby1 : Ip Address = 192.168.2.1
Subnet Mask = 255.255.255.0
Default Gateway = 192.168.2.254
Sda1 : Ip Address =
192.168.3.1
Subnet Mask = 255.255.255.0
Default Gateway = 192.168.3.254
Interface pada masing-masing Router :
Router Gresik : Serial 0/0/0 : 192.168.101.1/24 - DCE
Fe 0/0
: 192.168.1.1/24
Router Surabaya :Serial 0/0/0 : 192.168.101.254/24
Serial 0/0/1 : 192.168.102.1/24 - DCE
Fe 0/0 : 192.168.2.254/24
Router Sidoarjo : Serial 0/0/0 : 192.168.102.254/24
Fe 0/0 : 192.168.3.254/24
Konfigurasi Router dengan
protokol RIP
Router Gresik
Router>en
Router#conf t
Router(config)#hostname Gresik
Gresik(config)#interface
FastEthernet0/0
Gresik(config-if)#ip address
192.168.1.254 255.255.255.0
Gresik(config-if)#no shutdown
Gresik(config-if)#exit
Gresik(config)#interface
Serial0/0/0
Gresik(config-if)#no shutdown
Gresik(config-if)#clock rate 64000
Gresik(config-if)#ip address
192.168.101.1 255.255.255.0
Gresik(config-if)#exit
Gresik(config)#router rip
Gresik(config-router)#network
192.168.1.0
Gresik(config-router)#network
192.168.101.0
Gresik(config-router)#^z
Gresik#copy running-config
startup-config
Gresik#reload
Router Surabaya
Router>en
Router#conf t
Router(config)#hostname Surabaya
Surabaya(config)#interface
FastEthernet0/0
Surabaya(config-if)#ip address
192.168.2.254 255.255.255.0
Surabaya(config-if)#no shutdown
Surabaya(config-if)#exit
Surabaya(config)#interface
Serial0/0/0
Surabaya(config-if)#no shutdown
Surabaya(config-if)#ip address
192.168.101.254 255.255.255.0
Surabaya(config-if)#exit
Surabaya(config)#interface
Serial0/0/1
Surabaya(config-if)#no shutdown
Surabaya(config-if)#clock rate
64000
Surabaya(config-if)#ip address
192.168.102.1 255.255.255.0
Surabaya(config-if)#exit
Surabaya(config)#router rip
Surabaya(config-router)#network
192.168.1.0
Surabaya(config-router)#network
192.168.2.0
Surabaya(config-router)#network
192.168.3.0
Surabaya(config-router)#network
192.168.101.0
Surabaya(config-router)#network
192.168.102.0
Surabaya(config-router)#^z
Surabaya#copy running-config
startup-config
Surabaya#reload
Router Sidoarjo
Router>en
Router#conf t
Router(config)#hostname Sidoarjo
Sidoarjo(config)#interface
FastEthernet0/0
Sidoarjo(config-if)#ip address
192.168.3.254 255.255.255.0
Sidoarjo(config-if)#no shutdown
Sidoarjo(config-if)#exit
Sidoarjo(config)#interface
Serial0/0/0
Sidoarjo(config-if)#no shutdown
Sidoarjo(config-if)#ip address
192.168.102.254 255.255.255.0
Sidoarjo(config-if)#exit
Sidoarjo(config)#router rip
Sidoarjo(config-router)#network
192.168.3.0
Sidoarjo(config-router)#network
192.168.102.0
Sidoarjo(config-router)#^z
Sidoarjo#copy running-config
startup-config
Sidoarjo#reload
Lakukan
ping antar client untuk mengecek apakah konfigurasi kita sudah benar atau
belum. Jika hasilnya ada reply maka konfigurasinya sudah benar.
Untuk Packet Tracernya bisa diunduh disini
Konfigurasi Router Menggunakan Protokol OSPF
Konfigurasi masing-masing PC :
H1: Ip Address =
192.168.158.126
Subnet Mask
= 255.255.255.128
Default Gateway
= 192.168.158.1
H2: Ip Address =
192.168.158.190
Subnet Mask
= 255.255.255.192
Default Gateway
= 192.168.158.129
H3: Ip Address =
192.168.159.94
Subnet Mask
= 255.255.255.224
Default Gateway
= 192.168.159.65
H4: Ip Address =
192.168.158.254
Subnet Mask
= 255.255.255.0
Default Gateway
= 192.168.158.193
H5: Ip Address =
192.168.159.62
Subnet Mask
= 255.255.255.192
Default Gateway = 192.168.159.1
H6: Ip Address =
192.168.157.126
Subnet Mask
= 255.255.255.0
Default Gateway
= 192.168.157.1
Interface pada masing-masing Router :
Router HQ: fa0/0: 192.168.158.1, 255.255.255.128
fa0/1: 192.168.158.129,
255.255.255.192
s0/0/0: 192.168.159.97,
255.255.255.252
s0/0/1: 192.168.159.101,
255.255.255.252
Router R1: fa0/0: 192.168.159.65, 255.255.255.224
fa0/1: 192.168.158.193,
255.255.255.192
s0/0/0: 192.168.159.98, 255.255.255.252
Router R2: fa0/0: 192.168.157.1, 255.255.255.0
fa0/1: 192.168.159.1,
255.255.255.192
s0/0/1: 192.168.159.102,
255.255.255.252
Konfigurasi Router dengan protokol OSPF :
Router HQ
Router> en
Router# config t
Router(config)# int Fa0/0
Router(config-if)# ip add 192.168.158.1 255.255.255.128
Router(config-if)# no sh
Router(config-if)#exit
Router(config)# int Fa0/1
Router(config-if)# ip add 192.168.158.129 255.255.255.192
Router(config-if)# no sh
Router(config-if)#exit
Router(config)# int S0/0/0
Router(config-if)# ip addr 192.168.159.97 255.255.255.252
Router(config-if)# clock rate 64000
Router(config-if)# no sh
Router(config)# int S0/0/1
Router(config-if)# ip addr 192.168.159.101 255.255.255.252
Router(config-if)# clock rate 64000
Router(config-if)# no sh
Router(config)# router ospf 1
Router(config-router)# network 192.168.158.0 0.0.0.127 area 0
Router(config-router)# network 192.168.158.128 0.0.0.63 area 0
Router(config-router)# network 192.168.158.96 0.0.0.3 area 0
Router(config-router)# network 192.168.158.100 0.0.0.3 area 0
Router(config-router)#^z
Router#copy running-config startup-config
Router#reload
Router R1
Router> en
Router# config t
Router(config)# int Fa0/0
Router(config-if)# ip add 192.168.159.65 255.255.255.224
Router(config-if)# no sh
Router(config-if)#exit
Router(config)# int Fa0/1
Router(config-if)# ip add 192.168.158.193
255.255.255.192
Router(config-if)# no sh
Router(config-if)#exit
Router(config)# int S0/0/0
Router(config-if)# ip addr 192.168.159.98 255.255.255.252
Router(config-if)# clock rate 64000
Router(config-if)# no sh
Router(config-if)#exit
Router(config)# router ospf 1
Router(config-router)# network 192.168.158.64 0.0.0.31 area 0
Router(config-router)# network 192.168.158.192 0.0.0.63 area 0
Router(config-router)# network 192.168.158.96 0.0.0.3 area 0
Router(config-router)#^z
Router#copy running-config startup-config
Router#reload
Router R2
Router> en
Router# config t
Router(config)# int Fa0/0
Router(config-if)# ip add 192.168.157.1 255.255.255.0
Router(config-if)# no sh
Router(config-if)#exit
Router(config)# int Fa0/1
Router(config-if)# ip add 192.168.159.1 255.255.255.192
Router(config-if)# no sh
Router(config-if)#exit
Router(config)# int S0/0/1
Router(config-if)# ip addr 192.168.159.102 255.255.255.252
Router(config-if)# clock rate 64000
Router(config-if)# no sh
Router(config-if)#exit
Router(config)# router ospf 1
Router(config-router)# network 192.168.157.0 0.0.0.255 area 0
Router(config-router)# network 192.168.159.0 0.0.0.63 area 0
Router(config-router)# network 192.168.159.100 0.0.0.3 area 0
Router(config-router)#^z
Router#copy running-config startup-config
Router#reload
Lakukan ping antar client untuk mengecek apakah konfigurasi kita
sudah benar atau belum. Jika hasilnya ada reply maka konfigurasinya sudah
benar.
Untuk Packet Tracernya bisa diunduh disini
Konfigurasi Router menggunakan Protokol EIGRP
Konfigurasi masing-masing PC :
Grk1 : Ip address =
192.168.1.1
Subnet mask = 255.255.255.0
Default Gateway = 192.168.1.254
Sby1 : Ip Address = 192.168.2.1
Subnet Mask = 255.255.255.0
Default Gateway = 192.168.2.254
Sda1 : Ip Address =
192.168.3.1
Subnet Mask = 255.255.255.0
Default Gateway = 192.168.3.254
Interface pada masing-masing Router :
Router Gresik : Serial 0/0/0 : 192.168.101.1/24 - DCE
Fe 0/0
: 192.168.1.1/24
Router Surabaya :Serial 0/0/0 : 192.168.101.254/24
Serial 0/0/1 : 192.168.102.1/24 - DCE
Fe 0/0 : 192.168.2.254/24
Router Sidoarjo : Serial 0/0/0 : 192.168.102.254/24
Fe 0/0 : 192.168.3.254/24
Konfigurasi Router dengan
protokol EIGRP
Router Gresik
Router>en
Router#conf t
Router(config)#hostname Gresik
Gresik(config)#interface
FastEthernet0/0
Gresik(config-if)#ip address
192.168.1.254 255.255.255.0
Gresik(config-if)#no shutdown
Gresik(config-if)#exit
Gresik(config)#interface
Serial0/0/0
Gresik(config-if)#no shutdown
Gresik(config-if)#clock rate 64000
Gresik(config-if)#ip address
192.168.101.1 255.255.255.0
Gresik(config-if)#exit
Gresik(config)#router eigrp 100
Gresik(config-router)#network
192.168.1.0
Gresik(config-router)#network
192.168.101.0
Gresik(config-router)#^z
Gresik#copy running-config
startup-config
Gresik#reload
Router Surabaya
Router>en
Router#conf t
Router(config)#hostname Surabaya
Surabaya(config)#interface
FastEthernet0/0
Surabaya(config-if)#ip address
192.168.2.254 255.255.255.0
Surabaya(config-if)#no shutdown
Surabaya(config-if)#exit
Surabaya(config)#interface
Serial0/0/0
Surabaya(config-if)#no shutdown
Surabaya(config-if)#ip address
192.168.101.254 255.255.255.0
Surabaya(config-if)#exit
Surabaya(config)#interface
Serial0/0/1
Surabaya(config-if)#no shutdown
Surabaya(config-if)#clock rate
64000
Surabaya(config-if)#ip address
192.168.102.1 255.255.255.0
Surabaya(config-if)#exit
Surabaya(config)#router eigrp
100
Surabaya(config-router)#network
192.168.1.0
Surabaya(config-router)#network
192.168.2.0
Surabaya(config-router)#network
192.168.3.0
Surabaya(config-router)#network
192.168.101.0
Surabaya(config-router)#network
192.168.102.0
Surabaya(config-router)#^z
Surabaya#copy running-config
startup-config
Surabaya#reload
Router Sidoarjo
Router>en
Router#conf t
Router(config)#hostname Sidoarjo
Sidoarjo(config)#interface
FastEthernet0/0
Sidoarjo(config-if)#ip address
192.168.3.254 255.255.255.0
Sidoarjo(config-if)#no shutdown
Sidoarjo(config-if)#exit
Sidoarjo(config)#interface
Serial0/0/0
Sidoarjo(config-if)#no shutdown
Sidoarjo(config-if)#ip address
192.168.102.254 255.255.255.0
Sidoarjo(config-if)#exit
Sidoarjo(config)#router eigrp
100
Sidoarjo(config-router)#network
192.168.3.0
Sidoarjo(config-router)#network
192.168.102.0
Sidoarjo(config-router)#^z
Sidoarjo#copy running-config
startup-config
Sidoarjo#reload
Lakukan
ping antar client untuk mengecek apakah konfigurasi kita sudah benar atau
belum. Jika hasilnya ada reply maka konfigurasinya sudah benar.
Untuk Contoh Packet Tracernya bisa diunduh disini