Wednesday 3 May 2023

RIPv1 vs RIPv2 (Routing Information Protocol)

RIP (Routing Information Protocol) is an interior gateway protocol that exchanges information between routers on networks. Version 2 has seen improvements by allowing classless routing, multicasting and support for variable length subnetting. 


Features of RIPv2:

  1. Classless Routing: RIPv2 supports classless routing, which means it can handle networks with different subnet masks. This is an improvement over RIPv1, which only supported classful routing.

  2. Multicasting: RIPv2 uses multicast to send and receive routing updates, which reduces network traffic and improves scalability.

  3. VLSM Support: RIPv2 supports variable-length subnet masks (VLSM), which allows for more efficient use of IP address space.

  4. Authentication: RIPv2 supports authentication, which helps to prevent unauthorized updates to the routing table.

  5. Hop Count Limit: RIPv2 has a hop count limit of 15, which means that routes with a higher hop count are considered unreachable.

  6. By default routing updates are sent to other routers every 30 seconds

How RIPv2 Works:

RIPv2 uses distance vector routing to exchange routing information between routers. Each router sends its routing table to its neighbours, and each router updates its own routing table based on the information received from its neighbours.

RIPv2 uses a metric called hop count to determine the best path to a destination network. The hop count is the number of routers that a packet must pass through to reach the destination network. RIPv2 assigns a default hop count of 1 to directly connected networks, and adds 1 to the hop count for each router that the packet passes through.

Configuring RIP

Build a topology similar to the below and configure the the relevant interfaces on each router. 



Once the topology has been configured the simple commands for enabling and configuring RIP are below. I have added the network addresses with the highlighted green arrows for the addresses to be added to the RIP database




Show rip database...



Additional commands with RIP


default-information originate is used to generate a default route in the RIP database


passive-interface to stop routing updates on an interface


More additions can be found using the ? command







No comments:

Post a Comment

Fast switching vs Process switching

Process Switching: Process switching is the traditional method of packet forwarding used in early routers. When a packet arrives at a router...