Perbedaan Kinerja Routing Protokol OSPFv2 Dan RIPv2 Pada Jaringan IPv4 Dengan Menggunakan Simulator...

18
Paper Perbedaan Kinerja Routing Protokol OSPFv2 Dan RIPv2 Pada Jaringan IPv4 Dengan Menggunakan Simulator GNS3 Dan eNSP Mata Kuliah : Praktik Aplikasi Jaringan Dosen Pengampu: Handaru Jati, Ph.D Disusun Oleh : Linda Setiawati, S.Kom NIM 13702251048 PTK Vokasi TI PROGRAM STUDI PENDIDIKAN TEKNOLOGI DAN KEJURUAN PROGRAM PASCASARJANA UNIVERSITAS NEGERI YOGYAKARTA 2014

Transcript of Perbedaan Kinerja Routing Protokol OSPFv2 Dan RIPv2 Pada Jaringan IPv4 Dengan Menggunakan Simulator...

Paper

Perbedaan Kinerja Routing Protokol OSPFv2 Dan RIPv2 Pada Jaringan IPv4

Dengan Menggunakan Simulator GNS3 Dan eNSP

Mata Kuliah : Praktik Aplikasi Jaringan

Dosen Pengampu: Handaru Jati, Ph.D

Disusun Oleh :

Linda Setiawati, S.Kom

NIM 13702251048

PTK Vokasi TI

PROGRAM STUDI PENDIDIKAN TEKNOLOGI DAN KEJURUAN

PROGRAM PASCASARJANA

UNIVERSITAS NEGERI YOGYAKARTA

2014

Perbedaan Kinerja Routing Protocol OSPFv2 Dan RIPv2 Pada Jaringan IPv4

Dengan Menggunakan Simulator GNS3 Dan eNSP

Linda Setiawati | 13702251048

Pendidikan Teknologi Kejuruan

Vokasi Teknik Informatika

Pascasarjana Universitas Negeri Yogyakarta

[email protected]

ABSTRAK

Routing protocol adalah suatu aturan yang mempertukarkan

informasi routing yang akan membentuk sebuah tabel

routing sehingga pengalamatan pada paket data yang akan

dikirim menjadi lebih jelas dan routing protocol mencari

rute tersingkat untuk mengirimkan paket data menuju

alamat yang dituju[1]. Metode routing protocol tediri dari

link state dan distance vector routing protocol. Penerapan

distance vector routing cukup memadai untuk diterapkan

pada jaringan berskala kecil dan menengah. Akan tetapi

untuk jaringan berskala Enterprise maka diperlukan suatu

methoda routing yang sangat handal yaitu Link State

Routing protocol[2]. Methoda Link state routing protocols

menawarkan banyak keuntungan dibanding distance vector

routing. Perbedaan antara keduanya yitu Pembentukan tabel

routing pada Distance Vector dilakukan dengan cara tiap-

tiap router atau PC router akan saling bertukar informasi

routing dengan router atau PC router yang terhubung

langsung[3]. Proses pertukaran informasi routing dilakukan

secara periodik, misal tiap 30 detik sedangkan Protokol

routing yang menggunakan konsep link state akan

membentuk tabel routing menurut pandangan atau

perhitungan router atau PC router masing-masing, tidak

bergantung pada pendapat router atau PC router tetangga[3].

Protocol routing yang menggunakan skema distance vector

adalah RIP. IGRP, EIGRP, sedangkan yang menggunakan

konsep link state adalah OSPF[4]. Pada paper kali ini kami

akan melakukan analisa perbedaan kinerja Routing Protocol

RIPv2 dengan OSPFv2 pada jaringan IPV4 dengan

menggunakan simulator GNS3 dan eNSP. IPv4 adalah

sebuah jenis pengalamatan jaringan yang digunakan di

dalam protocol jaringan TCP/IP yang menggunakan

protokol IP versi 4. Simulator GNS3 digunakan untuk

router cisco sedangkan eNSP digunakan untuk router

huawei. Pada pengujian dengan GNS3 didapatkan kinerja

OSPFv2 lebih baik daripada RIPv2 karena kecepatannya

dalam melakukan konverge pada jaringan ketika terjadi link

down dibutuhkan waktu sebesar 4.542 detik dengan round-

trip min/avg/max 640/831/1008 ms. Sedangkan RIPv2

membutuhkan waktu 60.566 detik dengan round trip

min/avg/max 924/1292/1448 ms. Sedangkan pada pengujian

dengan eNSP didapatkan kinerja OSPFv2 lebih baik

daripada RIPv2 dengan kecepatan dalam melakukan

konverge ditunjukkan dengan round-trip min/avg/max

30/11/70 ms, sedangkan RIPv2 round-trip min/avg/max

50/74/110 ms. Selain karena kinerja dalam melakukan

konverge OSPF juga mampu menangani jaringan dalam

kapasitas yang luas.

Keywords

OSPFv2, RIPv2, IPv4, GNS3, eNSP

1. PENDAHULUAN

Routing digunakan untuk proses pengambilan sebuah

paket dari sebuah alat dan mengirimkan melalui

network ke alat lain disebuah network yang berbeda.

Router adalah sebuah alat yang mengirimkan paket

data melalui sebuah jaringan atau Internet menuju

tujuannya, melalui sebuah proses yang dikenal

sebagai routing. Routing adalah proses untuk memilih

jalur (path) yang harus dilalui oleh paket. Jalur yang

baik tergantung pada beban jaringan, panjang

datagram, type of service requested dan pola trafik.

Pada umumnya skema routing hanya

mempertimbangkan jalur terpendek (the shortest

path). Routing IP adalah Proses pemindahan paket

dari satu netwok ke network lain dengan

menggunakan router-router. Pada dasarnya sebuah

routing protocol menentukan jalur (path) yang dilalui

oleh sebuah paket melalui sebuah internetwork.

Routing Information Protocol (selanjutnya disebut

RIP) merupakan protocol routng dinamik yang

menggunakan perhitungan distance vector protocol[5].

RIP menggunakan jarak (Hop) dalam menentukan

jarak antara router. Maksimum jumlah hop yang

dimiliki RIP adalah 15 Hop[5]. OSPF adalah protokol

protokol link-state. Kelebihan dari protokol ini

adalah dengan cepat mendeteksi perubahan dan

menjadikan routing kembali konverge dalam waktu

singkat dengan sedikit pertukaran data[5].. OSPF

menggunakan algoritma jarak terpendek, seperti

algoritma Djikstra, untuk memilih jalur untuk

mencapai setiap tujuan. OSPF (Open Shortest Path

First) merupakan protocol routing yang secara umum

dapat digunakan oleh tipe router yang berbeda, seperti

router (juniper, cisco, huawei, mikrotik, dan lainnya),

sehingga antar router yang berbeda dapat terhubung

dengan routing OSPF. Teknologi OSPF menggunakan

algoritma link state. Algoritma ini didesain dengan

pekerjaan yang efisien dalam proses pengiriman

update informasi rute. Kelebihan lain dari OSPF

disbanding RIP atau protocol lainnya adalah

kemampuannya dalam menangani jaringan dalam

kapasitas besar karena dengan OSPF dapat dilakukan

pembagian area kerja[6]. Aplikasi yang digunakan

sebagai simulator jaringan adalah GNS3 dan eNSP.

Perbedaannya simulator GNS3 digunakan untuk

router produk cisco sedangkan simulator eNSP

digunakan untuk router produk huawei.

2. LINK STATE ROUTING PROTOCOL

link state routing protocol harus melakukan kalkulasi

cost metric sendiri ketimbang sekedar diberitahu cost

metric dari hasil informasi routing update yang dia

terima[6]. Misal, pada distance vector routing protocol,

router B mengatakan pada router A semacam “subnet

10.1.1.0, metric 3”. Dengan link state protocol dia

mempelajari informasi topology dari routing update

termasuk cost metric yang berhubungan dengan setiap

link dalam jaringan. Router A melakukan kalkulasi

total cost dengan setiap link di setiap route untuk

mendapatkan metric yang berhubungan terhadap suatu

route.Misal, router A menemukan bahwa ada dua jalur

menuju ke subnet 10.1.1.0 dengan masing-masing

metric 220 (dari A>B>C>E total 220) dan 310 (dari

A>B>D>E total 310). Pada routing di router A, dia

