Thursday, October 18, 2018

Routing Information Protocol (RIP Protocol)

Routing Information Protocol (RIP Protocol) is one of the oldest remote vector routing protocols. It is usually used on small networks, because it is very easy to configure and manage, but it lacks some advanced features in routing protocols such as OSPF or EIGRP. There are two versions of protocol version 1 and 2. Both versions use hop counts as a measure and have an administrative distance of 120. RIP version 2 can announce network masks and uses multicast to send routing update bets. while Version 1 does not publish subnet masks and uses are sent for updates. Version 2 is backward compatible with version 1.






RIPv2 sends the entire routing table every 30 seconds, which can consume a lot of bandwidth. RIPv2 uses multicast address 224.0.0.9 to send routing updates supporting authentication and triggered updates (posted updates during a network change).

Consider, for example, the operation of the RIP protocol as shown below.

How does scam work?

The R1 router connects directly to the subnet 10.0.0.0/24. The network service has configured RIP on R1 to announce the route to that subnet. R1 sends routing updates to R2 and R3. Routing updates list subnet, network mask, and measurements for this route. Each router, R2 and R3, receives this update and adds the path to the respective routing tables. Both routers show metric 1 because the network is within the reach of everyone.



Configuring RIPv2



The configuration of RIPv2 is a rather simple process. Only three steps are necessary:

1. Enable RIP with the Router Router Global Configuration Command
2. Ask the router to use RIPv2 by typing command version 2
3. Tell RIP which networks should advertise with one or more network commands.

The first two commands are easy to understand, but the last command requires a little more thought. In the network command, you can specify the interface to participate in the routing process. This command takes a class network as a parameter and enables the RIP protocol on the corresponding interface. Configure our network example to use the RIP protocol.



The routers R1 and R2 have an online subnet. We want to include these subnetworks during the RIP routing process. To do this, we must first enable the RIP protocol on both routers and then publish these subnetwork using the network command.

On router R1, in global configuration mode, enter the router's rip command to enable the RIP protocol. In RIP configuration mode, change the protocol version to 2 with command version 2. Then use the network 10.0.0.0 command to include the Fa0 / 1 interface in the R1 router in the routing process. Keep in mind that the network command takes a classic network number as a parameter. In this case, each interface whose IP address begins with will be included in the RIP process (IP addresses starting with 10 are an address and the default network mask of 255.0.0.0). For example, if another router interface had the IP address 10.1.0.1, it would also be included in the routing process using the network command. You must also include the link between the two routers in the RIP routing process. This is done by adding another network instruction, network 172.16.0.0.

Then, the configuration of R1 should look like this:




The configuration on R2 is similar but with another network number for the online subnet:




You can verify that the R1 router has a route to the online network subnet of R2 by typing the ip command show ip:




The legend shows R for all RIP routes in the routing table. Also note that the administrative distance 120 is specified, as well as the metrinet 1.

0 Please Share a Your Opinion.: