Hi ,

Im trying to setup equal cost multipath routing on a linux machine(B) which acts a router.

/ \
A --- B E - F
\ /

Im constantly pinging from A to F. I would like to have alternate packets within the same flow take alternate routes (ABCEF and ABDEF).

However, becaouse of the ip route cache, packets within a flow take the same route always.

If i manually do "ip route cache disable" at B, then packets alternate between routes. but manually doin it doesnt result in exact alternating of packets.

Hence Is their any way by which i could disable this route cache, so that alternate packets are routed in different routes.

any alternate way to disabling cache is also appreciated.

The whole idea behind this is to emulate a real router(with multiple forwarding engines) therby to induce reordering in the network.