meletakkan router B interface IP address sebagai hop

berikutnya untuk menuju ke subnet 10.1.1.0. Router B

juga melakukan kalkulasi route ke subnet 10.1.1.0

melalui router C dan router D dan meletakkan route

terbaik (router C) kedalam routing tablenya.Algoritma

yang dipakai untuk melakukan kalkulasi route dengan

link state routing adalah Shortest Path First (SPF)

algorithm atau disebut Dijkstra SPF algorithm sesuai

dengan nama penemunya Dijkstra. Link-state

protocols tidak hanya sekedar memulai broadcast

informasi topology keluar setiap interface saat router

pertama kali boot. Akan tetapi Link-state protocols

pertama menggunakan suatu process dengan cara

menemukan para neighbors[6]. Neighbour bisa saja

didefinisikan secara statis ketimbang harus di

ketemukan (discover). Neighbours adalah router-2

yang juga menggunakan Link-state protocols yang

share subnet yang sama. Segera setelah router-2

mengetahui bahwa dia adalah neighbor, mereka bisa

bertukar copy informasi topology (disebut informasi database topology) dan kemudian menjalankan SPF

untuk melakukan kalkulasi route baru.Setelah sebuah

router mengidentifikasi sebuah neighbor, mereka

saling bertukar informasi dalam database topology

mereka. Routing update yang dikirim oleh router

OSPF disebut sebagai link-state updates (LSUs), dan

item-2 yang dikirimkan dalam LSU meliputi

individual link-state advertisements (LSAs)[7]. Misal,

sebuah link LSA menjelaskan sebuah subnet number

dan juga mask, cost (metric), dan juga informasi

lainnya tentang subnet. Juga, OSPF menggunakan

suatu protocol yang handal untuk memastikan

pertukaran informasi routing dan menjamin bahwa

paket LSU yang hilang akan di transmit ulang.

3. DISTANCE VECTOR ROUTING PROTOCOL Dinamakan distance vector karena faktanya route-

route di advertise sebagai sebuah vektor (jarak,

arah)/(distance,direction), dimana jarak ditentukan

oleh metric dan arah merupakan router next-hop[6].

Misalnya, “Network A adalah network sejauh 5 hop

dan dapat dicapai dari arah router X”. Setiap router

mempelajari jalur-jalur dari sudut pandang router

tetangganya dan kemudian meng-advertise jalur-jalur

dari sudut pandangnya sendiri[6]. Karena setiap router

sangat tergantung pada informasi tetangganya,

protokol routing distance vector sering disebut

“routing by rumor“.Beberapa protokol routing yang

tergolong distance vector antara lain:

Routing Information Protocol (RIP) for IP

XNS RIP dari Xerox Networking System

IPX RIP dari Novell

Systems Internet Gateway Routing Protocol

(IGRP) dan Enhanced Internet Gateway Routing

Protocol (EIGRP) dari Cisco

DNA Phase IV dari DEC

Routing Table Maintenance Protocol (RTMP) dari

AppleTalk

Protokol routing distance vector biasanya

menggunakan sebuah algoritma routing dimana setiap

router secara periodik mengirimkan update routing

kepada semua tetangga (neighbor) dengan cara mem-

broadcast seluruh isi tabel routing

4. IPv4

IPv4 adalah sebuah jenis pengalamatan jaringan yang

digunakan di dalam protocol jaringan TCP/IP yang

menggunakan protokol IP versi 4. IP versi ini

memiliki keterbatasan yakni hanya mampu

mengalamati sebanyak 4 miliar host komputer di

seluruh dunia [5].Contoh alamat IPv4 adalah

192.168.0.3 In IPv4 ada 3 jenis Kelas, tergantung dari

besarnya bagian host, yaitu kelas A (bagian host

sepanjang 24 bit , IP address dapat diberikan in 16,7

juta host) , kelas B (bagian host sepanjang 16 bit =

65534 host) dan kelas C (bagian host sepanjang 8 bit

= 254 host ). Alamat unicast loopback adalah sebuah

alamat yang digunakan untuk mekanisme interprocess

Communication (IPC) dalam sebuah host. Dalam

IPV4 alamat yang ditetapkan adalah 127.0.0.1,

sementara dalam IPv6 adalah 0:0:0:0:0:0:0:1, atau :1. [6]. Administrator jaringan mengajukan permohonan

jenis kelas berdasarkan skala jaringan yang

dikelolanya. Konsep kelas ini memiliki keuntungan

yaitu : pengelolaan rute informasi tidak memerlukan

seluruh 32 bit tersebut, melainkan cukup hanya bagian

jaringannya saja, sehingga besar informasi rute yang

disimpan di router, menjadi kecil. Setelah address

jaringan diperoleh, maka organisasi tersebut dapat

secara bebas memberikan address bagian host in

masingmasing hostnya

5. RIPv2 ROUTING PROTOCOL

RIP (Routing Information Protocol) RIP merupakan

routing protocol distance-vector yang masuk pada

kelas Interior Gateway Protocol yang dikembangkan

oleh IETF[8]. Routing protocol ini menggunakan

algoritma Bellman-Ford dalam penentuan jalur

routing. RIP digunakan pada jaringan dengan ukuran

kecil, dimana untuk implementasi dan konfigurasinya

yang sederhana dan mudah RIP menggunakan

jangkauan Hop dalam menentukan jarak antar router.

Maksimum jumlah hop yang dimiliki adalah 15 hop.

5.1. Proses RIP

Router RIP mengirimkan table routing milikinya ke

tetangga terdekat dalam waktu 30 detik. Jika dalam 30

detik RIP belum meng update data atau belum

menerima data terbaru dari sebelah, RIP memiliki

toleransi waktu sampai 180 detik, jika lebih dari itu,

RIP akan menghapus network yang belum

diterima/diupdate ke dalam table forwarding (tabel

yang digunakan untuk menentukan pengiriman

data)[5]. RIP version 2 memiliki dukungan untuk

VLSM, autentifikasi, multicast. Dalam hal ini

multicast memberikan informasi routing tabel

berdasarkan kelompok, jika router lain bertetanggaan

namun tidak memakai RIP maka tentu saja dengan

alamat multicast maka RIP tidak mengirimkan ke

router tersebut[8].

Dalam RIP tentu saja ada kemungkinan terdapat

pengiriman data broadcast yang mungkin saja

menyebabkan adanya data yang terus menerus

berulang dikirmkan. RIP mempunyai cara-cara dalam

mengatasi adanya pengiriman data secara broadcast

yang menyebabkan jaringan menjadi lama[5].

6. OSPFv2 ROUTING PROTOCOL

OSPF adalah protokol routing untuk IP. Ini adalah

protokol link-state. Kelebihan dari protokol ini

adalah dengan cepat mendeteksi perubahan dan

menjadikan routing kembali konverge dalam waktu

singkat dengan sedikit pertukaran data[5]. OSPF

menggunakan algoritma jarak terpendek, seperti

algoritma Djikstra, untuk memilih jalur untuk

mencapai setiap tujuan. OSPF (Open Shortest Path

First) merupakan protocol routing yang secara umum

dapat digunakan oleh tipe router yang berbeda, seperti

router (juniper, cisco, huawei, mikrotik, dan lainnya),

sehingga antar router yang berbeda dapat terhubung

dengan routing OSPF. Teknologi OSPF menggunakan

algoritma link state[5]. Algoritma ini didesain dengan

pekerjaan yang efisien dalam proses pengiriman

update informasi rute

6.1. Proses OSPF

Terdapat lima langkah routing protocol OSPF dalam

tahap mulai dari awal hingga dapat saling bertuka

informasi[8]. Berikut ini adalah langkah-langkahnya.

1. Membentuk Adjacency Router

Adjacency router adalah router yang bertetangga

atau terdekat. Jadi proses pertamnya adalah

meghubungkan diri dan saling berkomunikasi

dengan router terdekat atau neighbor router.

2. Memilih DR dan BDR (jika diperlukan).

DR (Designated Router) dan BDR (Backup

Designated Router) akan menjadi pusat

komunikasi seputar informasi OSPF dalam

jaringan tersebut. Secara default semua router

OSPF memiliki nilai Priority 1, dengan range 0-

255. Range 0 menjamin router tidak akan menjadi

