4 ms·
From 5 minutes of Wikipedia reading, it appears this requires special support from the router to enable “sticky sessions” which prevent out-of-order packets; or
by TimTheTinker 8y ago
From 5 minutes of Wikipedia reading, it appears this requires special support from the router to enable “sticky sessions” which prevent out-of-order packets; or, the device OS itself can “stripe” packets across NICs with special (extra) software to enable that.
- XorNot 8y agoECMP 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.