Difference between revisions of "TCP/IP: Quagga Prasyarat & Instalasi"

From OnnoWiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
  apt-cache policy quagga
 
  apt-cache policy quagga
 +
 +
 +
Hasilnya:
  
 
  quagga:
 
  quagga:
    Installed : (none)
+
  Installed: (none)
    Candidate : 0.99.6-2ubuntu3.1
+
  Candidate: 0.99.22-1
Version table :
+
  Version table:
*** 0.99.6-2ubuntu3.1 0
+
      0.99.22-1 0
         500 http://security.ubuntu.com feisty-security/main Packages
+
         500 http://192.168.1.10/ubuntu-13.04/ raring/main i386 Packages
        100 /var/lib/dpkg/status
 
*** 0.99.6-2ubuntu3 0
 
        500 http://ch.archive.ubuntu.com feisty/main Packages
 
  
To download and install Quagga:
+
Untuk men-download dan menginstalasi Quagga dapat menggunakan perintah:
  
 
  apt-get install quagga quagga-doc
 
  apt-get install quagga quagga-doc
  
To see the Quagga dependencies:
+
Untuk melihat dependensi yang dibutuhkan Quagga:
  
 
  apt-cache depends quagga
 
  apt-cache depends quagga
 +
 +
Hasilnya:
  
 
  quagga
 
  quagga
    Depends: libc6
+
  Depends: libc6
    Depends: libcap1
+
  Depends: libcap2
    Depends: libpam0g
+
  Depends: libpam0g
    Depends: libreadline5
+
  Depends: libreadline6
    Depends: logrotate
+
  Depends: logrotate
    Depends: iproute
+
  Depends: iproute
  |Depends: debconf
+
  |Depends: debconf
    Depends: debconf-2.0
+
  Depends: <debconf-2.0>
      cdebconf
+
    cdebconf
      debconf
+
    debconf
    PreDepends: adduser
+
  PreDepends: adduser
    Suggests: snmpd
+
  Suggests: snmpd
    Conflicts: zebra
+
  Conflicts: <zebra>
    Conflicts: zebra-pj
+
  Conflicts: <zebra-pj>
    Replaces: zebra
+
  Replaces: <zebra>
    Replaces: zebra-pj
+
  Replaces: <zebra-pj>
  
 
Edit file
 
Edit file
Line 44: Line 46:
 
  vi /etc/quagga/debian.conf  
 
  vi /etc/quagga/debian.conf  
  
Supaya
+
Sebagai contoh, jika kita menggunakan broadcast address
 +
 
 +
* 192.168.1.255
 +
* 224.0.0.9
 +
* 124::ffff
 +
* ff02::9
 +
 
 +
Maka kita perlu menset isi /etc/quagga/debian.conf
 +
 
 +
vtysh_enable=yes
 +
zebra_options=" --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"
 +
bgpd_options="  --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"
 +
ospfd_options=" --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"
 +
ospf6d_options="--daemon -A 124::ffff -A ff02::9 -A ::1"
 +
ripd_options="  --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"
 +
ripngd_options="--daemon -A 124::ffff -A ff02::9 -A ::1"
 +
isisd_options=" --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"
 +
babeld_options=" --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"
 +
 
 +
Sebaiknya bisa di akses dari localhost saja,
 +
 
 +
vtysh_enable=yes
 +
zebra_options=" --daemon -A 127.0.01"
 +
bgpd_options="  --daemon -A 127.0.01"
 +
ospfd_options=" --daemon -A 127.0.01"
 +
ospf6d_options="--daemon -A ::1"
 +
ripd_options="  --daemon -A 127.0.01"
 +
ripngd_options="--daemon -A ::1"
 +
isisd_options=" --daemon -A 127.0.01"
 +
babeld_options=" --daemon -A 127.0.01"
 +
 
 +
Kadang kala bisa juga menggunakan menggunakan (walau nampaknya ada masalah)
 +
 
 +
