There are three steps for installing the software: configuration, compilation, and installation.
Configure the Software |
Build the Software |
Install the Software |
The easiest way to get Zebra running is to issue the following commands:
% configure % make % make install
Zebra has an excellent configure script, the configure script automatically detects most host configurations. There are several additional configure options you can use to turn off IPv6 support, to disable the compilation of specific daemons, and to enable SNMP support.
You may specify any combination of the above options to the configure script. As well, you may find it useful to change the installation directory; specify the following options to the configure script.
By default, the executables are placed in `/usr/local/sbin' and the configuration files in `/usr/local/etc'. The `/usr/local/' installation prefix may be changed using options to the configuration script.
% ./configure --disable-ipv6
This command will configure zebra and the routing daemons.
There are several options available only to GNU/Linux systems:1
IPv6 supported is added from GNU/Linux kernel version 2.2. If you try to use the Zebra IPv6 feature on a GNU/Linux kernel, please make sure the below library has been installed.
After configuring the software, you will need to compile it for your system. Simply issue the command `make' in the root of the source directory and the software will be compiled. If you have any problems at this stage, be certain to send a bug report (See also Bug Reports).
% ./configure . . . ./configure output . . . % make
Installing the software to your system consists of copying the compiled programs and supporting files to a standard location. After the installation process has completed, these files will have been copied from your work directory to /usr/local/bin, and /usr/local/etc. To install the Zebra suite issue the following command at your shell prompt: make install
% % make install %Zebra daemon's have their own terminal interface or VTY. After installation, you have to setup each beast's port number to connect to them. Please add the following entries to /etc/services.
zebrasrv 2600/tcp # zebra service zebra 2601/tcp # zebra vty ripd 2602/tcp # RIPd vty ripngd 2603/tcp # RIPngd vty ospfd 2604/tcp # OSPFd vty bgpd 2605/tcp # BGPd vty ospf6d 2606/tcp # OSPF6d vty
If you use a FreeBSD newer than 2.2.8, the above entries are already added to /etc/services so there is no need to add it. If you specify a port number when starting the daemon, these entries may not be needed.
You may need to make changes to the config files in /usr/local/etc/*.conf. (See also Config Commands)
This file documents the GNU Zebra software which manages common TCP/IP routing protocols.
This is Edition 0.1, last updated 5 July 2000 of `The GNU Zebra Manual', for Zebra Version 0.88.
Copyright (C) 1999, 2000 Kunihiro Ishiguro
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by Kunihiro Ishiguro.