Technical data

Gateway Routing Daemon (GATED) Configuration Reference
A.19 Sample Host Configurations
Note that RIP will not run if UDP checksums are disabled in the kernel.
The following sample runs RIP in quiet mode; it only listens to packets, no
matter how many interfaces are configured:
#
rip yes ;
{
nobroadcast ;
};
#
The following sample is suitable for any system that runs RIP and has only
one network interface:
#
# do not time-out the network interface
#
interface 136.66.12.2 passive ;
#
# enable rip
#
rip yes ;
#
The
passive
keyword prevents GATED from changing the preference of the
route to this interface if it is believed to be down due to lack of received
routing information. The interface passive statement identifies a router with
a guest host on an Ethernet.
In the example, the route is through the directly attached network interface.
Normally, when GATED thinks an interface is down, it removes it from the
routing database to prevent a gateway from announcing that it can route data
through a nonoperational interface.
If the host has only one interface, it should not be removed from the routing
database even if the interface is down (the interface 136.66.12.2 passive
statement in the example). RIP is enabled with the
rip yes
statement. This
statement is not required because it is the default, but the explicit statement
in the GATED.CONF file serves to document the configuration to prevent
future confusion.
A.19.1 Sample RIP and EGP Configuration
The following sample enables both an interior (RIP) and an exterior (EGP)
protocol and sets certain protocol-specific parameters:
A–44 Gateway Routing Daemon (GATED) Configuration Reference