vtysh_enable=yes
 +
zebra_options=" --daemon"
 +
bgpd_options="  --daemon -A"
 +
ospfd_options=" --daemon -A"
 +
ospf6d_options="--daemon -A"
 +
ripd_options="  --daemon -A"
 +
ripngd_options="--daemon -A"
 +
isisd_options=" --daemon -A"
 +
babeld_options=" --daemon -A"
  
zebra_options=" --daemon -A 192.168.1.255 -A 224.0.0.9"
 
bgpd_options="  --daemon -A 192.168.1.255 -A 224.0.0.9"
 
ospfd_options=" --daemon -A 192.168.1.255 -A 224.0.0.9"
 
ospf6d_options="--daemon -A 124::ffff -A ff02::9"
 
ripd_options="  --daemon -A 192.168.1.255 -A 224.0.0.9"
 
ripngd_options="--daemon -A 124::ffff -A ff02::9"
 
isisd_options=" --daemon -A 192.168.1.255 -A 224.0.0.9"
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Latest revision as of 09:47, 13 November 2013

Untuk melihat versi Quagga yang tersedia dapat menggunakan perintah:

apt-cache policy quagga


Hasilnya:

quagga:
  Installed: (none)
  Candidate: 0.99.22-1
  Version table:
     0.99.22-1 0
        500 http://192.168.1.10/ubuntu-13.04/ raring/main i386 Packages

Untuk men-download dan menginstalasi Quagga dapat menggunakan perintah:

apt-get install quagga quagga-doc

Untuk melihat dependensi yang dibutuhkan Quagga:

apt-cache depends quagga

Hasilnya:

quagga
  Depends: libc6
  Depends: libcap2
  Depends: libpam0g
  Depends: libreadline6
  Depends: logrotate
  Depends: iproute
 |Depends: debconf
  Depends: <debconf-2.0>
    cdebconf
    debconf
  PreDepends: adduser
  Suggests: snmpd
  Conflicts: <zebra>
  Conflicts: <zebra-pj>
  Replaces: <zebra>
  Replaces: <zebra-pj>

Edit file

cp /etc/quagga/debian.conf /etc/quagga/debian.conf.original
vi /etc/quagga/debian.conf 

Sebagai contoh, jika kita menggunakan broadcast address

  • 192.168.1.255
  • 224.0.0.9
  • 124::ffff
  • ff02::9

Maka kita perlu menset isi /etc/quagga/debian.conf

vtysh_enable=yes
zebra_options=" --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"
bgpd_options="  --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"
ospfd_options=" --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"
ospf6d_options="--daemon -A 124::ffff -A ff02::9 -A ::1"
ripd_options="  --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"
ripngd_options="--daemon -A 124::ffff -A ff02::9 -A ::1"
isisd_options=" --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"
babeld_options=" --daemon -A 192.168.1.255 -A 224.0.0.9 -A 127.0.01"

Sebaiknya bisa di akses dari localhost saja,

vtysh_enable=yes
zebra_options=" --daemon -A 127.0.01"
bgpd_options="  --daemon -A 127.0.01"
ospfd_options=" --daemon -A 127.0.01"
ospf6d_options="--daemon -A ::1"
ripd_options="  --daemon -A 127.0.01"
ripngd_options="--daemon -A ::1"
isisd_options=" --daemon -A 127.0.01"
babeld_options=" --daemon -A 127.0.01"

Kadang kala bisa juga menggunakan menggunakan (walau nampaknya ada masalah)

vtysh_enable=yes
zebra_options=" --daemon"
bgpd_options="  --daemon -A"
ospfd_options=" --daemon -A"
ospf6d_options="--daemon -A"
ripd_options="  --daemon -A"
ripngd_options="--daemon -A"
isisd_options=" --daemon -A"
babeld_options=" --daemon -A"


Pranala Menarik