2005-05-16 16:04:14

by Jan Engelhardt

[permalink] [raw]
Subject: RR for route

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
--


2005-05-16 16:16:42

by Jan Spitalnik

[permalink] [raw]
Subject: Re: RR for route

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
[email protected]

If everyone used log base e, we'd all be happy!