router rip command is necessary to enable RIP. To disable
RIP, use the
no router rip command. RIP must be enabled before
carrying out any of the RIP commands.
Set the RIP enable interface by network. The interfaces which have addresses matching with network are enabled.
This group of commands either enables or disables RIP interfaces between
certain numbers of a specified network address. For example, if the
network for 10.0.0.0/24 is RIP enabled, this would result in all the
addresses from 10.0.0.0 to 10.0.0.255 being enabled for RIP. The
network command will disable RIP for the specified network.
Set a RIP enabled interface by ifname. Both the sending and
receiving of RIP packets will be enabled on the port specified in the
network ifname command. The
no network ifname command will disable
RIP on the specified interface.
Specify RIP neighbor. When a neighbor doesn’t understand multicast,
this command is used to specify neighbors. In some cases, not all
routers will be able to understand multicasting, where packets are sent
to a network or a group of addresses. In a situation where a neighbor
cannot process multicast packets, it is necessary to establish a direct
link between routers. The neighbor command allows the network
administrator to specify a router as a RIP neighbor. The
neighbor a.b.c.d command will disable the RIP neighbor.
Below is very simple RIP configuration. Interface
interface which address match to
10.0.0.0/8 are RIP enabled.
! router rip network 10.0.0.0/8 network eth0 !
This command sets the specified interface to passive mode. On passive mode
interface, all receiving packets are processed as normal and ripd does
not send either multicast or unicast RIP packets except to RIP neighbors
neighbor command. The interface may be specified
as default to make ripd default to passive on all interfaces.
The default is to be passive on all interfaces.
Control split-horizon on the interface. Default is
split-horizon. If you don’t perform split-horizon on the interface,
no ip split-horizon.