
Oleh : Shoim
Demi kemajuan bersama dan rasa terimakasih kepada penulis beri komentar setelah anda membaca/ mendownload tutorial penulis, cantumkan alamat website (http://linto.jmn.net.id ) penulis jika anda menyadur/mencopy artikel penulis. Mari kita majukan IT Indonesia. Semangat…
tidak dipungkiri statik routing sudah tidak mengatasi routing untuk yang kompleks. maka untuk routing jaringan network yang besar diperluk routing dynamic. biasanya applikasi routing untuk network besar/isp. salah satu software aplikasi yang sering digunakan adalah bernama quagga menyediakan feature untuk merouting berbagai protokol routing bgp,ospf,rip. kelebihannya adalah gratis karena berjalan di linux base
berikut konfigurasinya:
#untuk instalasi di gentoo
emerge quagga
#copykan semua dari /etc/quagga/sample ke /etc/quagga
localhost / # ls -l /etc/quagga/
total 16
-rw-r–r– 1 root root 570 Dec 3 22:14 bgpd.conf
-rw-r–r– 1 root root 182 Dec 3 22:15 ospfd.conf
-rw-r–r– 1 root root 410 Dec 3 21:30 ripd.conf
drwxr-xr-x 2 root root 352 Dec 3 21:31 samples
-rw-r–r– 1 root root 373 Dec 3 21:31 zebra.conf
#jalankan service
localhost / # /etc/init.d/zebra start
* Cleaning up stale zebra routes… …
Nothing to flush. [ ok ]
* Starting zebra … [ ok ]
localhost / #
#remote zebra/qugga anda(zebra adalah daemon quagga),user=zebra,password=zebra
localhost / # telnet localhost 2601
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
Hello, this is Quagga (version 0.98.6).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
User Access Verification
Password:
Router> ena
Router> enable
Password:
Router#
#melihat config yang sedang berjalan
Router# show running-config
Current configuration:
!
hostname Router
password zebra
enable password zebra
!
interface eth0
ipv6 nd suppress-ra
!
interface lo
!
interface ra0
ipv6 nd suppress-ra
!
interface sit0
ipv6 nd suppress-ra
!
!
line vty
!
end
Router#
#ketikkan ? untuk melihat help perintah
Router#
configure Configuration from vty interface
copy Copy configuration
debug Debugging functions (see also ‘undebug’)
disable Turn off privileged mode command
echo Echo a message back to the vty
end End current mode and change to enable mode.
exit Exit current mode and down to previous mode
help Description of the interactive help system
list Print command list
logmsg Send a message to enabled logging destinations
no Negate a command or set its defaults
quit Exit current mode and down to previous mode
show Show running system information
terminal Set terminal line parameters
who Display who is on vty
write Write running configuration to memory, network, or terminal
Router#
#untuk melakukan konfigurasi masuk configure terminal
Router# configure terminal
Router(config)# se
Router(config)# ho
Router(config)# hostname Router-Linto
Router-Linto(config)#
#melihat routing
Router-Linto# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
I - ISIS, B - BGP, > - selected route, * - FIB route
K>* 0.0.0.0/0 via 192.168.1.1, eth0
K * 127.0.0.0/8 is directly connected, lo
C>* 127.0.0.0/8 is directly connected, lo
K * 192.168.1.0/24 is directly connected, eth0
C>* 192.168.1.0/24 is directly connected, eth0
Router-Linto#
#melihat interface
Router-Linto# show interface
Interface eth0 is up, line protocol detection is disabled
index 3 metric 1 mtu 1500
HWaddr: 00:40:d0:90:d5:42
inet 192.168.1.162/24 broadcast 192.168.1.255
inet6 fe80::240:d0ff:fe90:d542/64
input packets 36075, bytes 26396036, dropped 0, multicast packets 0
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0
output packets 20558, bytes 2108338, dropped 0
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0
collisions 0
Interface lo is up, line protocol detection is disabled
index 1 metric 1 mtu 16436
inet 127.0.0.1/8
inet6 ::1/128
input packets 4640, bytes 220476, dropped 0, multicast packets 0
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0
output packets 4640, bytes 220476, dropped 0
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0
collisions 0
Interface ra0 is down
index 4 metric 1 mtu 1500
HWaddr: 00:10:60:65:7e:31
input packets 0, bytes 0, dropped 0, multicast packets 0
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0
output packets 0, bytes 0, dropped 0
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0
collisions 0
Interface sit0 is down
index 2 metric 1 mtu 1480
input packets 0, bytes 0, dropped 0, multicast packets 0
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 0, missed 0
output packets 0, bytes 0, dropped 0
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0, window 0
collisions 0
Router-Linto#
#
