Routing
Showing results for 
Search instead for 
Do you mean 
Reply
Contributor
Posts: 90
Registered: ‎10-19-2013
0 Kudos
Accepted Solution

ECMP load distribution algorithium

 

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 ?

 

 

 

 

 

 

 

 

Highlighted
Super Contributor
Posts: 102
Registered: ‎03-11-2012

Re: ECMP load distribution algorithium

[ Edited ]

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

Contributor
Posts: 90
Registered: ‎10-19-2013
0 Kudos

Re: ECMP load distribution algorithium

Thanks for your response.

 

What is the default for load balancing ?