DR atau BDR, sedangan range 255 menjamin

router menjadi DR.

3. Mengumpulkan state-state dalam jaringan

Pada jaringan yang menggunakan media broadcat,

DR akan melayani setiap router yang ingin

bertukar informasi dalam jaringan. Sebelum

melakukan pengiriman terlebih dahulu ditentuan

router yang akan menjadi masteryang akan

melakukan pengiriman lebih dahulu.

4. Memilih rute terbaik untuk digunakan

Untuk memilih rute terbaik , parameter yang

digunakan oleh OSPF adalah cost. Metrik cost

akan menggambarkan seberapa dekat dan

cepatnya sebuah router.

5. Menjaga informasi routing tetap up to date

Bertujuan untuk menjaga jika ada router yang

sudah tidak valid agar tidak lagi digunakan

7. METODE

Penelitian ini dilakukan 3 (tiga) tahap, yaitu studi

literature, simulasi dan pengujian. Pada pengujian

dilakukan dua tahap yaitu pada tahap pertama

simulasi dengan perangkat lunak GN3(GNS3-0.8.5.1-

all-in-one) menggunakan router 3600 (c3640-jk9s-

mz.124-16) dan pada pengujian tahap kedua

menggunakan simulator eNSP. Pengujian dilakukan

pada 5 buah router yang topologinya dibuat

menyerupai jaringan local sederhana yang dibuat

sedemikian rupa agar dapat mewakili kelebihan dari

masing-masing routing protocol yang akan diuji.

Router yang akan digunakan adalah router RIPv2 dan

OSPFv2 yang berasal dari dua vendor yaitu cisco dan

huawei.

8. IMPLEMENTASI DAN PEMBAHASAN

8.1. Tahapan Simulasi dengan GNS3

8.1.1 Topologi Jaringan

Sebelum mulai melakukan konfigurasi terlebih dahulu

kita menggambarkan topologi jaringan. Pada

percobaan pertama akan dilakukan simulasi dengan

software GNS3. Berikut topologi jaringan yang akan

digunakan :

Gambar 1. Topology Jaringan

7.1.1 Konfigurasi Router

Pada tahapan ini kita terlebih melakukan

konfigurasi masing-masing router yaitu dengan

memberikan alamat IP pada tiap interface.

Berikut daftar IP dari masing-masing router

dengan menggunaan IPV4 kelas C subnetmask

255.255.255.0

Router Interface – IP address

R1 Fast Ethernet 0/0 192.168.1.1

Fast Ethernet 1/0 192.168.3.1

Loopback0 1.1.1.1

R2 Fast Ethernet 0/0 192.168.1.2

Fast Ethernet 1/0 192.168.2.2

Loopback0 2.2.2.2

R3 Fast Ethernet 0/0 192.168.3.2

Fast Ethernet 1/0 192.168.4.2

Fast Ethernet 2/0 192.168.5.2

Loopback0 3.3.3.3

R4 Fast Ethernet 0/0 192.168 4.1

Fast Ethernet 1/0 192 168.2.1

Fast Ethernet 2/0 192.168.6.2

Loopback0 4.4.4.4

R5 Fast Ethernet 0/0 192.168.5.1

Fast Ethernet 1/0 192.168.6.1

Loopback0 5.5.5.5 Tabel 1. Konfigurasi IP address di GNS3

Setelah melakukan konfigurasi IP pada masing-

masing router, maka tanda lampu pada tiap

router akan berubah menjadi warna hijau yang

berarti koneksi interface sudah aktif.

8.1.2 Konfigurasi OSPFv2

Setelah melakukan konfigurasi IP address dari

masing-masing router, tahapan selanjutnya adalah

melakukan konfigurasi OSPFv2

perintahnya : R1#conf t

R1[config]#router OSPF 100

R1[config-router]#version 2

R1[config-router]#network 192.168.1.0 0.0.0.255

R1[config-router]#network 192.168.3.0 0.0.0.255 area 0

R1[config-router]#network 1.1.1.0 0.0.0.255 area 0

R1[config-router]#end

R1#show ip route

Berikut Screen Shoot untuk Router R1

Gambar 2. Konfigurasi OSPF IPV4

8.1.3 Konfigurasi RIPv2

Langkah selanjutnya adalah melakukan konfigurasi

RIPv2 IPV4. Sebelum melakukan konfigurasi

terlebih dahulu stop semua konfigurasi sebelumnya

yang telah menggunakan OSPFv2.

Berikut perintahnya : R1#conf t

R1(config)#router RIP

R1(config-router)#version 2

R1(config-router)#network 192.168.1.0

R1(config-router)#network 192.168.3.0

R1(config-router)#network 1.1.1.0

R1(config-router)#end

R1#show ip route

8.2. Tahapan Konfigurasi dengan eNSP

8.2.1 Topology jaringan

Topology jaringan yang digunakan sama

menggunakan GNS3. Berikut screenshoot.

melakukan konfigurasi IP address dari

masing router, tahapan selanjutnya adalah

IPV4 berikut

0.0.0.255 area 0

0.0.0.255 area 0

0.0.0.255 area 0

. Konfigurasi OSPF IPV4

Langkah selanjutnya adalah melakukan konfigurasi

IPV4. Sebelum melakukan konfigurasi RIPv2

terlebih dahulu stop semua konfigurasi sebelumnya

Konfigurasi dengan eNSP

Topology jaringan yang digunakan sama dengan yang

menggunakan GNS3. Berikut screenshoot.

Gambar 3. Topology di eNSP

Kabel yang digunakan sebagai connector adalah

Copper gigabyteethernet. Selanjutnya dilakukan

konfigurasi IP address sebagai berikut :

Router Interface – IP address

AR1 Gigabyte Ethernet 0/0

Gigabyte Ethernet 0/0

Loopback0 1.1.1.1

AR2 Gigabyte Ethernet 0/0

Gigabyte Ethernet 0/0

Loopback0 2.2.2.2

AR3 Gigabyte Ethernet0/0/0

Gigabyte Ethernet 0/0

Gigabyte Ethernet 0/0

Loopback0 3.3.3.3

AR4 Gigabyte Ethernet 0/0/0 192.168 4.1

Gigabyte Ethernet 0/0

Gigabyte Ethernet 0/0/2

Loopback0 4.4.4.4

AR5 Gigabyte Ethernet 0/0

Gigabyte Ethernet 0/0/1

Loopback0 5.5.5.5 Tabel 2. Konfigurasi IP address

8.2.2 Konfigurasi OSPFv2

Setelah melakukan konfigurasi IP address dari

masing-masing router, tahapan selanjutnya adalah

melakukan konfigurasi OSPF

perintahnya : <AR1>sys

[AR1]router OSPF

[AR1-router]version 2

[AR1-router]network 192.168.1.0 0.0.0.255 area 0

[AR1-router]network 192.168.3.0 0.0.0.255 area 0

[AR1-router]network 1.1.1.0 0.0.0.255 area 0

Topology di eNSP

Kabel yang digunakan sebagai connector adalah

Copper gigabyteethernet. Selanjutnya dilakukan

konfigurasi IP address sebagai berikut :

IP address

Ethernet 0/0/0 192.168.1.1

/0/1 192.168.3.1

0/0/0 192.168.1.2

/0/1 192.168.2.2

/0 192.168.3.2

/0/1 192.168.4.2

/0/2 192.168.5.2

0/0 192.168 4.1

/0/1 192 168.2.1

0/0/2 192.168.6.2

Ethernet 0/0/0 192.168.5.1

0/0/1 192.168.6.1

. Konfigurasi IP address di eNSP

Setelah melakukan konfigurasi IP address dari

masing router, tahapan selanjutnya adalah

melakukan konfigurasi OSPFv2 IPV4 berikut

0.0.0.255 area 0

0.0.0.255 area 0

0.0.0.255 area 0

[AR1-router]end

[AR1]show ip route

Pada percobaan ini OSPF hanya terdapat dalam satu

area yaitu area 0, dengan menggunakan wildmask

0.0.0.255.

8.2.3 Konfigurasi RIPv2

Langkah selanjutnya adalah melakukan konfigurasi

RIPv2 IPV4. Sebelum melakukan konfigurasi

terlebih dahulu stop semua konfigurasi sebelumnya

