CCIE Detailed explanation of routing protocols IGRP and EIGRP
From their names alone, we can guess that there are many connections between them.
An interior gateway routing protocol designed by Cisco in the mid-1980s. Use combined user configuration metrics, including latency, bandwidth, reliability, and load. It has a high span within the same autonomous system and is suitable for complex networks. Cisco IOS allows router administrators to weight the IGRP network bandwidth, delay, reliability, and load to affect the calculation of the metric.
It is a Cisco proprietary routing protocol that provides routing functions in an autonomous system (AS: autonomous system). In the mid-1980s, the most commonly used internal routing protocol was the Routing Information Protocol (RIP). Although RIP is very useful for realizing the routing selection of small or medium-sized interconnection networks of the same type, with the continuous development of the network, its limitations have become more obvious. The practicality of Cisco routers and the powerful functionality of IGRP have led many small Internet organizations to use IGRP instead of RIP. As early as the 1990s, Cisco introduced enhanced IGRP to further improve the operational efficiency of IGRP.
For greater flexibility, IGRP supports multi-path routing services. In the round robin mode, two lines with the same bandwidth can run a single communication stream. If one of the lines fails to transmit, the system will automatically switch to the other line. Multipath can be multipath lines with different standards but still work.
IGRP maintains a set of timers and variables containing time intervals. Including update timer, expire timer, hold timer and clear timer. The update timer specifies how often the route update message should be sent. This value in IGRP defaults to 90 seconds. The invalidation timer specifies how long the router should wait before declaring that the route is invalid when there is no routing update message for a specific route. This value in IGRP defaults to three times the update period. The hold time variable specifies the hold-down period. This value in IGRP defaults to three times the update period plus 10 seconds, which is 280 seconds. Finally, the empty timer specifies the time the router waits before emptying the routing table. The default value of IGRP is seven times the route update cycle.
EIGRP: Enhanced Interior Gateway Routing Protocol is the enhanced interior gateway routing protocol. Also translated into enhanced internal gateway routing protocol. EIGRP is a private agreement of Cisco (it has been publicized in 2013). EIGRP combines the link state and distance vector routing protocol of the Cisco proprietary protocol, and adopts the dispersion correction algorithm (DUAL) to achieve fast convergence, and can not send periodic routing update information to reduce bandwidth occupation.
EIGRP uses DUAL to achieve rapid convergence. Routers running EIGRP store neighbors’ routing tables, so they can quickly adapt to changes in the network. If there is no suitable route in the local routing table and there is no suitable backup route in the topology table, EIGRP will query neighbors to find alternative routes. The query will continue to propagate until an alternative route is found or it is determined that there is no alternative route. Moreover, EIGRP sends partial updates instead of periodic updates, and only sends when the routing path or metric changes. Only the information of the changed link is included in the update, instead of the entire routing table, which can reduce bandwidth usage. In addition, it also automatically limits the propagation of these partial updates and only delivers them to the routers that need them. Therefore, EIGRP consumes much less bandwidth than IGRP. This behavior is also different from link state routing protocols, which send updates to all routers in the area.
EIGRP uses a variety of parameters to calculate the metric value to the target network, including bandwidth (Bandwidth), delay (delay), reliability (reliability), load (loading), maximum transmission unit (MTU), these 5 parameters use K respectively The value is expressed as K1, K2, K3, K4, K5, so if the five K values between two EIGRP routers are different, it means that the two parties have different methods of calculating the metric value; whether it is EIGRP or other protocols, use When calculating the bandwidth metric, only the bandwidth in the outbound direction of the interface is calculated, and the inbound direction of the interface is not counted. That is, on a link, the bandwidth of only one outbound interface will be calculated, while the bandwidth of the inbound interface is ignored. of.
The 5 standards of EIGRP Metric:
10 divided by the 7th power of the lowest bandwidth between the source and target multiplied by 256 (10 divided by the 7th power of 10 by the minimum bandwidth in Kbit/s, then added to the sum of delays divided by 10, and finally multiplied by 256 ).
Delay: The cumulative delay of the interface is multiplied by 256, and the unit is 10 microseconds.
Reliability: The most unreliable reliability value between the source and the destination based on keepalive.
Load: The value of the worst load between the source and the destination based on the packet rate and interface configuration bandwidth.
Maximum transmission unit: The smallest MTU in the path. MTU is included in the routing update of EIGRP, but generally does not participate in the calculation of EIGRP degrees.