IMPLEMENTASI LOAD BALANCING INTERDOMAIN TRAFFIC ENGINEERING DENGAN BGP PADA STUB-MULTIHOMED AUTONOMOUS SYSTEM
TUGAS AKHIR
Diajukan Untuk Memenuhi Persyaratan Akademik Studi Strata Satu (S1) Teknik Informatika Universitas Muhammadiyah Malang
Oleh: Andri Faryan 07560102
JURUSAN TEKNIK INFORMATIKA FAKULTAS TEKNIK UNIVERSITAS MUHAMMADIYAH MALANG 2013
LEMBAR PENGESAHAN
IMPLEMENTASI LOAD BALANCING INTERDOMAIN TRAFFIC ENGINEERING DENGAN BGP PADA STUBMULTIHOMED AUTONOMOUS SYSTEM
TUGAS AKHIR Sebagai Persyaratan Guna Meraih Gelar Sarjana Strata 1 Teknik Informatika Universitas Muhammadiyah Malang Disusun Oleh: Andri Faryan 07560102 Tugas Akhir ini telah diuji dan dinyatakan lulus melalui sidang majelis penguji Menyetujui Penguji I
Penguji II
Ali Sofyan Kholimi, S.Kom.
Syaifuddin, S.Kom.
NIDN: 0701038202
NIDN: 0716118701 Mengetahui,
Ketua Jurusan Teknik Informatika
Eko Budi Cahyono, S.Kom, M.T. NIP: 10892030255
KATA PENGANTAR Dengan memanjatkan puji syukur kehadirat Allah SWT. Atas limpahan rahmat dan hidayah-Nya sehingga peneliti dapat menyelesaikan tugas akhir yang berjudul : “IMPLEMENTASI LOAD BALANCING INTERDOMAIN TRAFFIC ENGINEERING DENGAN BGP PADA STUB-MULTIHOMED AUTONOMOUS SYSTEM “ Di dalam tulisan ini disajikan pokok-pokok pembahasan yang meliputi pendahuluan, landasan teori, perancangan sistem, implementasi dan pengujian sistem. Peneliti menyadari sepenuhnya bahwa dalam penulisan tugas akhir ini masih banyak kekurangan dan keterbatasan. Oleh karena itu peneliti mengharapkan saran yang membangun agar tulisan ini bermanfaat bagi perkembangan ilmu pengetahuan ke depan. Akhir kata peneliti mengucapkan terimakasih kepada semua pihak yang telah membantu hingga tugas akhir ini terselesaikan
Malang, 23 April 2013
Penulis
DAFTAR ISI
LEMBAR PERSETUJUAN ..............................................................................
i
LEMBAR PENGESAHAN ............................................................................
ii
LEMBAR PERNYATAAN ............................................................................. iii ABSTRAKSI ..................................................................................................... iv ABSTRACT .......................................................................................................
v
LEMBAR PERSEMBAHAN ............................................................................ vi KATA PENGANTAR ..................................................................................... vii DAFTAR ISI .................................................................................................... viii DAFTAR GAMBAR .......................................................................................
xi
DAFTAR TABEL ............................................................................................ xiii BAB I .................................................................................................................... 1 PENDAHULUAN ................................................................................................. 1 1.1
Latar Belakang ........................................................................................... 1
1.2
Rumusan Masalah ...................................................................................... 2
1.3
Tujuan ........................................................................................................ 2
1.4
Batasan Masalah ......................................................................................... 3
1.5
Metodologi Penyelesaian Masalah ............................................................. 3
1.6
Sistematika Penulisan ................................................................................. 5
BAB II .................................................................................................................... 6 LANDASAN TEORI ............................................................................................. 6 2.1
Internet ....................................................................................................... 6
2.1.1
Sejarah Teknologi Internet ......................................................................... 6
2.1.2
Organisasi dan Routing di Internet ............................................................ 7
2.2
Border Gateway Protokol (BGP) ............................................................... 9
2.2.1
Pengenalan Border Gateway Protokol (BGP) ............................................ 9
2.2.2
Jenis-jenis BGP ........................................................................................ 10
2.2.3
Proses Routing Protokol BGP .................................................................. 12
2.2.4
Atribut-atribut BGP (Border Gateway Protokol) ..................................... 13
2.2.5
Pemilihan jalur dalam BGP ...................................................................... 16
2.3
Traffic Engineering .................................................................................. 18
2.3.1
Pengukuran dalam taffic engineering ....................................................... 18
2.3.2
Interdomain traffic engineering ................................................................ 19
2.4
Load Balancing ........................................................................................ 20
2.5
Juniper ...................................................................................................... 20
2.5.1
Pengertian Juniper .................................................................................... 20
2.5.2
Komponen Juniper ................................................................................... 21
2.6
FreeBSD ................................................................................................... 23
2.7
Cacti ......................................................................................................... 23
2.8
SNMP ...................................................................................................... 24
BAB III ................................................................................................................ 25 ANALISA DAN PERANCANGAN ROUTER BGP DENGAN JUNOS
....... 25
3.1
Metodologi Perancangan Router JUNOS ................................................ 25
3.2
Analisa Topologi Router BGP dengan JUNOS ....................................... 26
3.3
Persiapan Perangkat keras dan Perangkat lunak ...................................... 27
3.3.1
Spesifikasi Perangkat keras ...................................................................... 27
3.3.2
Instalasi Perangkat Lunak ........................................................................ 28
3.4
Instalasi Sistem Operasi FreeBSD ........................................................... 28
3.5
Instalasi Router JUNOS ........................................................................... 29
3.6
Instalasi Traffic Monitoring ..................................................................... 33
3.6.1
Cacti ......................................................................................................... 34
3.6.2
JWeb (Juniper Web Management) ........................................................... 34
3.7 BGP
Perancangan Load Balancing Interdomain Traffic Engineering Dengan ................................................................................................................... 34
BAB IV ................................................................................................................ 39 PEMBAHASAN DAN PENGUJIAN .................................................................. 39 4.1
Implementasi ............................................................................................ 39
4.1.1
Implementasi Router JUNOS ................................................................... 39
4.1.2
Pengalamatan IP Address ......................................................................... 41
4.1.3
Konfigurasi Router BGP .......................................................................... 43
4.1.4
Load Balancing Interdomian Traffic Engineering Pada Router BGP ................................................................................................................... 45
4.2
Pengujian Router Junos BGP ................................................................... 47
4.2.1
Pengujian Protokol BGP .......................................................................... 47
4.2.2
Pengujian Incoming Traffic Interdomain ................................................. 49
4.2.3
Pengujian Outgoing Traffic Interdomain ................................................. 50
4.2.4
Pengujian Load Balancing Traffic Interdomain ....................................... 52
BAB V .................................................................................................................. 61 KESIMPULAN DAN SARAN ............................................................................ 61 5.1
Kesimpulan .............................................................................................. 61
5.2
Saran ......................................................................................................... 62
DAFTAR PUSTAKA .......................................................................................... 63 LAMPIRAN
DAFTAR GAMBAR Gambar 2.1 Topologi jaringan dengan sesi eBGP dan iBGP ................................10 Gambar 2.2 Atribut-atribut pada BGP ...................................................................16 Gambar 2.3 Sketsa Router BGP .............................................................................16 Gambar 2.4 Platform Juniper .................................................................................21 Gambar 2.5 Boot Sequence Juniper .......................................................................22 Gambar 2.6 Mode hirarki direktori ........................................................................23 Gambar 3.1 Diagram Alir Perancangan Router JUNOS ........................................25 Gambar 3.2 Topologi Jaringan Router BGP dengan JUNOS ................................26 Gambar 3.3 Kombinasi pin konektor DB9 RS232 dengan DB9 female ...............32 Gambar 3.4 Konfigurasi aplikasi minicom ............................................................33 Gambar 3.5 Mengendalikan outgoing traffic dengan LOCAL_PREF ..................36 Gambar 3.6 Mengendalikan incoming traffic dengan AS_PATH prepending ......36 Gambar 4.1 Proses Penggabungan Packet Jinstall .................................................39 Gambar 4.2 Proses install paket Jinstall di minicom .............................................40 Gambar 4.3 Paket Jinstall berhasil diinstall pada PC/Komputer ...........................40 Gambar 4.4 IP address pada setiap Router JUNOS ...............................................41 Gambar 4.5 Route Protokol BGP pada Router 1 ...................................................47 Gambar 4.6 Route Protokol BGP pada Router 2 ...................................................48 Gambar 4.7 Route Protokol BGP pada Router 3 ...................................................48 Gambar 4.8 Route Protokol BGP pada Router 4 ...................................................48 Gambar 4.9 Route Protokol BGP pada Router 5 ...................................................49 Gambar 4.10 Ping Test Incoming Traffic dari Router 1 menuju Router 5 ............49 Gambar 4.11 Test Traceroute Incoming Traffic dari Router 1 menuju Router 5 ..49 Gambar 4.12 Monitoring Jalur Incoming Traffic pada Router 4 Interfaces em2 ..50 Gambar 4.13 Monitoring Jalur Incoming Traffic pada Router 4 Interfaces em4 ..50 Gambar 4.14 Ping Test Outgoing Traffic dari Router 5 menuju Router 1 ............51 Gambar 4.15 Test Traceroute Outgoing Traffic dari Router 5 menuju Router 1 ..51 Gambar 4.16 Monitoring Jalur Outgoing Traffic pada Router 4 Interfaces em4 ..51 Gambar 4.17 Monitoring Jalur Outgoing Traffic pada Router 4 Interfaces em2 ..52 Gambar 4.18 Disable Interface em2 pada Router 2 sebagai ISP B ........................52
Gambar 4.19 Hasil Traceroute Load Balancing Incoming Traffic ........................53 Gambar 4.20 Monitoring Load Balancing Incoming Traffic pada Router 4 .........53 Gambar 4.21 Disable Interface em4 pada Router 3 sebagai ISP A .......................54 Gambar 4.22 Hasil Traceroute Load Balancing Outgoing Traffic ........................54 Gambar 4.23 Monitoring Load Balancing Incoming Traffic pada Router 1 .........55 Gambar 4.24 Monitoring Load Balancing Incoming traffic ..................................56 Gambar 4.25 Proses Load Balancing Incoming traffic ..........................................56 Gambar 4.26 Jalur Traffic Load Balancing Incoming traffic ................................57 Gambar 4.27 Monitoring Load Balancing Outgoing traffic ..................................58 Gambar 4.28 Proses Load Balancing Outgoing traffic ..........................................58 Gambar 4.29 Jalur Traffic Load Balancing Outgoing traffic .................................59 Gambar 4.30 Pengujian Load Balancing Interdomain Traffic Engineering ..........60
DAFTAR TABEL Tabel 2.1 Model Router Juniper ............................................................................21 Tabel 3.1 Fungsi dari masing-masing pin pada DB9 ............................................31 Tabel 3.2 Kombinasi Nomor Pin antara kabel serial RS232 konektor DB9 dengan DB9 female ............................................................................................................32 Tabel 4.1 Alokasi IP address masing-masing Router JUNOS ..............................42 Tabel 4.2 ASN pada setiap Router ........................................................................43 Tabel 4.3 Hasil pengujian switching jalur ISP ......................................................59
DAFTAR PUSTAKA [1] A Border Gateway Protokol. http://tools.ietf.org/html/rfc4271, Januari 2006. [2] Bramantyo, A.S. “Optimalisasi Interdomain Routing Dengan BGP Pada StubMultihomed Autonomous System” Institut Teknologi Bandung, Bandung, 2007. [3] Cacti. http://www.cacti.net, 2013. [4] FreeBSD. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ , 2012. [5] Juniper. http://www.juniper.net/us/en/community/junos/, 2012. [6] Paresmana, Rizal. “Implementasi Route dengan Border Gateway Protokol Menggunakan Algoritma Multihoming Route Control (MRC) Pada StubMultihomed Autonomous System” Jurusan Informatika, Institute Teknologi 10 November Surabaya, 2009. [7] Putrayana, C. Periyadi. Sularsa, Anang. “Perancangan Dan Simulasi BGP Routing Di Mikrotik Dengan Menggunakan Jaringan IPV6”. Program Studi Teknik Komputer, Politeknik Telkom, Bandung, 2011. [8] Riyanto, Sigit. “Rancang Bangun Database Terpusat Network Control System Pada Pt Bank Niaga Tbk Berbasis Web” Sekolah Tinggi Manajemen Informatika dan Komputer, Jakarta STI&K, 2008. [9] Roisman, Dani. “Effective BGP Load Balancing Using The Metric System” Nanog45, Peak Web Consulting, 2009. [10] Ruomei Gao, Constantions Dovrolis, and Ellen W.Zegura. “Interdomain ngress Traffic Engineerng Through Optimized AS-Path Prepending” College of Computing, Georgia Institute of Technology, Atlanta , Georgia. [11] SNMP. http://www.snmp.com. 2013. [12] Smith, P.: BGP multihoming techniques. NANOG 23 (2001).
[13] Syariyanto, Trisno, Binambuni, S.R, dan Noord B.G. “Analisa dan Perancangan Router Reflector dengan mengunakan BGP pada P.T. Indonusa System Integrator Prima”, Universitas Bina Nusantara, Jakarta, 2009. [14] Zamzami, Fadilah, N. “Implementasi Load Balancing Dan Failover Menggunakan Mikrotik Router OS Berdasarkan Multihomed Gateway Pada Warung Internet DIGA”, Politeknik Telkom, Bandung, 2011.