yang telah menggunakan OSPFv2.

Berikut perintahnya : <AR1>sys

[AR1]router RIP

[AR1-router]version 2

[AR1-router]network 192.168.1.0

[AR1-router]network 192.168.3.0

[AR1-router]network 1.1.1.0

[AR1-router]end

[AR1]show ip route

Untuk router 1 (AR1) memiliki jaringan neighbor

AR2 dan AR3 masing-masing jaraknya 1 hop.

Selanjutnya juga menggunakan IP loopback yang

akan digunakan jika salah satu router yang dilewati

mati maka dapat menggunakan IP loopb

8.3. Pengujian Koneksi

Langkah selanjutnya adalah mengecek koneksi dari

hasil konfigurasi yang telah dilakukan. Perintah yang

digunakan adalah dengan perintah #ping.

8.3.1 Pengujian di GNS3

Pengujian konfigurasi di simulator GNS3.

menggunakan router OSPFv2 hasil perintah ping dari

router R1 ke router R5 sebagai berikut :

Gambar 4. Ping router OSPFv2 dari R1 ke R5

percobaan ini OSPF hanya terdapat dalam satu

area yaitu area 0, dengan menggunakan wildmask

Langkah selanjutnya adalah melakukan konfigurasi

IPV4. Sebelum melakukan konfigurasi RIPv2

terlebih dahulu stop semua konfigurasi sebelumnya

Untuk router 1 (AR1) memiliki jaringan neighbor

masing jaraknya 1 hop.

Selanjutnya juga menggunakan IP loopback yang

akan digunakan jika salah satu router yang dilewati

mati maka dapat menggunakan IP loopback nya.

Langkah selanjutnya adalah mengecek koneksi dari

hasil konfigurasi yang telah dilakukan. Perintah yang

ping.

Pengujian konfigurasi di simulator GNS3. Untuk yang

menggunakan router OSPFv2 hasil perintah ping dari

router R1 ke router R5 sebagai berikut :

Ping router OSPFv2 dari R1 ke R5

Ping sukses dari R1 ke R5 pada IP 192.168.5.2

dengan round-trip min/avg/max = 996/1142/1200 ms.

Untuk proses tracing route dari R

menuju ke IP 192.168.1.1 melalui 192.168.6.2

membutuhkan waktu 1060msec sedangkan melalui IP

192.168.5.2 membutuhkan waktu 340 msec dan

melalui IP 192.168.2.2 membutuhkan waktu

1768msec. Pengujian selanjutnya sebagai pembanding

adalah untuk mengecek hasil konfigurasi router R1 ke

R5 yang menggunakan router RIPv2. Ping dari R1 ke

IP 192.168.5.2 dengan hasil sebagai berikut :

Gambar 5. Ping router RIP dari R1 ke R5

Ping sukses dari R1 ke R5 pada IP 192.168.5.2

dengan round-trip min/avg/max = 924/1292/1440 ms.

Proses tracing route dari R5 ke R1 yaitu menuju ke IP

192.168.1.1 melalui 192.168.6.2 membutuhkan waktu

1460msec sedangkan melalui IP 192.168.5.2

membutuhkan waktu 884 msec dan melalu

192.168.2.2 membutuhkan waktu 1972msec.

Dari hasil percobaan terlihat perbedaan yang

menunjukkan bahwa router OSPFv2 lebih baik

daripada router RIPv2 dalam hal waktu yang

digunakan untuk koneksi antar jaringan.

waktu yang efisien tentunya akan

kapasitas bandwith yang efisien pula. Selain itu

informasi yang dikirim melalui router OSPF hanya

informasi yang terbaru saja.

8.3.2 Pengujian di eNSP

Terakhir Pengujian konfigurasi di simulator eNSP.

Untuk yang menggunakan router OSPFv2 hasil

perintah ping dari router AR1 ke router AR5 sebagai

berikut :

.

Ping sukses dari R1 ke R5 pada IP 192.168.5.2

trip min/avg/max = 996/1142/1200 ms.

es tracing route dari R5 ke R1 yaitu

menuju ke IP 192.168.1.1 melalui 192.168.6.2

membutuhkan waktu 1060msec sedangkan melalui IP

192.168.5.2 membutuhkan waktu 340 msec dan

melalui IP 192.168.2.2 membutuhkan waktu

Pengujian selanjutnya sebagai pembanding

adalah untuk mengecek hasil konfigurasi router R1 ke

R5 yang menggunakan router RIPv2. Ping dari R1 ke

IP 192.168.5.2 dengan hasil sebagai berikut :

Ping router RIP dari R1 ke R5

R5 pada IP 192.168.5.2

trip min/avg/max = 924/1292/1440 ms.

Proses tracing route dari R5 ke R1 yaitu menuju ke IP

192.168.1.1 melalui 192.168.6.2 membutuhkan waktu

1460msec sedangkan melalui IP 192.168.5.2

membutuhkan waktu 884 msec dan melalui IP

192.168.2.2 membutuhkan waktu 1972msec.

Dari hasil percobaan terlihat perbedaan yang

menunjukkan bahwa router OSPFv2 lebih baik

daripada router RIPv2 dalam hal waktu yang

digunakan untuk koneksi antar jaringan. Dengan

waktu yang efisien tentunya akan menggunakan

kapasitas bandwith yang efisien pula. Selain itu

informasi yang dikirim melalui router OSPF hanya

Pengujian konfigurasi di simulator eNSP.

Untuk yang menggunakan router OSPFv2 hasil

perintah ping dari router AR1 ke router AR5 sebagai

Gambar 6. Ping router OSPFv2 dari AR1 ke AR5

Ping sukses dari AR1 ke AR5 pada IP 192.168.6.1

dengan round-trip min/avg/max = 10/20/30 ms.

Pengujian selanjutnya sebagai pembanding adalah

untuk mengecek hasil konfigurasi router AR1 ke AR5

yang menggunakan router RIPv2. Ping dari AR1 ke IP

192.168.6.1 dengan hasil sebagai berikut :

Gambar 7. Ping router RIPv2 dari AR1 ke AR5

Ping sukses dari AR1 ke AR5 pada IP 192.168.6.1

dengan round-trip min/avg/max = 50/76/130 ms.

hasil percobaan terlihat perbedaan yang menunjukkan

bahwa router OSPFv2 dengan menggunakan

simulator eNSP lebih baik dari pada router RIPv2

dalam hal pemanfaatan waktu untuk konverge antar

router. Pemanfaatan bandwith untuk router OSPF

lebih efisien dibandingkan dengan router RIP hal ini

disebabkan karena OSPF menggunakan algoritma

link-state hanya informasi terbaru yang dikirm ke

dalam area yang yang sama.

9. ANALISIS HASIL PERCOBAAN

Berdasaran hasil percobaan (simulasi ) jaringan pada

IPV4 menggunaan protocol RIPv2

Ping router OSPFv2 dari AR1 ke AR5

Ping sukses dari AR1 ke AR5 pada IP 192.168.6.1

trip min/avg/max = 10/20/30 ms.

Pengujian selanjutnya sebagai pembanding adalah

untuk mengecek hasil konfigurasi router AR1 ke AR5

yang menggunakan router RIPv2. Ping dari AR1 ke IP

192.168.6.1 dengan hasil sebagai berikut :

dari AR1 ke AR5

Ping sukses dari AR1 ke AR5 pada IP 192.168.6.1

trip min/avg/max = 50/76/130 ms. Dari

hasil percobaan terlihat perbedaan yang menunjukkan

bahwa router OSPFv2 dengan menggunakan

simulator eNSP lebih baik dari pada router RIPv2

dalam hal pemanfaatan waktu untuk konverge antar

Pemanfaatan bandwith untuk router OSPF

lebih efisien dibandingkan dengan router RIP hal ini

disebabkan karena OSPF menggunakan algoritma

state hanya informasi terbaru yang dikirm ke

PERCOBAAN

Berdasaran hasil percobaan (simulasi ) jaringan pada

dan OSPFv2

dengan menggunakan dua simulator yang berbeda

yaitu GNS3 dan eNSP tersebut di atas, diperoleh hasil

bahwa kecepatan router OSPFv2 untuk konverge

antar router lebih baik dari pada router RIPv2 baik itu

pada percobaan dengan GNS3 maupun dengan eNSP.

