Nama : Dicky Renaldi
|
Static Routing Dengan 6 Buah Router Mikrotik Dengan GNS3
|
Tanggal : 18 November 2014
|
Kelas : XII TKJ 2
|
SK/KD :
|
No. JobSheet : 7
|
|
I. TUJUAN
Mempelajari bagaimana cara Static Routing Dengan 6 Buah Mikrotik Dengan GNS3.
II. PENDAHULUAN
Assalamualaikum wr wb, disini saya akan menjelaskan bagaimana cara Static Routing Dengan 6 Buah Mikrotik Dengan GNS3.
III. ALAT DAN BAHAN
1.PC/LAPTOP
2.VitualBox
3.ISO MikroTik 5.20
4.GNS3
IV. LANGKAH KERJA
1. Install GNS3
Root :~ # sudo dpkg –i gns3_0.7.4-1_all.deb
2. Lalu buka GNS3 dan klik Edit kemudian Preferences, lalu klik Refresh VM List dan isi dengan nama mik-1 dengan Number of NICs: 3 dan VM Listnya MIKROTIK 1.
Dan begitu juga untuk mikrotik yang kedua dan seterusnya.
3. Setelah itu kita buat topologinya seperti gambar dibawah ini lalu kita klik Start yang berwarna hijau.
4. Maka 6 buat Mikrotik yang sudah kita buat akan otomatis "Start" sendiri.
5. Dan sekarang kita lanjut untuk mengkonfigurasi Mikrotiknya dari Mikrotik 1. Pertama kita beri nama Mikrotiknya.
[admin@mikrotik]> system identity set name=R1
6. 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
7. Memberikan IP pada setiap interface 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
8. Selanjutnya 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=10.10.10.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=50.50.50.0/30 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
9. Konfigurasi MIKROTIK 2. Pertama kita beri nama MikroTiknya.
[admin@MikroTik]> system identity set name=R2
10. 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
11. Memberikan IP pada setiap interface 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
12. Selanjutnya menambahkan Routing di R2.
[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 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.1
[admin@R2]> ip route pr
13. Konfigurasi MIKROTIK 3. Pertama kita beri nama MikroTiknya.
[admin@MikroTik] > system identity set name=R3
14. 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
15. Memberikan IP pada setiap interface 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
16. Selanjutnya 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
17. Konfigurasi MIKROTIK 4. Pertama kita beri nama MikroTiknya.
[admin@MikroTik]> system identity set name=R4
18. 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
19. Memberikan IP pada setiap interface 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
20. Selanjutnya menambahkan Routing di R4.
[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 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 pr
21. Konfigurasi MIKROTIK 5. Pertama kita beri nama MikroTiknya.
[admin@MikroTik]> system identity set name=R5
22. 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
23. Memberikan IP pada setiap interface 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
24. Selanjutnya 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
25. Konfigurasi MIKROTIK 6. Pertama kita beri nama MikroTiknya.
[admin@MikroTik]> system identity set name=R6
26. Memberi nama interface R5.
[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
27. Memberikan IP pada setiap interface 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
28. Selanjutnya menambahkan Routing di R6.
[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 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 pr
V. HASIL KERJA
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
2. Ping dari MIKROTIK 2 (R2)
[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
3. Ping dari MIKROTIK 3 (R3)
[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
4. Ping dari MIKROTIK 4 (R4)
[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
5. Ping dari MIKROTIK 5 (R5)
[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
6. Ping dari MIKROTIK 6 (R6)
[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
VI. KESIMPULAN
Dalam melakukkan konfigurasi Static Routing dengan 6 buah MikroTik kita harus memahami konsepnya terlebih dahulu dan juga jangan sampai ada yang kurang atau terlewat. Dan juga semoga postingan saya kali ini dapat dimengerti dan bermanfaat.
Wassalamualaikum wr.wb