CCNA Certification/Routing Protocols/RIP

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Routing Information Protocol[edit | edit source]

Overview of RIP[edit | edit source]

Routing Information Protocol is a distance vector routing protocol. It transfers the complete routing table to all interfaces periodically and only uses hop count to determine the best path to a remote network.

Configuring RIP[edit | edit source]

RIP is relatively simple to configure. The following is an example of how to configure RIP on a router.

Enter router configuration mode.

router#conf t

Turn on the RIP protocol

router(config)#router rip

Assign which networks RIP will advertise (this also has the effect of selecting which interfaces RIP will be active on)

router(config)#network x.x.x.x


When using the network x.x.x.x expression x.x.x.x will be the subnet to advertise. As RIP is a classful routing protocol this will need to take the form of a standard Class A,B, or C address e.g. 10.0.0.0, 172.16.0.0 or 192.168.1.0.

Example[edit | edit source]

Configure RIP to advertise the subnets 192.168.1.0 and 192.168.5.0

router#conf t

router(config)#router rip

router(config)#network 192.168.1.0

router(config)#network 192.168.5.0


To turn off RIP

router#conf t

router(config)#no router rip

References[edit | edit source]

CCNA Certification