Pada percobaan dengan GNS3 waktu konverge dari

R1 ke R5 pada IP 192.168.5.2 yang menggunakan

router OSPFv2 menunjkkan round

= 996/1142/1200 ms, dan proses tracing route dari R5

ke R1 yaitu menuju ke IP 192.168.1.1 melalui

192.168.6.2 membutuhkan waktu 1060 msec

sedangkan melalui IP 192.168.5.2 membutuhkan

waktu 340 msec dan melalui IP 192.168.2.2

membutuhkan waktu 1768 msec

router RIPv2 menunjukkan round

924/1292/1440 dan proses tracing route dari R5 ke R1

yaitu menuju ke IP 192.168.1.1 melalui 192.168.6.2

membutuhkan waktu 1460 msec sedangkan melalui IP

192.168.5.2 membutuhkan waktu 884 msec dan

melalui IP 192.168.2.2 membutuhkan waktu

1972msec. Selanjutnya untuk simulator eNSP waktu

konverge dari AR1 ke AR5 pada IP 192.168.6.1 yang

menggunakan router OSPFv2 menunj

trip min/avg/max = 10/20/30 ms , sedangkan untuk

router RIPv2 menunjukkan round

50/76/130 ms. Dengan melihat hasil percobaan dari

dua simulator terlihat bahwa yang menggunakan

simulator eNSP lebih cepat daripada simulator GNS3.

Hal ini menunjukkan bahwa router huawei lebih cepat

daripada router cisco. RIP menggunakan metode

multicast sehingga membutuhkan waktu yang lama

dalam hal pengiriman paket.

10. KESIMPULAN

Dari penjelasan dan serta hasil percobaan

perbandingan kinerja Routing Protokol OSPF

(OPEN Shortest Path First version 2

(Routing Information Protocol version 2

jaringan IPV4, Maka dapat disimpulkan bahwa :

1. Setiap router dalam routing protokol yang

sama membangun tabel routingnya,

informasi dari router tetangga untuk sharing

informasi antar router.

2. Berdasarkan kecepatan pengiriman paket

dengan parameter yang digunakan adalah

converge antar jaringan bahwa routing protokol

OSPFv2 lebih baik penggunaan

RIPv2.

dengan menggunakan dua simulator yang berbeda

tersebut di atas, diperoleh hasil

OSPFv2 untuk konverge

antar router lebih baik dari pada router RIPv2 baik itu

pada percobaan dengan GNS3 maupun dengan eNSP.

Pada percobaan dengan GNS3 waktu konverge dari

.2 yang menggunakan

router OSPFv2 menunjkkan round-trip min/avg/max

dan proses tracing route dari R5

ke R1 yaitu menuju ke IP 192.168.1.1 melalui

192.168.6.2 membutuhkan waktu 1060 msec

sedangkan melalui IP 192.168.5.2 membutuhkan

340 msec dan melalui IP 192.168.2.2

membutuhkan waktu 1768 msec sedangkan untuk

router RIPv2 menunjukkan round-trip min/avg/max =

dan proses tracing route dari R5 ke R1

yaitu menuju ke IP 192.168.1.1 melalui 192.168.6.2

0 msec sedangkan melalui IP

192.168.5.2 membutuhkan waktu 884 msec dan

melalui IP 192.168.2.2 membutuhkan waktu

. Selanjutnya untuk simulator eNSP waktu

konverge dari AR1 ke AR5 pada IP 192.168.6.1 yang

menggunakan router OSPFv2 menunjukkan round-

rip min/avg/max = 10/20/30 ms , sedangkan untuk

router RIPv2 menunjukkan round-trip min/avg/max =

Dengan melihat hasil percobaan dari

dua simulator terlihat bahwa yang menggunakan

simulator eNSP lebih cepat daripada simulator GNS3.

nunjukkan bahwa router huawei lebih cepat

RIP menggunakan metode

multicast sehingga membutuhkan waktu yang lama

Dari penjelasan dan serta hasil percobaan

Routing Protokol OSPFv2

version 2) dan RIPv2

Routing Information Protocol version 2) pada

jaringan IPV4, Maka dapat disimpulkan bahwa :

Setiap router dalam routing protokol yang

sama membangun tabel routingnya, berdasarkan

informasi dari router tetangga untuk sharing

Berdasarkan kecepatan pengiriman paket

dengan parameter yang digunakan adalah waktu

bahwa routing protokol

lebih baik penggunaannya daripada

3. RIPv2 menggunakan jarak/hop sedangkan untuk

OSPF akan menggunakan area yang sama

sehingga menghemat penggunaan bandwith

4. Simulator eNSP lebih cepat daripada GNS3

terlihat dari waktu yang diperlukan untuk

konverge antar jaringan

5. Router produk huawei lebih cepat daripada router

cisco

6. Untuk jaringan yang lebih luas maka akan lebih

baik menggunakan router OSPF karena

kemampuannya dalam membagi area jaringan

menjadi beberapa bagian.

11. REFERENSI

1. Sofana, I., CISCO CCNA & Jaringan Komputer. 2010, Bandung: Informatika.

2. Abhishek Rai, K.K., Performance Comparison of Link State and Distance Vector Routing Protocols using NS*. 2010.

3. Benjamin, H., CCNP Practical Studies : Routing. 2002, Indianapolis USA: cicso press.

4. Doile, J., Dynamic Routing Protocols. Cisco Press, 2001, Nov 16.

5. Andrew Fiade, S.T., M.Kom., Simulasi Jaringan. 2013, Yogakarta: Graha Ilmu.

6. Vina Rifiani, M.Z.S.H., Haryadi Amran Darwito, Analisa Perbandingan Metode Routing Distance Vector dan Link State Pada Jaringan Packet. 2008. 60111.

7. Saputra, J., Praktikum CCNA di Komputer Sendiri menggunakan GNS3. 2010, Jakarta: Mediakita.

8. Syaruddin, M., Analisa Unjuk Kerja Routing Protocol RIPng dan OSPFv3 pada jaringan IPv6, in Skripsi. 2010, Universitas Indonesia: Jakarta.

Differences Performance OSPFv2 and RIPv2 Routing Protocols In Network

IPv4 Using Simulator GNS3 And ENSP

Linda Setiawati | 13702251048

Pendidikan Teknologi KejuruanVokasi Teknik Informatika

Pascasarjana Universitas Negeri Yogyakarta

[email protected]

ABSTRACT

Routing protocol is a rule which routing information that

will form a routing table so that the addressing in the data

packet to be sent to more clearly and routing protocols

search for the shortest route to send data packets to the

destination address[1]. Methods routing protocol consists of a

link-state and distance vector routing protocol .

Implementation of distance vector routing adequate enough

to be applied to small and medium-scale networks. However

for Enterprise-scale networks, we need a highly reliable

routing the method of the Link State Routing protocol[2].The

method of link state routing protocols offers many

advantages over distance vector routing. The difference

between the two yitu Formation on Distance Vector routing

tables done by each router or PC router will exchange

routing information with routers or PC directly connected

router[3].Routing information exchange process is done

periodically, for example every 30 seconds while the routing

protocol that uses the concept of link state routing table will

form the point of view or a router or a PC router calculation

respectively, do not depend on the opinion of a neighbor

router or PC routers[3].Routing protocol that uses a distance

vector scheme is RIP. IGRP, EIGRP, whereas the use of the

concept is the OSPF link state [4]. In the present paper we

will analyze the performance difference RIPv2 Routing

Protocol with OSPFv2 IPv4 network using GNS3 simulator

and ENSP. IPv4 is a type of network that is used in the

network protocol TCP / IP using the IP protocol version 4

GNS3 simulator used for cisco router while ENSP used for

huawei router. In testing with GNS3 OSPFv2 obtained better

performance than RIPv2 as the speed in performing

konverge on the network when the link down takes 4.542

seconds for the round-trip min / avg / max 640/831/1008 ms.

While RIPv2 takes seconds with 60 566 round trip min / avg

/ max 924/1292/1448 ms. While on the test performance

obtained with ENSP OSPFv2 better than RIPv2 with speed

in doing konverge indicated by the round-trip min / avg /

max 30/11/70 ms, where as RIPv2 round-trip min / avg /

max 50/74/110 ms . In addition to its performance in

