0% menganggap dokumen ini bermanfaat (0 suara)
579 tayangan6 halaman

Konfigurasi Static Routing Menggunakan 4 Router

Konfigurasi routing statis menggunakan 4 router dengan hostname Bekasi, Bandung, Semarang, dan Bogor yang terhubung secara serial. Setiap interface router dikonfigurasi alamat IP dan routing statis untuk menghubungkan jaringan yang terpisah.

Diunggah oleh

moh.muallimin
Hak Cipta
© © All Rights Reserved
Kami menangani hak cipta konten dengan serius. Jika Anda merasa konten ini milik Anda, ajukan klaim di sini.
Format Tersedia
Unduh sebagai DOCX, PDF, TXT atau baca online di Scribd
0% menganggap dokumen ini bermanfaat (0 suara)
579 tayangan6 halaman

Konfigurasi Static Routing Menggunakan 4 Router

Konfigurasi routing statis menggunakan 4 router dengan hostname Bekasi, Bandung, Semarang, dan Bogor yang terhubung secara serial. Setiap interface router dikonfigurasi alamat IP dan routing statis untuk menghubungkan jaringan yang terpisah.

Diunggah oleh

moh.muallimin
Hak Cipta
© © All Rights Reserved
Kami menangani hak cipta konten dengan serius. Jika Anda merasa konten ini milik Anda, ajukan klaim di sini.
Format Tersedia
Unduh sebagai DOCX, PDF, TXT atau baca online di Scribd

Konfigurasi Static Routing menggunakan 4 Router

Berikut Topologi yang saya buat

Penjelasan Topologi:
4 buah Router
Hostname nama kota
Tentukan IP Address pada setiap interface Router
Menggunakan Kabel Serial

1. Merubah hostname pada tiap router


Sesuai dengan penjelasan topologi yang saya buat, kali ini saya merubah hostname :
R1 dengan hostname Bekasi
R2 dengan hostname Bandung
R3 dengan hostname Semarang
R4 dengan hostname Bogor
Note "Jika Hostname nya tidak ingin dirubah juga tidak apa-apa ,karna tidak akan berpengaruh pada saat
routing"

R1
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Bekasi
Bekasi(config)#

R2
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Bandung
Bandung(config)#

R3
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Semarang
Semarang(config)#

R4
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Bogor
Bogor(config)#
2. Konfigurasi Ip Address
Sebelum men-setting IP Address pada setiap interface, pastikan Anda menentukan IP Address yang ingin
Anda pakai. Perintah untuk menambahkan IP Address adalah:
ip address [alamat IP] [subnet mask]

Pada kali ini saya menggunakan IP Address :


R1 (Bekasi)
interface serial2/0 menggunakan IP Address 10.10.10.1 dengan subnetmask 255.255.255.252
R2 (Bandung)
interface serial2/0 menggunakan IP Address 10.10.10.2 dengan subnetmask 255.255.255.252
interface serial3/0 menggunakan IP Address 11.11.11.1 dengan subnetmask 255.255.255.252
R3 (Semarang)
interface serial2/0 menggunakan IP Address 11.11.11.2 dengan subnetmask 255.255.255.252
interface serial3/0 menggunakan IP Address 12.12.12.2 dengan subnetmask 255.255.255.252
R4 (Bogor)
interface serial2/0 menggunakan IP Address 12.12.12.1 dengan subnetmask 255.255.255.252

