HP (Hewlett-Packard) HP-UX 11i v2 Manuale Utente

Pagina di 113
Configuring gated
Configuring the RIP Protocol
Chapter 3
58
rip yes {
interface 121.1.0.10 version 2 multicast;
};
static {
default interface 121.1.0.10 preference 255 ;
};
With one interface, C can listen to RIP traffic on the network but does
not forward routing information. Routers must be multicasting RIP
packets on this network for C to learn about them and to update its
routing table.
D: Major Router
Set up
/etc/gated.conf
 as follows:
rip yes {
interface all version 2 multicast ;
};
This runs RIP on all attached networks.
E: Major Router
Set up the configuration file
/etc/gated.conf
 as follows:
rip yes {
interface all version 2 multicast;
};
Controlling RIP Traffic
This section describes configuration options for RIP routing information
sent by
gated
from the node. Use these options to hide all or part of your
network from other networks or to limit network traffic.
The RIP protocol definition in the
/etc/gated.conf
 file contains the
following two options for limiting RIP routing information exported by
gated
:
The
noripout
clause in the interface definition informs
gated
not to
send any RIP information through the listed interfaces.
The
sourcegateways
 clause informs
gated
 to send RIP information
directly to the specified routers.