Routing
Highlighted
Routing

ECMP load distribution algorithium

09.12.17   |  
‎09-12-2017 05:55 PM

 

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 REPLIES
Routing
Solution
Accepted by topic author sarahr202
‎09-13-2017 12:07 PM

Re: ECMP load distribution algorithium

[ Edited ]
09.12.17   |  
‎09-12-2017 07:30 PM

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   ...

Routing

Re: ECMP load distribution algorithium

09.13.17   |  
‎09-13-2017 03:11 PM

Thanks for your response.

 

What is the default for load balancing ?