conducting konverge OSPF network is also capable of

handling the large capacity.

Keywords

OSPFv2, RIPv2, IPv4, GNS3, ENSP

1. INTRODUCTION

Routing is used for the process of making a packet

from a device and sends over the network to another

device disebuah different network.

Routers is a tool that sends data packets over a

network or the Internet to the destination, through a

process known as routing. Routing is the process to

choose the path (path) that must be traversed by the

packet. Good paths depending on the network load, the

length of the datagram, the type of service requested

and traffic patterns. In general, routing schemes only

consider the shortest path (the shortestpath).IP Routing

is the process of moving packets from one network to

another netwok using routers. Basically, a routing

protocol determines the path (path) traversed by a

packet through an internetwork.

Routing Information Protocol (hereinafter referred to

as RIP) is a protocol that uses dynamic computation

routng distance vector protocol[5]. RIP uses distance

(hop) in determining the distance between routers. The

maximum number of hops that RIP is owned 15

Hop[5]. OSPF is a link-state protocol protocol. The

advantages of this protocol is to quickly detect the

change and make routing back konverge in a short

time with little exchange of data[5]..OSPF uses the

shortest path algorithm, such as Djikstra algorithm, to

select a path to reach each goal. OSPF (Open Shortest

Path First) is a routing protocol that can generally be

used by different types of routers, such as routers

(Juniper, Cisco, Huawei, proxy, and others), so

between different routers can be connected to the

OSPF routing. Technology OSPF usesalgorithms. a

link-state Algorithm is designed to work efficiently in

the process of updating information delivery route.

Another advantage of the RIP or OSPF protocol than

the other is its ability to handle large capacity network

in OSPF can be done because the division of the work

area[6].Applications used as a network simulator is

GNS3 and ENSP. The difference GNS3 simulator

used for cisco products routers ENSP while the

simulator used for huawei router products.

2. LINK STATE ROUTING PROTOCOL

link state routing protocol must perform its own

calculations of cost metrics rather than just be told the

cost metrics of routing information updates the results

he received[6].For example, the distance vector routing

protocol, Router B tells Router A sort of "subnet

10.1.1.0, a metric 3". With link state protocol he

learned topology information from the routing updates

including cost metrics associated with each link in the

network. A router performing the calculation of total

cost with each link in each route to obtain metrics

related to a route.Misal, router A finds that there are

two paths leading to subnet 10.1.1.0 with metric 220

each (from A> B> C> E a total of 220) and 310 (from

A> B> D> E a total of 310). In routing on Router A,

Router B he put the interface IP address as the next

hop to get to subnet 10.1.1.0. Router B also perform

calculations route to subnet 10.1.1.0 through router C

and router D and put the best route (router C) into the

routing tablenya.Algoritma used to calculate the route

with link state routing is the Shortest Path First (SPF)

algorithm called Dijkstra SPF algorithm according to

the name of the inventor Dijkstra. Link-state protocols

are not just starting a broadcast topology information

out of each interface when the router first boots.

However, Link-state protocols use a process first by

finding the neighbors [6]. Neighbour can be defined as

static rather than to be in found (discover). Neighbours

is a router-2 which also uses link-state protocols that

share the same subnet. As soon as the router-2

knowing that he was a neighbor, they can copy the

information exchange topology (called information

topology database) and then run SPF to calculate the

route baru.Setelah a router identifies a neighbor, they

exchange information in their topology databases.

Routing updates sent by OSPF routers referred to as

the link-state updates (LSUs), and items are shipped

within 2 LSU includes individual link-state

advertisements (LSAs)[7].For example, a link LSA

describes a subnet number and mask, cost (metric),

and also other subnets. Also, OSPF uses a reliable

protocol to ensure the exchange of routing information

and ensures that LSU lost packets will be transmitted

again.

3. DISTANCE VECTOR ROUTING PROTOCOL

Named distance vector because the fact of the route in

the route-advertise as a vector (distance, direction) /

(distance , direction), which is determined by a metric

distance and direction of the next-hop router[6].For

example, "A Network is a network up to 5 hops and

can be reached from the router X". Each router is

studying the pathways from the point of view of

neighboring routers and then to advertise paths from

their own perspective[6].Because each router is very

dependent on its neighbor information, distance vector

routing protocols are often called "routing by rumor"

.Some routing protocols are classified as distance

vector include:

● Routing Information Protocol (RIP) for IP

● RIP XNS from Xerox Networking System

● from Novell IPX RIP

● Systems Internet Gateway Routing Protocol

(IGRP) and Enhanced Internet Gateway Routing

Protocol (EIGRP) from Cisco's

● DNA Phase IV ofDEC

● the Routing Table MaintenanceProtocol (RTMP)

from AppleTalk

routing protocols typically use a distance vector

routing algorithm in which each router periodically

sends routing updates to all neighbors (neighbor) with

a way to broadcast the entirerouting table

4. IPv4

IPv4is a type of network that is used in the network

protocol TCP / IP using the IP protocol version 4 IP

version has a limitation of only able to put address as

much as 4 billion hosts computers around the world

[5]Example IPv4 address is 192.168.0.3 In IPv4 there

are 3 types of classes, depending on the size of the

host, namely class A (all 24-bit host part, the IP

address can be assigned in the host 16.7 million), class

B (16-bit host portion = 65534 hosts) and class C (the

hosts along the 8 bits = 254 hosts). Unicast loopback

address is an address that is used for interprocess

mechanism Communication (IPC) within a host. In the

IPv4 address 127.0.0.1 is assigned, while in IPv6 is 0:

0: 0: 0: 0: 0: 0: 1, or: 1. [6]. Apply network

administrator based on the type of class that manages a

network scale. The concept of this class has the

advantage that: the management of information does

not require the entire 32 bits, but quite simply the only

network, so that the information stored in the router,

be small. Once the network address is obtained, then

the organization can freely provide the host address in

the host each

5. ROUTING PROTOCOL RIPv2

RIP (Routing Information Protocol) RIP is a distance-

vector routing protocol that makes the class Interior

Gateway Protocol developed by the IETF [8]. This

routing protocol uses the Bellman-Ford algorithm to

determine the routing path. RIP is used on a network

with a small size, which for the implementation and

configuration simple and easy to use range Hop RIP in

determining the distance between nodes. The

maximum number of hops is 15 hops owned.

5.1. Process of RIPv2

routers send RIP routing table possessed the nearest

neighbor to within 30 seconds. If within 30 seconds of

RIP updates the data or have not yet received the latest

data from the next, RIP has a tolerance of up to 180

seconds, if more than that, the RIP will delete network

that has not been received / updated into the

forwarding table (the table used to determine delivery

data)[5].RIP version 2 has support for VLSM,

authentication, multicast. In this case the multicast

routing table information based groups, if other

neighboring routers, but does not use RIP then of

course with the RIP multicast address is not sent to

the[8]router.

In the RIP of course there may exist a broadcast data

delivery that might lead to continuous presence of

repetitive data sent. RIP have the means to overcome

the presence of a broadcast data transmission which

causes the tissue becomes longer[5].

6. OSPFv2 routing protocol

OSPF is a routing protocol for IP. It is a link-state

protocol. The advantages of this protocol is to quickly

detect the change and make routing back konverge in a

short time with little exchange of data[5].OSPF uses the

shortest path algorithm, such as Djikstra algorithm, to

select a path to reach each goal. OSPF (Open Shortest

Path First) is a routing protocol that can generally be

used by different types of routers, such as routers

(Juniper, Cisco, Huawei, proxy, and others), so

between different routers can be connected to the

OSPF routing. Technology OSPF usesalgorithm a

link-state[5]. Algorithm is designed to work efficiently

in the process of updating information delivery route

6.1. Process of OSPFv2

There are five steps in the OSPF routing protocol from

the early stages to be able to bertuka mutual

information[8].Here are the steps.

1. Forming Router adjacency

adjacency neighboring router is a router or nearby.

So the process is its first self-synchronize and

communicate with the nearest router or the

neighbor router.

2. Choosing the DR and BDR (if necessary).

DR (Designated Router) and BDR (Backup

Designated Router) will be the center of

communication about OSPF information within the

network. By default all OSPF routers have a

Priority value of 1, with a range of 0-255. Range 0

ensure routers will not become DR or BDR,

