Configuring gated

Configuring the RIP Protocol

trustedgateways router_list ; sourcegateways router_list ; traceoptions traceoptions ;

} ] ;

Curly braces ({}) are part of the syntax for the RIP protocol statement. Square brackets ([]) are not part of the syntax; they are used here to indicate optional parameters.

yes (or on) informs gated to enable the RIP protocol at this node and to process RIP packets coming in from other nodes. no (or off) informs gated to disable the RIP protocol at this node. If gated finds fewer than two network interfaces, the node listens to RIP information. If gated finds two or more network interfaces, the node not only listens but also broadcasts or multicasts the RIP information. If you do not specify a RIP statement in your configuration file, rip on is assumed.

The following describes the various options in the RIP statement:

broadcast specifies that RIP packets are always generated. If the RIP protocol is enabled and more than one interface is specified, broadcast is assumed. Specifying broadcast with only one interface is useful only when propagating static routes or routes learned from other protocols.

nobroadcast specifies that RIP packets are sent only to routers listed in the sourcegateways clause. If the RIP protocol is enabled, but only one interface is specified, nobroadcast is assumed.

nocheckzero specifies that the RIP protocol must not check whether the reserved fields in the RIP packets are zero. In RIP Version 1 (as described in RFC 1058), certain reserved fields must be zero; however, this may vary in RIP implementations.

preference determines the order of routes from other protocols to the same destination in the routing table. gated allows one route to a destination per protocol for each autonomous system. In case of multiple routes, the route used is determined by the value of preference.

Default: 100

Range: 0 (most preferred) – 255 (least preferred)

defaultmetric is the default metric used when propagating routes learned from other protocols.

Default: 16

Chapter 3

51