gated RIP protocol statement
rip yes|no|on|off [ {
broadcast ;
nobroadcast ;
nocheckzero;
preference preference ;
defaultmetric metric ;
interface interface_list [noripin] [noripout]
[metricin metric] [metricout metric]
[version 1]|[version 2 [multicast|broadcast]];
. . .
trustedgateways gateway_list ;
sourcegateways gateway_list ;
traceoptions traceoptions ;
} ] ;
The rip statement enables or disables RIP. If the rip statement is not
specified the default is:
rip on ;
If enabled, RIP will assume nobroadcast
when there is only one interface and broadcast when there is more than one.
The options are as follows:
broadcast-
Specifies that RIP packets will be
broadcast regardless of the number of
interfaces present. This is useful when propagating static routes or
routes learned from another protocol into RIP.
In some cases, the use of
broadcast when only one network interface is present can cause data
packets to traverse a single network twice.
nobroadcast-
Specifies that RIP packets will not be broadcast
on attached interfaces,
even if there is more than one. If a sourcegateways clause is
present, routes will still be unicast directly to that gateway.
nocheckzero-
Specifies that RIP
should not make sure that reserved fields in incoming
Version 1 RIP packets are zero. Normally RIP
will reject packets where
the reserved fields are zero.
preference preference-
Sets the preference for routes learned from RIP.
The default preference
is 100. This preference may be overridden by a preference specified in
import policy.
defaultmetric metric-
Defines the metric used when advertising routes via RIP that were
learned from other protocols. If not specified, the default value is 16
(unreachable). This choice of values requires you to explicitly specify a
metric in order to export routes from other protocols into RIP. This
metric may be overridden by a metric specified in export policy.
interface interface_list-
Controls various attributes of sending RIP on specific interfaces.
See
``gated interfaces statements''
for the description of the
interface_list variable. The possible parameters are:
noripin-
Specifies that RIP packets received via the specified interface
will be ignored. The default is to listen to RIP on all interfaces.
noripout-
Specifies that no RIP packets will be sent on the specified
interfaces. The default is to send RIP on all interfaces when in
broadcast mode.
metricin metric-
Specifies the RIP metric to add to incoming routes before they
are installed in the routing table. The default is the kernel
interface metric plus 1 (which is the default RIP hop count). If
this value is specified, it will be used as the absolute value, and the
kernel metric will not be added. This option is used to make this
router prefer RIP routes learned via the specified interface(s) less
than RIP routes from other interfaces.
metricout metric-
Specifies the RIP metric to be added to routes that are sent via
the specified interface(s). The default is zero. This option is used
to make other routers prefer other sources of RIP routes over this
router.
version 1-
Specifies that RIP packets sent via the specified interface(s) will
be Version 1 packets. This is the default.
version 2-
Specifies that RIP Version 2 packets will be sent on the specified
interfaces(s).
If IP multicast support is available on this interface,
the default is to send full Version 2 packets. If it is not available,
Version 1-compatible Version 2 packets will be sent.
multicast-
Specifies that RIP Version 2 packets should be multicast on this
interface. This is the default.
broadcast-
Specifies that RIP Version 1-compatible Version 2 packets should
be broadcast on this interface, even if IP multicast is available.
trustedgateways gateway_list-
Defines the list of gateways from which RIP will accept updates.
The gateway_list is simply a list of host names
or IP addresses. By default,
all routers on the shared network are trusted to supply routing
information. But if the trustedgateways clause is specified, only
updates from the gateways in the list are accepted.
sourcegateways gateway_list-
Defines a list of routers to which RIP sends packets directly, not
through multicast or broadcast. By default, RIP
packets are broadcast to
every system on the shared network. If the sourcegateways
statement is used, only updates from the gateways in the list are
accepted.
traceoptions trace_options-
Specifies the tracing options for RIP. (See
``gated trace statements'').
Next topic:
gated OSPF protocol statement
Previous topic:
gated definition statements
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003