Routing Information Protocol atau yang dikenal RIP adalah dinamik routing protokol yang sudah cukup tua. Di ciptakan sekitar tahun 1970.
Cara kerjanya berdasarkan Distance Vector Routing Protocol, yang berarti akan mempergunakan pendekatan berapa banyak hop (lompatan) router yang akan ditempuh untuk mencapai suatu network. Dan yang akan dipilih adalah hop terpendek.
RIP bekerja dengan menginformasikan status network yang dipegang secara langsung kepada router tetangganya.
Karakteristik dari RIP:
Sama halnya dengan zebra, daemon rip dapat dikonfigur lewat 2 cara.
Konfigurasi dengan 2 cara :
root@opera zebra# vi ripd.conf root@opera zebra# service ripd restart
root@opera zebra# telnet 127.0.0.1 2602 Hello, this is zebra (version 0.94). Copyright 1996-2002 Kunihiro Ishiguro.
Konfigurasi RIP sangat sederhana, secara umum hanya membutuhkan 3 entri dalam running configurasi.
Masukkan network mempunyai router tetangga RIP dan network yang akan disebarkan ke router tetangga.
ripd(config)# router rip ripd(config-router)# network 192.168.1.0/24 ripd(config-router)# network 10.1.1.0/24 ripd(config-router)# ^z ripd#
ripd# show ip protocols Routing Protocol is "rip" Sending updates every 30 seconds with +/-50%, next due in 7 seconds Timeout after 180 seconds, garbage collect after 120 seconds Outgoing update filter list for all interface is not set Incoming update filter list for all interface is not set Default redistribution metric is 1 Redistributing: Default version control: send version 2, receive version 2 Interface Send Recv Key-chain Routing for Networks: 10.1.1.0/24 192.168.1.0/24 Routing Information Sources: Gateway BadPackets BadRoutes Distance Last Update Distance: (default is 120)
ripd# show ip rip Codes: R - RIP, C - connected, O - OSPF, B - BGP (n) - normal, (s) - static, (d) - default, (r) - redistribute, (i) - interface Network Next Hop Metric From Time
ripd# write memory Configuration saved to /etc/zebra/ripd.conf