18. Dynamic routing RIP Protocol based on three-layer Technology
Dynamic routing protocol classification:
Distance Vector Routing Protocol: Select a route by the number of routes passed from the source network to the destination. Typical protocols are RIP and IGRP.
Link-state routing protocols: Route selection takes into account all paths from the source network to the destination. Typical protocols are OSPF and IS-IS.
RIP is a distance vector routing protocol, which measures the number of routes (hops). It supports up to 15 hops, that is, it can only dynamically learn route entries on 15 routes. 16 is unreachable.
RIP has an administrative distance of 120.
RIP routing update process: periodic update, neighbor update, broadcast update, full routing table update.
Convergence: When RIP reaches the second update cycle, the information between routers is the same, and the router learns all the network states.
Split horizon: learn routing information from an interface and not send it out that interface. The creation of loops can be organized.
RIP version differences
RIPV1
RIPV2
Broadcast Send Routing Update, 255.255.255.255
multicast routing update, 224.0.0.9
classful routing protocols
Classless routing protocol, can carry masks
Subnetting is not supported VLSM
VLSM with subnet support
Automatic summary, manual summary is not supported
Support manual summary
CISCO RIP related commands:
command
described
(config)# router rip
Create and enter RIP process
(config-router)# version 2
Switch version to RIPV2
(config-router)# no auto-summary
Turn off automatic summary
(config-router)# network segment
announce segment
# show ip protocols
View the configuration of routing protocols
Huawei H3C related commands:
command
described
[huawei] rip 1
Create and enter RIP process
[huawei-rip-1] version 2
Switch version to RIPV2
[huawei-rip-1] network segment
announce segment
[huawei] display rip 1 route
View RIP routing tables