3 ms·
ECMP handles this just fine by default with Linux (it's per flow aka TCP connection, not per-packet). You can make of course get it to be per-packet load balan
by XorNot 8y ago
ECMP handles this just fine by default with Linux (it's per flow aka TCP connection, not per-packet).
You can make of course get it to be per-packet load balanced, but as you note, there are issues with that when you don't control both ends.
- jerkstate 8y agothat really depends on which fields are included in the ecmp hash and can break stuff in weird ways, like path mtu discovery
- isostatic 8y agoYou can use a hash of source and dest ip, protocol and port, but you will get confusing results and some sites won't be happy. Using source ip to round robin on active wan connections is the safest.