0% found this document useful (0 votes)
254 views9 pages

Configuring RIP in Quagga Routing Suite

The document discusses configuring RIP routing on Quagga. It describes installing Quagga, locating configuration files in /etc/quagga, and editing the daemons file to enable Zebra and RIP daemons. The Zebra daemon is the main daemon, while RIP is one supported routing protocol. Instructions are provided for copying example configuration files, modifying zebra.conf with IP addresses, and enabling passwords for virtual terminal connections. Permissions on configuration files are modified to allow users to edit routing configurations.

Uploaded by

Mustafa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
254 views9 pages

Configuring RIP in Quagga Routing Suite

The document discusses configuring RIP routing on Quagga. It describes installing Quagga, locating configuration files in /etc/quagga, and editing the daemons file to enable Zebra and RIP daemons. The Zebra daemon is the main daemon, while RIP is one supported routing protocol. Instructions are provided for copying example configuration files, modifying zebra.conf with IP addresses, and enabling passwords for virtual terminal connections. Permissions on configuration files are modified to allow users to edit routing configurations.

Uploaded by

Mustafa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

RIP Configuration On Quagga

Email: Mustafamasror@[Link]

$sudo apt-get install Quagga


Once downloaded and installed, Quagga files can be found in a folder named Quagga.
The folder is located in /etc/quagga. When this command is issued
edit/etc/quagga/daemons, the user is allowed to edit the main daemon files and
therefore able to enable and disable some of the daemon files. When a yes is issued to
a certain daemon, it means that the daemon is enabled and active, and no means that
the daemon is inactive and for that case such a daemon cannot be used. Listing 2 below shows Zebra
and RIP Daemons when active, The Zebra daemon is the main daemon in Quagga and the RIP Daemon is
one of the routing protocols that Quagga can
support. So for this case the OSPF and the BGP routing protocols would not be used
since they were not activated.

Use your own ip address


zebra=yes
ospfd=no
bgpd=no
ripd=yes
Listing 2. Enabling routing daemons
Zebra is the main configuration file and therefore it has to be enabled all the time regardless of the IP
protocol that is in use. For the daemons to work correctly, the configuration file has to be configured
with the correct passwords, IP address as well as enabling and configuring the correct IP routing
Author: Mustafa Taheri
Herat Computer Science Faculty

Page 1

protocol. Listing 3 below shows the commands that can be used when copying and transferring the
configuration files to the
required folders.
$sudo cp/usr/share/doc/quagga/examples/* /etc/quagga/
in /etc/quagga directory run following command
$sudo cp [Link] [Link]
$sudo cp [Link] [Link]
Use your own routing protocol
When the above command is used, the user is able to navigate to the folder named
example located under usr/share/quagga and copy some of the examples of the
configuration files located there into the folder Quagga located in a folder named etc.
This file has to be modified and proper IP addresses inserted to the [Link] file this
is because the main daemon (Zebra Daemon) guides the rest of the daemons. Other
daemons get the IP addresses from the Zebra Daemon. For purposes of connecting
via the VTY connection, passwords have to be enabled, for without passwords users
cannot connect virtually to the Zebra Daemon or other available daemons such as RIP
Daemon, the OSPF Daemon or the BGP Daemon. In order to allow users also to connect, users have to
be given permission, since without proper permission users cannot
modify or change any configurations to suit their desires. As illustrated in the commands in listing 4 a
user is able to modify the permission in those given configuration
files to allow the user to modify or change the configuration files. Having this permission is important
when configuring the interfaces as well as enabling various IP routing

Author: Mustafa Taheri


Herat Computer Science Faculty

Page 2

daemons.

Use your own ip addresses.


$ sudo chown [Link] /etc/quagga/*.conf
$ sudo chmod 640 /etc/quagga/*.conf
Some of the configuration except the routing is done in [Link] and the other is done in [Link] or
any other protocol file and quagga is cisco lilke.

Author: Mustafa Taheri


Herat Computer Science Faculty

Page 3

Author: Mustafa Taheri


Herat Computer Science Faculty

Page 4

Author: Mustafa Taheri


Herat Computer Science Faculty

Page 5

Author: Mustafa Taheri


Herat Computer Science Faculty

Page 6

Author: Mustafa Taheri


Herat Computer Science Faculty

Page 7

Author: Mustafa Taheri


Herat Computer Science Faculty

Page 8

Interface config is done in [Link] file


Ip addresses must be set on operating systems and a statement (without quatos) Ip forwarding put in
the [Link] file.
In routing config only you should put only neigbour routes in config file.

Author: Mustafa Taheri


Herat Computer Science Faculty

Page 9

You might also like