R1 (Bekasi)
Bekasi>enable
Bekasi#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Bekasi(config)#int se2/0
Bekasi(config-if)#ip addr 10.10.10.1 255.255.255.252
Bekasi(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


Bekasi(config-if)#exit
Bekasi(config)#

R2 (Bandung)
Bandung>enable
Bandung#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Bandung(config)#int se2/0
Bandung(config-if)#ip addr 10.10.10.2 255.255.255.252
Bandung(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Bandung(config-if)#exit
Bandung(config)#int se3/0
Bandung(config-if)#ip addr 11.11.11.1 255.255.255.252
Bandung(config-if)#no shut

%LINK-5-CHANGED: Interface Serial3/0, changed state to down


Bandung(config-if)#exit
Bandung(config)#

R3 (Semarang)
Semarang>enable
Semarang#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Semarang(config)#int se2/0
Semarang(config-if)#ip addr 11.11.11.2 255.255.255.252
Semarang(config-if)#no shut

Semarang(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Semarang(config-if)#exit
Semarang(config)#int se3/0
Semarang(config-if)#ip addr 12.12.12.2 255.255.255.252
Semarang(config-if)#no shut
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
Semarang(config-if)#exit
Semarang(config)#

R4 (Bogor)
Bogor>enable
Bogor#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Bogor(config)#int se2/0
Bogor(config-if)#ip addr 12.12.12.1 255.255.255.252
Bogor(config-if)#no shut

Bogor(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Bogor(config-if)#exit
Bogor(config)#

3. Konfigurasi Static Routing


Setelah setting IP Address pada setiap interface, yang harus dilakukan selanjutnya adalah konfigurasi Static
Routing. Konfigurasi routing digunakan untuk menghubungkan router yang tidak terhubung langsung dari
suatu network ke network lainnya. Di Static Routing ini, kita men-setel routing secara manual dengan
menggunakan perintah :
ip route [network tujuan] [subnetmask] [nexthope]

Contohnya adalah :

Router(config)#ip route 20.20.20.0 255.255.255.0 19.19.19.2


Penjelasan :
20.20.20.0 = Network tujuan
255.255.255.0 = Subnetmask tujuan
19.19.19.2 = Next Hope Address (IP Address pada interface router yang bersebelahan)

R1 (Bekasi)
Bekasi>enable
Bekasi#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Bekasi(config)#ip route 11.11.11.0 255.255.255.252 10.10.10.2
Bekasi(config)#ip route 12.12.12.0 255.255.255.252 10.10.10.2
Bekasi(config)#

R2 (Bandung)
Bandung>enable
Bandung#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Bandung(config)#ip route 12.12.12.0 255.255.255.252 11.11.11.2
Bandung(config)#

R3 (Semarang)
Semarang>enable
Semarang#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Semarang(config)#ip route 10.10.10.0 255.255.255.252 11.11.11.1
Semarang(config)#

R4 (Bogor)
Bogor>enable
Bogor#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Bogor(config)#ip route 10.10.10.0 255.255.255.252 12.12.12.2
Bogor(config)#ip route 11.11.11.0 255.255.255.252 12.12.12.2
Bogor(config)#
4. Verivikasi Ping antar Router
Setelah konfigurasi routing, selanjutnya Anda akan melakukan verivikasi ping antar Router yang berbeda
network. Saat Anda melakukan ping, pastikan mendapatkan reply dan success rate diatas 0%. Jika gagal,
mungkin ada kesalahan pada saat Anda meng-konfigurasi Static Routing.

R1 (Bekasi)
Bekasi#ping 11.11.11.2

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 11.11.11.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/23/38 ms

Bekasi#

Bekasi#ping 12.12.12.1

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 12.12.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/13/54 ms

Bekasi#

R2 (Bandung)
Bandung#ping 12.12.12.1

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 12.12.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/13/39 ms

Bandung#

R3 (Semarang)
Semarang#ping 10.10.10.1

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 13/18/28 ms

Semarang#

R4 (Bogor)
Bogor#ping 11.11.11.1

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 11.11.11.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/19/39 ms

Bogor#

Bogor#ping 10.10.10.1

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/10/31 ms

Bogor#
5. Verivikasi Static Routing
Setelah melakukan ping antar router yang berbeda network, tahap selanjutnya adalah verivikasi Static
Routing untuk melihat tabel routing. Perintah yang digunakan adalah :
show ip route

Show ip route digunakan untuk menampilkan isi dari tabel routing. Tabel routing bertujuan untuk
memberitahu router, jalur mana yang harus dilewati untuk menuju network tujuan yang berbeda. Tabel
routing berisi daftar alamat jaringan yang sudah dikenal, baik itu jaringan yang terhubung secara langsung,
jaringan yang di konfigurasi secara statis, maupun jaringan yang dipelajari router secara dinamis.

R1 (Bekasi)
Bekasi#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/30 is subnetted, 1 subnets


C 10.10.10.0 is directly connected, Serial2/0
11.0.0.0/30 is subnetted, 1 subnets
S 11.11.11.0 [1/0] via 10.10.10.2
12.0.0.0/30 is subnetted, 1 subnets
S 12.12.12.0 [1/0] via 10.10.10.2
Bekasi#

R2 (Bandung)
Bandung#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/30 is subnetted, 1 subnets


C 10.10.10.0 is directly connected, Serial2/0
11.0.0.0/30 is subnetted, 1 subnets
C 11.11.11.0 is directly connected, Serial3/0
12.0.0.0/30 is subnetted, 1 subnets
S 12.12.12.0 [1/0] via 11.11.11.2
Bandung#

R3 (Semarang)
Semarang#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set

10.0.0.0/30 is subnetted, 1 subnets


S 10.10.10.0 [1/0] via 11.11.11.1
11.0.0.0/30 is subnetted, 1 subnets
C 11.11.11.0 is directly connected, Serial2/0
12.0.0.0/30 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, Serial3/0
Semarang#

R4 (Bogor)
Bogor#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/30 is subnetted, 1 subnets


S 10.10.10.0 [1/0] via 12.12.12.2
11.0.0.0/30 is subnetted, 1 subnets
S 11.11.11.0 [1/0] via 12.12.12.2
12.0.0.0/30 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, Serial2/0
Bogor#

Anda mungkin juga menyukai