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 ?