Tag: eigrp load balancing

  • How to Configure EIGRP Load Balancing for IPv4

    How to Configure EIGRP Load Balancing for IPv4

    EIGRP is a Cisco proprietary routing protocol. Router-enabled EIGRP calculates the best route to a destination using the metric value based on the link bandwidth and delay. The protocol selects the shortest path and installs that path in the routing table. If the destination has more than one path with the same administrative distance and a metric value, all least-metric and same routes are installed in the routing table.

    When there are several routes with equal metric values, by default, all dynamic routing protocols, including EIGRP, forward packets using load balancing. We can configure EIGRP to install multiple paths even if the metric is unequal. This is the only protocol that supports unequal cost load balancing. There are two types of load balancing:

    Equal-cost load balancing

    When a router has two or more paths to a destination with equal cost metrics, it forwards the packets using all paths equally, a process called equal-cost load balancing. When forwarding packets, the protocol should have an equal administrative distance to a destination. Using load balancing, the router uses network segments and bandwidth more efficiently.

    By default, Cisco IOS Software can balance the load across four equal-cost paths. We can configure the EIGRP load balancing up to 16 equal-cost paths using the “maximum-path” in the router configuration mode. The router can keep up to 32 equal-cost routes in the routing table.

    If we set the maximum-path value to 1, the equal-path load balancing is disabled on the router. The Cisco router uses two types for balancing the network load: per-destination basis and per-packet basis. The command syntax for equal-cost EIGRP load balancing configuration is:

    Router(config-router)# maximum-pathsvalue

    We can verify the EIGRP load balancing using the “show ip protocols” command. The command displays the number of equal-cost paths currently configured on the router. Cisco IOS, by default, allows EIGRP load balancing for four equal-cost path routes. The output in Figure 1 illustrates the topology that we will use in this lesson, and Figure 2 illustrates that R1 is using the default equal-cost EIGRP load balancing.

    Screen Shot 2024 06 14 at 12026 PM
    How to Configure EIGRP Load Balancing for IPv4 9
    Screen Shot 2024 06 14 at 12040 PM
    How to Configure EIGRP Load Balancing for IPv4 10

    Figure 3 illustrates the routing table of R1. The Router R1 has two successors for network 192.168.5.0/24 via 192.168.0.2 and 192.168.1.2. The metric for both routes is equal, so both are installed in the routing table. This is an example of equal-cost load balancing. EIGRP uses four routes with equal cost by default in the routing table.

    Screen Shot 2024 06 14 at 12112 PM
    How to Configure EIGRP Load Balancing for IPv4 11

    Unequal Cost Load Balancing

    If routing metrics are not equal, load balancing will not occur automatically. So a command called “variance” must be used to configure a load-balancing. This command makes EIGRP load balance on unequal metrics values. The command syntax for unequal load-balancing is:

    Router(config-router)variance < Metric variance Multiplier>

    The command will enable EIGRP to install multiple loop-free routes with unequal cost in a local routing table. A route learned through EIGRP should meet two criteria to be installed in the local routing table:

    • The route should be loop-free, being both a feasible successor (FS) and having a reported distance (RD) less than the total distance.
    • The route’s metric must be lower than the metric of the best route (the successor) multiplied by the variance configured on the router.

    If the variance value is set to 1 on the router then only routes with the same metric are installed as the successor in the local routing table, this is called equal-cost load balancing. But if the variance is set to 2, any EIGRP-learned route with a metric less than 2 times the successor metric will also be installed in the local routing table as successor.

    Screen Shot 2024 06 14 at 12125 PM
    How to Configure EIGRP Load Balancing for IPv4 12

    Figure 4 illustrates that the R1 has two unequal links to reach network 192.168.5.0. The links via R3 have 256 kb/s, and the links via R2 have a speed of 128 Kb/s. We know that the EIGRP installs the route with the lowest cost in the routing table. Let’s check the routing table of R1 in Figure 5.

    Screen Shot 2024 06 14 at 12125 PM
    How to Configure EIGRP Load Balancing for IPv4 13

    Now, let’s configure R1 with the variance command. We know that the link with R2 is two times slower than the link with R3, so the variance value should be 2. The range of variance that we can configure is from 1 to 128.

    Figure 7 illustrates the variance configuration and the routing table of R1 after the variance configuration. You can see that two routes are installed for the destination 192.168.5.0/24 network; even the metric is not equal. This is unequal load balancing.

    Screen Shot 2024 06 14 at 12141 PM
    How to Configure EIGRP Load Balancing for IPv4 14

    We can also examine the topology table with the “show ip eigrp topology” to verify successor routes for this destination. Figure 7 illustrates the output of this command.

    Screen Shot 2024 06 14 at 12152 PM
    How to Configure EIGRP Load Balancing for IPv4 15

    We can control the traffic among routes in case multiple routes for the same destination network have different costs. The “traffic-share balanced” command can distribute traffic proportionately to the cost ratio.

  • Introduction to EIGRP – Exclusive

    Introduction to EIGRP – Exclusive

    Enhanced Interior Gateway Routing Protocol (EIGRP) was introduced as a distance-vector routing protocol in 1992. It was originally designed to work as a Cisco proprietary protocol on Cisco devices only. In 2013, Enhanced Interior Gateway Routing Protocol became a multi-vendor routing protocol.

    Enhanced Interior Gateway Routing Protocol is an advanced version of IGRP that lets routers exchange information more efficiently than then previous network protocols. As the name suggested, Enhanced Interior Gateway Routing Protocol is an enhancement of IGRP(Interior Gateway Routing Protocol). IGRP is obsolete since IOS 12.3 release. It was a classful, distance vector routing protocol.

    Enhanced Interior Gateway Routing Protocol is a distance vector routing protocol with features of link-state routing protocols. It is suitable for many different topologies and media. In a well-designed network, Enhanced Interior Gateway Routing Protocol can scale to include multiple topologies and can provide extremely quick convergence times with minimal network traffic.

    Enhanced Interior Gateway Routing Protocol is also known as the hybrid routing protocol in some older documentation. But this term is false because Enhanced Interior Gateway Routing Protocol is not a hybrid between distance vector and link-state routing protocols. Enhanced Interior Gateway Routing Protocol is only a distance vector routing protocol.

    Routers using either Enhanced Interior Gateway Routing Protocol and IGRP can interoperate because the metric used with one protocol can be translated into the metrics of the other protocol. Enhanced Interior Gateway Routing Protocol can be used not only for Internet Protocol (IP) networks but also for AppleTalk and Novell NetWare networks.

    Features of EIGRP

    Enhanced Interior Gateway Routing Protocol is a routing protocol which includes features of both link-state and distance vector routing protocols. However, the key principles of Enhanced Interior Gateway Routing Protocol are still based on the key distance vector routing protocol, because it gets information from directly connected neighbours. EIGRP is an advanced version of the distance vector routing protocol because it includes features not found in any other distance vector routing protocols.

    Diffusing Update Algorithm (DUAL)

    The diffusing update algorithm (DUAL) is the algorithm used by EIGRP routing protocol to make sure that a given route is recalculated globally whenever it might cause a routing loop. It is guarantees loop-free and backup paths throughout the routing domain. EIGRP store all available backup routes using DUAL and then adapt the route when needed.

    Establishing Neighbor Adjacencies

    EIGRP establishes Neighbor adjacencies with directly connected routers that are also enabled EIGRP to track the status of these directly connected routers.

    Reliable Transport Protocol

    EIGRP depends upon proprietary protocol Reliable Transport Protocol (RTP) to provide delivery of EIGRP packets to neighbours. RTP and the tracking of neighbour adjacencies set the stage for DUAL.

    Partial and Bounded Updates

    Unlike RIP, EIGRP not sending any periodic updates and route entries because it does not age out. It uses “partial and bounded” terms for updates. The term partial use for update only includes information about the route changes, for example, a new link or a link becoming unavailable. The term bounded means propagation of partial updates that are sent only to those routers that the changes affect. Partial and bonded update minimizes the bandwidth for EIGRP updates.

    Equal and Unequal Cost Load Balancing

    EIGRP supports both equal and unequal cost load balancing. Equal and Unequal cost load balancing allows better traffic flow in the network. It is possible due to changing the value of variance. The default, the variance is 1, therefore, supports equal-cost load balancing but if we want to use unequal cost load balancing then we can change the value of variance according to the amount of traffic we want to split across different paths.