Nama : Luffy Madinatul Siddiq
|
STATIC ROUTING DENGAN 6 BUAH ROUTER MIKROTIK
|
Tanggal : Selasa, 18 November 2014
|
Kelas : XII.TKJ.2
|
SK/KD :
| |
No. JobSheet : 10
|
Guru Produktif : Pak Maman
|
Mengkonfigurasikan 6 buah Router (Mikrotik) agar dapat saling terhubung, Tentunya kita harus paham konsep terlebih dahulu agar pada saat konfigurasi kita tidak mengalami kesulitan.
Assalamualaikum wr.wb, disini saya akan berbagi pengalaman tentang bagaimana cara membangun Static Routing dengan 6 buah Router mikrotik.
III.ALAT DAN BAHAN
1.Laptop / PC yang sudah terinstal sistem operasi, disini saya menggunakan OS LINUX
2.Software Virtual Box
3.File ISO Mikrotik versi 5.20
4.GNS3
IV. LANGKAH KERJA
Langkah 1
Install GNS3
Langkah 2
Pastikan Kita sudah mempunyai 4 buah Mikrotik RouterOS
Lalu buka GNS3 dan klik Edit -> Preference->VirtualBox->Virtual Guest-> Lalu ikuti petunjuk gambar berikut:
Langkah 4
Setelah itu kita buat TOPOLOGI Static Routing dengan 3 buah mikrotik, kurang lebih seperti ini gambarnya:
Langkah 5
Selanjutnya adalah kita mengkonfigurasikan 4 buah router tadi, kita mulai dari MIKROTIK 1 terlebih dahulu.
Langkah 6
Pertama kita beri nama mikrotiknya.
[admin@MikroTik] > system identity set name=R1
[admin@R1] > _
Memberi nama interface R1
[admin@R1] > interface set 0 name=to-LAN
[admin@R1] > interface set 1 name=to-R2
[admin@R1] > interface set 2 name=to-R4
[admin@R1] > interface pr
Lalu memberikan IP pada setiap interface di R1
[admin@R1] > ip address add address=192.168.10.1/24 interface=to-LAN
[admin@R1] > ip address add address=10.10.10.1/30 interface=to-R2
[admin@R1] > ip address add address=40.40.40.1/30 interface=to-R4
[admin@R1] > ip address pr
Selanjutnya adalah menambahkan Routing di R1
[admin@R1] > ip route add dst-address=192.168.20.0/24 gateway=10.10.10.2
[admin@R1] > ip route add dst-address=20.20.20.0/30 gateway=10.10.10.2
[admin@R1] > ip route add dst-address=192.168.30.0/24 gateway=10.10.10.2
[admin@R1] > ip route add dst-address=30.30.30.0/30 gateway=10.10.10.2
[admin@R1] > ip route add dst-address=192.168.60.0/24 gateway=40.40.40.2
[admin@R1] > ip route add dst-address=192.168.40.0/24 gateway=40.40.40.2
[admin@R1] > ip route add dst-address=192.168.50.0/24 gateway=40.40.40.2
[admin@R1] > ip route add dst-address=60.60.60.0/30 gateway=40.40.40.2
[admin@R1] > ip route add dst-address=192.168.60.0/24 gateway=40.40.40.2
[admin@R1] > ip route pr
Konfigurasi MIKROTIK 2
Langkah 11
Pertama kita beri nama mikrotiknya.
[admin@MikroTik] > system identity set name=R2
[admin@R2] > _
Memberi nama interface R2
[admin@R2] > interface set 0 name=to-LAN
[admin@R2] > interface set 1 name=to-R1
[admin@R2] > interface set 2 name=to-R3
[admin@R2] > interface pr
Lalu memberikan IP pada setiap interface di R2
[admin@R2] > ip address add address=192.168.20.1/24 interface=to-LAN
[admin@R2] > ip address add address=10.10.10.2/30 interface=to-R1
[admin@R2] > ip address add address=20.20.20.1/30 interface=to-R3
[admin@R2] > ip address pr
Selanjutnya adalah menambahkan Routing di R2
[admin@R2] > ip route add dst-address=192.168.10.0/24 gateway=10.10.10.1
[admin@R2] > ip route add dst-address=40.40.40.0/30 gateway=10.10.10.1
[admin@R2] > ip route add dst-address=192.168.40.0/24 gateway=10.10.10.1
[admin@R2] > ip route add dst-address=50.50.50.0/30 gateway=10.10.10.1
[admin@R2] > ip route add dst-address=192.168.50.0/24 gateway=10.10.10.2
[admin@R2] > ip route add dst-address=192.168.30.0/24 gateway=20.20.20.2
[admin@R2] > ip route add dst-address=30.30.30.0/30 gateway=20.20.20.2
[admin@R2] > ip route add dst-address=192.168.60.0/24 gateway=20.20.20.2
[admin@R2] > ip route add dst-address=60.60.60.0/30 gateway=20.20.20.2
[admin@R2] > ip route add dst-address=192.168.50.0/24 gateway=20.20.20.2
[admin@R2] > ip route pr
Konfigurasi MIKROTIK 3
Langkah 16
Pertama kita beri nama mikrotiknya.
[admin@MikroTik] > system identity set name=R3
[admin@R3] > _
Memberi nama interface R3
[admin@R3] > interface set 0 name=to-LAN
[admin@R3] > interface set 1 name=to-R6
[admin@R3] > interface set 2 name=to-R2
[admin@R3] > interface pr
Lalu memberikan IP pada setiap interface di R3
[admin@R3] > ip address add address=192.168.30.1/24 interface=to-LAN
[admin@R3] > ip address add address=30.30.30.1/30 interface=to-R6
[admin@R3] > ip address add address=20.20.20.2/30 interface=to-R2
[admin@R3] > ip address pr
Selanjutnya adalah menambahkan Routing di R3
[admin@R3] > ip route add dst-address=192.168.60.0/24 gateway=30.30.30.2
[admin@R3] > ip route add dst-address=60.60.60.0/30 gateway=30.30.30.2
[admin@R3] > ip route add dst-address=192.168.50.0/24 gateway=30.30.30.2
[admin@R3] > ip route add dst-address=50.50.50.0/30 gateway=30.30.30.2
[admin@R3] > ip route add dst-address=192.168.40.0/24 gateway=30.30.30.2
[admin@R3] > ip route add dst-address=192.168.20.0/24 gateway=20.20.20.1
[admin@R3] > ip route add dst-address=10.10.10.0/30 gateway=20.20.20.1
[admin@R3] > ip route add dst-address=192.168.10.0/24 gateway=20.20.20.1
[admin@R3] > ip route add dst-address=40.40.40.0/30 gateway=20.20.20.1
[admin@R3] > ip route add dst-address=192.168.40.0/24 gateway=20.20.20.1
[admin@R3] > ip route pr
Konfigurasi MIKROTIK 4
Langkah 21
Pertama kita beri nama mikrotiknya.
[admin@MikroTik] > system identity set name=R4
[admin@R4] > _
Memberi nama interface R4
[admin@R4] > interface set 0 name=to-LAN
[admin@R4] > interface set 1 name=to-R5
[admin@R4] > interface set 2 name=to-R1
[admin@R4] > interface pr
Lalu memberikan IP address pada setiap interface di R4
[admin@R4] > ip address add address=192.168.40.1/24 interface=to-LAN
[admin@R4] > ip address add address=50.50.50.1/30 interface=to-R5
[admin@R4] > ip address add address=40.40.40.2/30 interface=to-R1
[admin@R4] > ip address pr
Selanjutnya adalah menambahkan Routing di R4
[admin@R4] > ip route add dst-address=192.168.50.0/24 gateway=50.50.50.2
[admin@R4] > ip route add dst-address=60.60.60.0/30 gateway=50.50.50.2
[admin@R4] > ip route add dst-address=192.168.60.0/24 gateway=50.50.50.2
[admin@R4] > ip route add dst-address=30.30.30.0/30 gateway=50.50.50.2
[admin@R4] > ip route add dst-address=192.168.30.0/24 gateway=50.50.50.2
[admin@R4] > ip route add dst-address=192.168.10.0/24 gateway=40.40.40.1
[admin@R4] > ip route add dst-address=10.10.10.0/30 gateway=40.40.40.1
[admin@R4] > ip route add dst-address=192.168.20.0/24 gateway=40.40.40.1
[admin@R4] > ip route add dst-address=20.20.20.0/30 gateway=40.40.40.1
[admin@R4] > ip route add dst-address=192.168.30.0/24 gateway=40.40.40.1
[admin@R4] > ip route pr
Langkah 25
Konfigurasi MIKROTIK 5
Konfigurasi MIKROTIK 5
Langkah 26
Pertama kita beri nama mikrotiknya.
[admin@MikroTik] > system identity set name=R5
[admin@R5] > _
Langkah 27
Memberi nama interface R5
Memberi nama interface R5
[admin@R5] > interface set 0 name=to-LAN[admin@R5] > interface set 1 name=to-R4[admin@R5] > interface set 2 name=to-R6[admin@R5] > interface pr
Langkah 28
Lalu memberikan IP pada setiap interface di R5
Lalu memberikan IP pada setiap interface di R5
[admin@R5] > ip address add address=192.168.50.1/24 interface=to-LAN[admin@R5] > ip address add address=50.50.50.2/30 interface=to-R4[admin@R5] > ip address add address=60.60.60.1/30 interface=to-R6[admin@R5] > ip address pr
Langkah 29
Selanjutnya adalah menambahkan Routing di R5
Selanjutnya adalah menambahkan Routing di R5
[admin@R5] > ip route add dst-address=192.168.40.0/24 gateway=50.50.50.1[admin@R5] > ip route add dst-address=40.40.40.0/30 gateway=50.50.50.1[admin@R5] > ip route add dst-address=192.168.10.0/24 gateway=50.50.50.1[admin@R5] > ip route add dst-address=10.10.10.0/30 gateway=50.50.50.1[admin@R5] > ip route add dst-address=192.168.20.0/24 gateway=50.50.50.1[admin@R5] > ip route add dst-address=192.168.60.0/24 gateway=60.60.60.2[admin@R5] > ip route add dst-address=30.30.30.0/30 gateway=60.60.60.2[admin@R5] > ip route add dst-address=192.168.30.0/24 gateway=60.60.60.2[admin@R5] > ip route add dst-address=20.20.20.0/30 gateway=60.60.60.2[admin@R5] > ip route add dst-address=192.168.20.0/24 gateway=60.60.60.2[admin@R5] > ip route pr
Langkah 30
Konfigurasi MIKROTIK 6
Konfigurasi MIKROTIK 6
Langkah 31
Pertama kita beri nama mikrotiknya
[admin@MikroTik] > system identity set name=R6
[admin@R6] > _
Langkah 32
Memberi nama interface R6
[admin@R6] > interface set 0 name=to-LAN[admin@R6] > interface set 1 name=to-R3[admin@R6] > interface set 2 name=to-R5[admin@R6] > interface pr
Langkah 33
Lalu memberikan IP address pada setiap interface di R6
Lalu memberikan IP address pada setiap interface di R6
[admin@R6] > ip address add address=192.168.60.1/24 interface=to-LAN[admin@R6] > ip address add address=30.30.30.2/30 interface=to-R3[admin@R6] > ip address add address=60.60.60.2/30 interface=to-R5[admin@R6] > ip address pr
Langkah 34
Selanjutnya adalah menambahkan Routing di R6
Selanjutnya adalah menambahkan Routing di R6
[admin@R6] > ip route add dst-address=192.168.30.0/24 gateway=30.30.30.1[admin@R6] > ip route add dst-address=20.20.20.0/30 gateway=30.30.30.1[admin@R6] > ip route add dst-address=192.168.20.0/24 gateway=30.30.30.1[admin@R6] > ip route add dst-address=10.10.10.0/30 gateway=30.30.30.1[admin@R6] > ip route add dst-address=192.168.10.0/24 gateway=30.30.30.1[admin@R6] > ip route add dst-address=192.168.50.0/24 gateway=60.60.60.1[admin@R6] > ip route add dst-address=50.50.50.0/30 gateway=60.60.60.1[admin@R6] > ip route add dst-address=192.168.40.0/24 gateway=60.60.60.1[admin@R6] > ip route add dst-address=40.40.40.0/30 gateway=60.60.60.1[admin@R6] > ip route add dst-address=192.168.10.0/24 gateway=60.60.60.1[admin@R6] > ip route pr
1.PING dari MIKROTIK 1 (R1)
[admin@R1] > ping 192.168.20.1
[admin@R1] > ping 192.168.30.1
[admin@R1] > ping 192.168.40.1
[admin@R1] > ping 192.168.50.1
[admin@R1] > ping 192.168.60.1
[admin@R2] > ping 192.168.10.1
[admin@R2] > ping 192.168.30.1
[admin@R2] > ping 192.168.40.1
[admin@R2] > ping 192.168.50.1
[admin@R2] > ping 192.168.60.1
[admin@R3] > ping 192.168.10.1
[admin@R3] > ping 192.168.20.1
[admin@R3] > ping 192.168.40.1
[admin@R3] > ping 192.168.50.1
[admin@R3] > ping 192.168.60.1
[admin@R4] > ping 192.168.10.1
[admin@R4] > ping 192.168.20.1
[admin@R4] > ping 192.168.30.1
[admin@R4] > ping 192.168.50.1
[admin@R4] > ping 192.168.60.1
[admin@R5] > ping 192.168.10.1
[admin@R5] > ping 192.168.20.1
[admin@R5] > ping 192.168.30.1
[admin@R5] > ping 192.168.40.1
[admin@R5] > ping 192.168.60.1
[admin@R6] > ping 192.168.10.1
[admin@R6] > ping 192.168.20.1
[admin@R6] > ping 192.168.30.1
[admin@R6] > ping 192.168.40.1
[admin@R6] > ping 192.168.50.1
- Kita harus memahami konsep Static Routing dengan 6 buah Mikrotik terlebih dahulu agar pada saat konfigurasi kita tidak bingung menentukan address ataupun gateway.
- Kita harus sabar dan teliti dalam proses pengkonfigurasian ini.