Re: RR for route

From: Jan Spitalnik
Date: Mon May 16 2005 - 11:17:41 EST


Dne po 16. května 2005 18:04 Jan Engelhardt napsal(a):
> Hello,
>
>
> does anybody know of a way to round-robin over multiple default gateways
> with the same metric? Currently, it looks like it's always the first GW
> which is taken.
>
>
> Jan Engelhardt

Hi,

this not round robin but the traffic is spread over more GW's

config IP_ROUTE_MULTIPATH
bool "IP: equal cost multipath"
depends on IP_ADVANCED_ROUTER
help
Normally, the routing tables specify a single action to be taken in
a deterministic manner for a given packet. If you say Y here
however, it becomes possible to attach several actions to a packet
pattern, in effect specifying several alternative paths to travel
for those packets. The router considers all these paths to be of
equal "cost" and chooses one of them in a non-deterministic fashion
if a matching packet arrives.

--
Jan Spitalnik
jan@xxxxxxxxxxxxx

If everyone used log base e, we'd all be happy!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/