sedangan 255 range ensure the router becomes the

DR.

3. Collecting state-state innetwork of

thenetworks that use media broadcat, DR will serve

any router that wants to exchange information in

the network. Before performing the first delivery

ditentuan masteryang router will be the first to

make deliveries.

4. Choosing the best route to use

to select the best route, the parameters used by

OSPF is cost. Metrics will describe how close the

cost and speed of a router.

5. Keeping routing information remains up to date

Aiming to keep if there is a router that is not valid

for no longer used

7. METHODE

This study conducted three (3) phases, namely the

study of literature, simulation and testing. In tests

conducted at two stages: the first stage of the

simulation software GN3 (GNS3-0.8.5.1-all-in-one)

using a 3600 router (c3640-jk9s-mz.124-16) and in the

second phase of testing using simulators ENSP. Tests

performed on the router topology 5 pieces made to

resemble a simple local network which is made in such

a way in order to represent the excess of each routing

protocol to be tested. Routers are used RIPv2 and

OSPFv2 routers from two vendors namely Cisco and

Huawei.

8. IMPLEMENTATION AND DISCUSSION

8.1. Simulation with GNS3

8.1.1 Topology

Before starting configuration we first describe the

network topology. In the first experiment will be

carried out simulations with GNS3 software. Here are

a network topology that will be used:

Figure 1 Network Topology

7.1.1 Router Configuration

At this stage we first perform the configuration of

each router is to provide an IP address to each

interface. Here's a list of IP of each router with

IPv4 uses the class C Subnet 255.255.255.0

Router Interface - IP address

R1 192.168.1.1Fast Ethernet0/0

Fast Ethernet1/0192.168.3.1

Loopback01.1.1.1

R2 Fast Ethernet 0/0 192.168 .1.2

Fast Ethernet 1/0192.168.2.2

Loopback02.2.2.2

R3 192.168.3.20/0 Fast Ethernet

Fast Ethernet1/0 192.168.4.2

Fast Ethernet 2/0192.168.5.2

3.3.3.3Loopback0

R4 Fast Ethernet 0/0 192.168 4.1

Fast Ethernet1/0 192 168.2.1

Fast Ethernet2/0192.168.6.2

Loopback04.4.4.4

R5 192.168.5.1 0/0Fast Ethernet

Fast Ethernet 1/0192.168.6.1

Loopback05.5.5.5

Table 1: Configure the IP address in GNS3

After the IP configuration on each router, then

sign on each router lights will change to green

color which means the interface connection is

active.

8.1.2 OSPFv2 Configuration

After configuring the IP address of each router, the

next step is to configure the following IPv4 OSPFv2

command:

R1 # conf t

R1 [config] #router OSPF 100

R1 [config-router] #Version 2

R1 [config-router] #network 192.168.1.0 0.0.0.255 area 0 R1 [config-router] #network 192.168.3.0 0.0.0.255 area 0

R1 [config-router] #network 1.1.1.0 0.0.0.255 area 0

R1 [config-router] #end

R1 # show ip route

Screen Shoot Router R1

Figure 2 Configuring IPv4 OSPF

8.1.3 RIPv2 Configuration

The next step configuring RIPv2 is IPv4. Before

configuring RIPv2 first stop all previous configuration

which has been used OSPFv2.

Following command:

R1 # conf t R1 (config) #router RIP R1 (config-router) #Version 2 R1 (config-router) 192.168.1.0#network

R1(config-router) #network 192.168.3.0

R1 (config-router) #network 1.1.1.0 R1 (config-router) #end R1 # show ip route

8.2. Configuration with eNSP

8.2.1 Network Topology

network topology that is used together with the using

GNS3. Here's a screenshot.

Topology in Figure 3 ENSP

Figure 2 Configuring IPv4 OSPF

The next step configuring RIPv2 is IPv4. Before

all previous configuration

network topology that is used together with the using

Topology in Figure 3 ENSP

cable connector is used as Copper gigabyteethernet. IP

address configuration is then performed as follows:

Router Interface - IP address

AR1 192.168.1.1GigabyteEthernet 0/0/0

Gigabyte Ethernet0/0/1192.168.3.1

Loopback01.1.1.1

AR2 192.168.1.2GigabyteEthernet 0/0/0

GigabyteEthernet 0/0/1192.168.2.2

Loopback02.2.2.2

AR3 Gigabyte Ethernet0 / 0/0

192.168.3.2

GigabyteEthernet 0/0/1 192.168.4.2

GigabyteEthernet 0/0/2 192.168.5.2

3.3.3.3 Loopback0

AR4 Gigabyte Ethernet 192.168 4.10/0/0

Gigabyte Ethernet0/0/1 192 168.2.1

Gigabyte Ethernet 0/0/2 192.168.6.2

Loopback04.4.4.4

AR5 192.168.5.1GigabyteEthernet 0/0/0

Gigabyte Ethernet0/0/1192.168.6.1

Loopback05.5.5.5

Table 2 Configure the IP address in ENSP

8.2.2 OSPFv2 Configuration

s used as Copper gigabyteethernet. IP

address configuration is then performed as follows:

IP address

192.168.1.1GigabyteEthernet 0/0/0

Gigabyte Ethernet0/0/1192.168.3.1

192.168.1.2GigabyteEthernet 0/0/0

GigabyteEthernet 0/0/1192.168.2.2

Gigabyte Ethernet0 / 0/0

GigabyteEthernet 0/0/1 192.168.4.2

GigabyteEthernet 0/0/2 192.168.5.2

Gigabyte Ethernet 192.168 4.10/0/0

Gigabyte Ethernet0/0/1 192 168.2.1

Gigabyte Ethernet 0/0/2 192.168.6.2

192.168.5.1GigabyteEthernet 0/0/0

Gigabyte Ethernet0/0/1192.168.6.1

Table 2 Configure the IP address in ENSP

After configuring the IP address of each

next step is to configure the IPv4 OSPFv2 following

command:

<AR1> sys [AR1] OSPF router

[AR1-router] version 2

[AR1-router] network 192.168.1.0 0.0.0.255 area 0

[AR1-router] network 192.168.3.0 0.0.0.255 area 0

[AR1-router] network 1.1.1.0 0.0.0.255 area 0

[ AR1-routers] end [AR1] show ip route

OSPF In this experiment only contained in one area is

area 0, by using wildmask 0.0.0.255.

8.2.3 Configuring RIPv2

next step is to configure the IPv4 RIPv2. Before

configuring RIPv2 first stop all previous configuration

that has been used OSPFv2.

Following command:

<AR1> sys [AR1] RIP routers [AR1-router] version 2

[AR1-router] network 192.168.1.0

[AR1-router] network 192.168 .3.0

[AR1-router] network 1.1.1.0

[AR1-routers] end

[AR1] show ip route

to router 1 (AR1) has AR2 and AR3 neighbor network

each distance is 1 hop. Furthermore, it also uses the

loopback IP that will be used if one of the routers

through which the dead could use its loopback IP.

8.3. Testing Connection

next step is to check the connection from the

configuration that has been done. The command is

used with the command #ping.

8.3.1Testing in GNS3

After configuring the IP address of each router, the

next step is to configure the IPv4 OSPFv2 following

router] network 192.168.1.0 0.0.0.255 area 0 router] network 192.168.3.0 0.0.0.255 area 0

.0.255 area 0

OSPF In this experiment only contained in one area is

next step is to configure the IPv4 RIPv2. Before

ious configuration

router 1 (AR1) has AR2 and AR3 neighbor network

each distance is 1 hop. Furthermore, it also uses the

loopback IP that will be used if one of the routers

through which the dead could use its loopback IP.

step is to check the connection from the

configuration that has been done. The command is

TestingGNS3 configuration in the simulator. For

OSPFv2 routers that use the results of the ping

command from router R1 to router R5 as follows:

Figure 4 Ping OSPFv2 routers from R1 to R5

Ping from R1 to R5 success on the IP 192.168.5.2 with

round-trip min / avg / max = 996 / 1142/1200 ms. For

the process of tracing the route from R1 to R5 is

heading to IP 192.168.1.1 through 192.168.6.2 takes a

while through the IP 192.168.5.2 1060msec takes 340

msec and through IP 192.168.2.2 takes 1768msec. The

next test for comparison is to check the results of the

configuration of the router R1 to R5 are using RIPv2

routers. Ping from R1 to IP 192.168.5.2 with the

following results:

Figure 5 Ping the router from R1 to R5 RIP

Ping from R1 to R5 success on the IP 192.168.5.2 with

round-trip min / avg / max = 924/1292/1440 ms . The

TestingGNS3 configuration in the simulator. For

OSPFv2 routers that use the results of the ping

r R1 to router R5 as follows:

Figure 4 Ping OSPFv2 routers from R1 to R5

Ping from R1 to R5 success on the IP 192.168.5.2 with

trip min / avg / max = 996 / 1142/1200 ms. For

the process of tracing the route from R1 to R5 is

.1 through 192.168.6.2 takes a

while through the IP 192.168.5.2 1060msec takes 340

msec and through IP 192.168.2.2 takes 1768msec. The

next test for comparison is to check the results of the

configuration of the router R1 to R5 are using RIPv2

g from R1 to IP 192.168.5.2 with the

Figure 5 Ping the router from R1 to R5 RIP

Ping from R1 to R5 success on the IP 192.168.5.2 with

trip min / avg / max = 924/1292/1440 ms . The

process of tracing the route from R1 to R5 is he

to IP 192.168.1.1 through 192.168.6.2 takes a while

through the IP 192.168.5.2 1460msec takes 884 msec

and through IP 192.168.2.2 takes 1972msec.

Visible difference from the experimental results that

show that the router OSPFv2 better than RIPv2 rout

in terms of time spent on inter-network connections.

With time efficient course will use an efficient

bandwidth capacity as well. In addition, the

information is sent through the router OSPF only the

latest course information.

8.3.2 Testing in eNSP

Last Testing the simulator configuration in ENSP. For

OSPFv2 routers that use the results of the ping

command from router router AR1 to AR5 as follows:.

OSPFv2 Figure 6 Ping the router from AR1 to AR5

Ping successfully from AR1 to AR5 on IP 192.168.6.1

with round-trip min / avg / max = 10 / 20/30 ms. The

next test for comparison is to check the results of the

configuration of the router AR1 to AR5 are using

RIPv2 routers. Ping from AR1 to IP 192.168.6.1 with

the following results:

process of tracing the route from R1 to R5 is heading

to IP 192.168.1.1 through 192.168.6.2 takes a while

through the IP 192.168.5.2 1460msec takes 884 msec

and through IP 192.168.2.2 takes 1972msec.

Visible difference from the experimental results that

show that the router OSPFv2 better than RIPv2 routers

network connections.

With time efficient course will use an efficient

bandwidth capacity as well. In addition, the

information is sent through the router OSPF only the

st Testing the simulator configuration in ENSP. For

OSPFv2 routers that use the results of the ping

command from router router AR1 to AR5 as follows:.

OSPFv2 Figure 6 Ping the router from AR1 to AR5

Ping successfully from AR1 to AR5 on IP 192.168.6.1

trip min / avg / max = 10 / 20/30 ms. The

next test for comparison is to check the results of the

configuration of the router AR1 to AR5 are using

RIPv2 routers. Ping from AR1 to IP 192.168.6.1 with

Figure 7 Ping RIPv2 routers AR1 to AR5 of

Ping successfully from AR1 to AR5 on IP 192.168.6.1

with round-trip min / avg / max = 50/76/130 ms . From

the experimental results showed that the visible

difference OSPFv2 routers using the simulator ENSP

better than RIPv2 routers in use of time for konverge

between routers. Utilization of bandwidth for OSPF

routers more efficient than the RIP router this is

because OSPF uses a link-state algorithm is only the

latest information is sent to the same area.

9. ANALYSIS RESULTS OF EXPERIMEN

Berdasaran experimental results (simulation) in the

IPv4 network protocol uses RIPv2 and OSPFv2 by

using two different simulators is GNS3 and ENSP the

above, the result that the speed OSPFv2 router for

inter-router konverge better than RIPv2 routers in

the experiments with GNS3 and the ENSP. In

experiments with GNS3 time from R1 to R5 konverge

on IP 192.168.5.2 which uses OSPFv2 router

menunjkkan round-trip min / avg / max =

996/1142/1200 ms, and the process of tracing the route

from R5 to R1 which is headed to the IP 192.168. 1.1

through 192.168.6.2 takes 1060 msec while through

the IP 192.168.5.2 takes 340 msec and through IP

192.168.2.2 takes 1768 msec while for RIPv2 routers

show round-trip min / avg / max = 924/1292/1440 and

outers AR1 to AR5 of

Ping successfully from AR1 to AR5 on IP 192.168.6.1

trip min / avg / max = 50/76/130 ms . From

the experimental results showed that the visible

difference OSPFv2 routers using the simulator ENSP

use of time for konverge

between routers. Utilization of bandwidth for OSPF

routers more efficient than the RIP router this is

state algorithm is only the

latest information is sent to the same area.

ANALYSIS RESULTS OF EXPERIMENT

Berdasaran experimental results (simulation) in the

IPv4 network protocol uses RIPv2 and OSPFv2 by

using two different simulators is GNS3 and ENSP the

above, the result that the speed OSPFv2 router for

router konverge better than RIPv2 routers in both

the experiments with GNS3 and the ENSP. In

experiments with GNS3 time from R1 to R5 konverge

on IP 192.168.5.2 which uses OSPFv2 router

trip min / avg / max =

996/1142/1200 ms, and the process of tracing the route

is headed to the IP 192.168. 1.1

through 192.168.6.2 takes 1060 msec while through

the IP 192.168.5.2 takes 340 msec and through IP

192.168.2.2 takes 1768 msec while for RIPv2 routers

trip min / avg / max = 924/1292/1440 and

processes tracing the route from R1 to R5 is heading to

IP 192.168.1.1 through 192.168.6.2 takes 1460 msec

while through the IP 192.168.5.2 takes 884 msec and

through IP 192.168.2.2 takes 1972msec. Further to the

simulator ENSP konverge time of AR1 to AR5 on IP

192.168.6.1 which uses OSPFv2 router shows round-

trip min / avg / max = 10/20/30 ms, whereas for RIPv2

routers show round-trip min / avg / max = 50/76/130

ms. By looking at the results of the two experiments

shown that the use of the simulator simulator simulator

ENSP faster than GNS3. It shows that the routers

huawei faster than Ciscorouters. RIP multicast method

that takes a long time in terms of packet delivery.

10. CONCLUSION

From the description and comparison of performance

as well as the experimental results OSPFv2 Routing

Protocol (OPEN Shortest Path First version 2) and

RIPv2 (Routing Information Protocol version 2) in the

IPv4 network, then it can be concluded that:

1. Every router within the same routing protocols

build routing tables, based on information from

neighboring routers for sharing information

between routers.

2. Based on the speed of delivery of the package with

the parameter used is the time between networks

that converge OSPFv2 routing protocols rather

than RIPv2 better use.

3. RIPv2 using distance / hops while for OSPF will

use the same area thus saving bandwidth usage

4. ENSP Simulator GNS3 looks faster than the time

required for inter-network konverge

5. Router Huawei products faster than cisco router

6. To wider network then it would be better to use

OSPF routers because of its ability to divide the

network area into several sections.

11. REFERENCES

1 Sofana, I., & CISCO CCNA

ComputerNetwork.2010, London: Informatics.

2. Abhishek Rai, KK, Performance Comparison of

Link State and Distance Vector Routing Protocols

using NS *. 2010.

3 Benjamin, H., CCNP Practical Studies:Routing.,

2002, Indianapolis USA: cicso press.

4. Doile, J., Dynamic Routing Protocols. Cisco Press,

2001, Nov. 16th

5. Andrew Fiade, ST, M. Kom.,

SimulationNetwork.2013, Yogakarta: Graha

Science.

6 Vina Rifiani, MZSH, Haryadi Amran Darwito,

Comparative Analysis Methods Distance Vector

Routing and Link State Packet Networking. 2008.

60111.

7 Saputra, J., in the Computer Lab CCNA Self

usingGNS3.2010, Jakarta: Mediakita.

8 Syaruddin, M., Performance Analysis of Routing

Protocol RIPng and OSPFv3 in IPv6networks,in

Thesis.2010, University of Indonesia: Jakarta.