Node:Configure the Software, Next:, Previous:Installation, Up:Installation



Configure the Software

Zebra has an excellent configure script which 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.

--enable-guile
Turn on compilation of the zebra-guile interpreter. You will need the guile library to make this. zebra-guile implementation is not yet finished. So this option is only useful for zebra-guile developers.
--disable-ipv6
Turn off IPv6 related features and daemons. Zebra configure script automatically detects IPv6 stack. But sometimes you might want to disable IPv6 support of Zebra.
--disable-zebra
Do not build zebra daemon.
--disable-ripd
Do not build ripd.
--disable-ripngd
Do not build ripngd.
--disable-ospfd
Do not build ospfd.
--disable-ospf6d
Do not build ospf6d.
--disable-bgpd
Do not build bgpd.
--disable-bgp-announce
Make bgpd which does not make bgp announcements at all. This feature is good for using bgpd as a BGP announcement listener.
--enable-netlink
Force to enable GNU/Linux netlink interface. Zebra configure script detects netlink interface by checking a header file. When the header file does not match to the current running kernel, configure script will not turn on netlink support.
--enable-snmp
Enable SNMP support. By default, SNMP support is disabled.

You may specify any combination of the above 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 and other directories may be changed using the following options to the configuration script.

--prefix=prefix
Install architecture-independent files in prefix [/usr/local].
--sysconfdir=dir
Read-only sample configuration file in dir [prefix/etc].
     % ./configure --disable-ipv6
     

This command will configure zebra and the routing daemons.

There are several options available only to GNU/Linux systems: 1.


Footnotes

  1. GNU/Linux has very flexible kernel configuration features. If you use GNU/Linux, make sure that the current kernel configuration is what you want. Zebra will run with any kernel configuration but some recommendations do exist.


    CONFIG_NETLINK
    Kernel/User netlink socket. This is a brand new feature which enables an advanced interface between the Linux kernel and Zebra (see Kernel Interface).
    CONFIG_RTNETLINK
    Routing messages. This makes it possible to receive netlink routing messages. If you specify this option, zebra can detect routing information updates directly from the kernel (see Kernel Interface).
    CONFIG_IP_MULTICAST
    IP: multicasting. This option should be specified when you use ripd or ospfd because these protocols use multicast.
    IPv6 support has been added in GNU/Linux kernel version 2.2. If you try to use the Zebra IPv6 feature on a GNU/Linux kernel, please make sure the following libraries have been installed. Please note that these libraries will not be needed when you uses GNU C library 2.1 or upper.

    inet6-apps
    The inet6-apps package includes basic IPv6 related libraries such as inet_ntop and inet_pton. Some basic IPv6 programs such as ping, ftp, and inetd are also included. The inet-apps can be found at <ftp://ftp.inner.net/pub/ipv6/>.
    net-tools
    The net-tools package provides an IPv6 enabled interface and routing utility. It contains ifconfig, route, netstat, and other tools. net-tools may be found at <http://www.tazenda.demon.co.uk/phil/net-tools/>.