RIP (Routing information Protocol) routing protocol is a kind of routing protocol which has been widely used in small and medium networks. RIP uses UDP packets to exchange routing information with a UDP port number of 520. Normally the RIPV1 message is broadcast, while the RIPV2 message is a group broadcast message, and the multicast address is 224.0.0.9. RIP sends an update message out every 30 seconds. If the device does not receive a routing update message from the peer for 180 seconds, all routing information from this device is flagged as unreachable, and the routes are removed from the routing table if the update message is not received within 240 seconds.
RIP has two versions of RIP-1 and RIP-2 .
RIP-1 is a class routing protocol that only supports the broadcast of protocol messages. RIP-1 Protocol messages cannot carry mask information,RIP-1 do not support noncontiguous subnets.
RIP-2 is a classless routing protocol that has the following advantages over RIP-1:
1, support the route tag, in the routing strategy can be based on routing tags to flexible control.
2, the message carries the mask information, supports the route aggregation and the CIDR(classless inter-domain Routing, the non-class inter-domain route).
3, support to specify the next hop, on the broadcast network can choose to the best next-hop address.
4, support multicast routing to send update messages, reduce resource consumption.
5,support the verification of protocol messages, and provide clear-text verification and MD5 verification of two ways to enhance security.
Note: RIP-2 has two kinds of message transmission mode: Broadcast mode and multicast mode, by default, multicast is used to send the message, and the multicast address is 224.0.0.9. When the interface runs RIP-2 broadcast mode, it can also receive RIP-1 messages.
RIPV2 Protocol Experiment:
First, the experimental topological diagram
Second, the experimental steps
1. Configure router IP address
(Note: Commands in Cisco devices can be abbreviated, and most of the commands in this experiment are abbreviated.) )
2,PC IP address configuration
3.Test the connectivity between PC and gateway
4. Configuring the RIPv2 protocol
5.by looking at the routing table, you can see that the configuration completes after the RIP routing protocol. Each router can learn from each other to the routing table of the other routers.
6. Test connectivity across network segments ( ping test)
This experiment is done!
Chenlongchun
2017-12-13
CISCO CCNA RIP