Routing

Expand all | Collapse all

ECMP load distribution algorithium

Jump to Best Answer
  • 1.  ECMP load distribution algorithium

    Posted 09-12-2017 17:55

     

    Let say we two paths between R1 and R2 and we are doing ECMP:

     

    199.199.199.0/24    R1-f1----------------------f2--R2  188.188.188.0/24

    200.200.200.0/24          f2----------------------f2          189.189.189.0/24

     

     

    Let say R1 receives a packet with SRC IP 199.199.199.1, SRC TCP 34 destination 188.188.188.1 DST TCP 90.

    ECMP algorithium uses SRC IP/DST IP/SRC port/DSTport and computes the hash value associated with F1, therefore F1 is selected  for forwarding.

     

    I am wondering if the algorithium still computes the same hash for return traffic on R2 and R2 too selects f1?

    In Cisco we can  use a  command with SRC IP/DST IP/SRC PORT/DSTPORT as options  and see which port will be used for forwarding.

     

    Do we have any such commands in Juniper ?

     

     

     

     

     

     

     

     



  • 2.  RE: ECMP load distribution algorithium
    Best Answer

    Posted 09-12-2017 19:31

    Hi, you can use hash-key or enhanced-hash-key for controlling loadbalancing algorithm.

    Also there a lot of other options available for balancing adaptive-lb/Random Spray/ symmetric / src-ip/dst-ip   ...



  • 3.  RE: ECMP load distribution algorithium

    Posted 09-13-2017 15:12

    Thanks for your response.

     

    What is the default for load balancing ?