RIP Configuration

Configuring RIP involves enabling the protocol on the router and specifying the networks to be advertised. Here's a basic guide:

Basic RIP Configuration (RIPv2):

Router(config)# router rip
Router(config-router)# version 2
Router(config-router)# network <network-address>
Router(config-router)# no auto-summary
  • router rip: Enables the RIP routing process.
  • version 2: Specifies RIP version 2, which supports VLSM and sends multicast updates. For RIPv1, use version 1.
  • network <network-address>: Advertises directly connected classful networks.
  • no auto-summary: Disables automatic summarization of routes at classful network boundaries. This is highly recommended for RIPv2 to ensure proper routing in discontiguous networks.

Passive Interface:

To prevent RIP from sending updates out of an interface, but still advertise the network connected to it:

Router(config-router)# passive-interface <interface-type> <interface-number>

RIP Authentication:

To secure RIP updates, authentication can be configured:

Router(config)# key chain <key-chain-name>
Router(config-keychain)# key 1
Router(config-keychain-key)# key-string <password>
Router(config-keychain-key)# exit
Router(config-if)# ip rip authentication mode md5
Router(config-if)# ip rip authentication key-chain <key-chain-name>

Verifying RIP:

Useful commands to verify RIP operation:

  • show ip protocols: Displays information about active routing protocols, including RIP.
  • show ip route rip: Shows RIP routes in the routing table.
  • show ip rip database: Displays the RIP routing database.