Dynamic Routing Protocol generates and maintains the routing table required by the forwarding engine through the exchange of routing information. When the network topology changes, the Dynamic Routing Protocol can automatically update the routing table and determine the best path for data transmission. It is inevitable in the process of using the network, so what are the two types of Dynamic Routing Protocol? This is mainly related to the classification.
According to the routing algorithm, Dynamic Routing Protocol can be divided into Distance Vector Routing Protocol and Link State Routing Protocol.
Distance Vector Routing Protocol mainly adopts Distance-Vector (DV) Algorithm. It is that adjacent routers exchange the whole routing table with each other, superimpose the vectors, and finally learn the whole routing table. Representative Distance Vector Routing Protocols include RIP, BGP, etc.
Distance-Vector Algorithm is a periodic exchange of routing tables between routers, which exchanges the contents of the whole routing table, and each router exchanges routing tables with its directly connected neighbors. When the network topology changes, routers will exchange update packets regularly to obtain the network change information. However, it also has defects, mainly the reliability of metrics and the way of exchanging routing information. In a slightly larger network the convergence is very slow.
Dynamic Routing Protocol generates and maintains the routing table required by the forwarding engine through the exchange of routing information. When the network topology changes, the dynamic routing protocol can automatically update the routing table and determine the best path for data transmission. It is inevitable in the process of using the network, so what are the two types of a dynamic routing protocols? This is mainly related to the classification.
According to the routing algorithm, the dynamic routing protocol can be divided into Distance Vector Routing Protocol and Link State Routing Protocol.
Distance Vector Routing Protocol mainly adopts Distance-Vector (DV) Algorithm. It is that adjacent routers exchange the whole routing table with each other, superimpose the vectors, and finally learn the whole routing table. Representative Distance Vector Routing Protocols include RIP, BGP, etc.
Distance-Vector Algorithm is a periodic exchange of routing tables between routers, which exchanges the contents of the whole routing table, and each router exchanges routing tables with its directly connected neighbors. When the network topology changes, routers will exchange update packets regularly to obtain the network change information. However, it also has defects, mainly the reliability of metrics and the way of exchanging routing information. In a slightly larger network, the convergence is very slow.
Link State Routing Protocol adopts Link State Algorithm. It is a hierarchical algorithm. The router executing the algorithm does not simply learn routes from adjacent routers, but divides the router into regions, collects the link-state information of all routers in the region, and generates the network topology according to the link state information, and each router calculates the route according to the topology diagram. Link State Routing Protocols include OSPF, IS-IS, etc.
According to the classification of the work area, Dynamic Routing Protocol can be divided into Intra Domain Routing Protocol and Inter-Domain Routing Protocol.
Intra Domain Routing Protocols what we call IGP. It is a routing protocol responsible for routing within a routing domain. The role of Intra Domain Routing Protocol is to ensure that each router in a domain represents routing information in the same way and follows the same rules for publishing and processing information. It is mainly used to discover and calculate routes. Intra Domain Routing Protocol includes IP, OSPF, IS-IS, etc.
Inter-Domain Routing Protocol is responsible for the interaction of routing and reachable information between autonomous systems or domains. It is mainly used to transmit routing. Inter-Domain Routing Protocol includes EGP and BGP. EGP Protocol is a kind of external gateway protocol. Its efficiency is too low. It is only used as a standard external gateway protocol and is not widely used. At present, BGP is widely used on the Internet.
According to the classification of routing types, Dynamic Routing Protocol can be divided into Unicast Routing Protocol and Multicast Routing Protocol.
Unicast Routing Protocol is a protocol for generating and maintaining a unicast routing table, mainly including RIP, OSPF, IS-IS, IGRP, BGP, etc. Multicast Routing Protocol is a protocol to generate and maintain a multicast routing table. It mainly includes DVMRP, PIM-SM, PIM-DM, MOSPF, MBGP, etc.
