cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
388
Views
0
Helpful
1
Replies

How does CSS ecmp address with prefer-ingress works?

vkwu
Level 1
Level 1

We have four isp routers and one CSS connected to a layer 2 switch. The CSS is configured with four equal cost default routes to the routers. Since all incoming traffic is entering from the same interface of the CSS, how does the CSS know which routers to send the reply packets to?

We are experiencing problems with return packets not being sent back to the right

router. However if we reduce the isp routers to 3 from 4, things seems to work. We were told that we just got lucky with the ecmp hashing algorithm but

we could not convince others in our organization that was the case. Can you share some insights how the ecmp hashing algorithm works. And why 3 routers works better than 4 routers in our topology.

1 Reply 1

This decision ismade on the basis of client's flow.

The algo to decide the next hop is as follows

1. CSS XORs the Src & Dest IP

2. CSS then MOD the result with number of equal cost default routes and gets the index.

3. It decides on the next hop based on this index.

you can put your values in the above algo and you will be able to get the answer.

Syed iftekhar Ahmed

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: