Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Understanding Per-Packet Load Balancing

    By default, when there are multiple equal-cost paths to the same destination for the active route, the Junos OS uses a hash algorithm to choose one of the next-hop addresses to install in the forwarding table. Whenever the set of next hops for a destination changes in any way, the next-hop address is rechosen using the hash algorithm.

    You can configure the Junos OS so that, for the active route, all next-hop addresses for a destination are installed in the forwarding table. This feature is called per-packet load balancing. You can use load balancing to spread traffic across multiple paths between routers.

    Figure 1 shows a simple load balancing scenario. Device R1 is in AS 65000 and is connected to both Device R2 and Device R3, which are in AS 65001. Device R1 can be configured to load balance traffic across the two links.

    Figure 1: Simple Load Balancing Scenario

    Simple Load Balancing
Scenario

    Published: 2013-10-04