From: Christian Schmid <hidden> Date: 2005-05-05 12:16:47
Hello.
Since this seems to be an undocumented feature.... How is this equal-cost multipath supposed to
work? I just want to send outgoing traffic over two gateways. I tried this:
ip route replace default scope global nexthop via 192.168.0.1 dev eth1 weight 100 nexthop via
192.168.0.100 dev eth1 weight 100
It it doesnt work. It always uses the last for all download-users (around a few hundreds)
Or is this the wrong way? (2.6.12rc3)
Best regards,
Chris
From: Herbert Xu <herbert@gondor.apana.org.au> Date: 2005-05-05 12:36:58
Christian Schmid [off-list ref] wrote:
Since this seems to be an undocumented feature.... How is this equal-cost multipath supposed to
work? I just want to send outgoing traffic over two gateways. I tried this:
ip route replace default scope global nexthop via 192.168.0.1 dev eth1 weight 100 nexthop via
192.168.0.100 dev eth1 weight 100
It it doesnt work. It always uses the last for all download-users (around a few hundreds)
From: Christian Schmid <hidden> Date: 2005-05-05 19:15:57
Did you enable IP_ROUTE_MULTIPATH_CACHED? If so please disable it
since it breaks multipath routing for forwarded traffic.
Yes I enabled it. But it shouldnt do anything because its no forwarded traffic here. I just used
example-IPs. Or does the bug also break non-forwarded traffic?
From: Herbert Xu <herbert@gondor.apana.org.au> Date: 2005-05-06 10:58:28
Christian Schmid [off-list ref] wrote:
Yes I enabled it. But it shouldnt do anything because its no forwarded traffic here. I just used
example-IPs. Or does the bug also break non-forwarded traffic?
Did you select one of the multipath algorithm options? If you selected
them as modules did you load them? If no algorithms are available it
will degenerate into deterministic routing.
It will also work properly if you disable IP_ROUTE_MULTIPATH_CACHED
completely.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
From: Christian Schmid <hidden> Date: 2005-05-06 11:16:46
I tried disabling MULTIPATH_CACHED and now it completely works :) Thank you for your help. I thought
your hint only is for NATed traffic but it seems its for all traffic.
Herbert Xu wrote:
Christian Schmid [off-list ref] wrote:
quoted
Yes I enabled it. But it shouldnt do anything because its no forwarded traffic here. I just used
example-IPs. Or does the bug also break non-forwarded traffic?
Did you select one of the multipath algorithm options? If you selected
them as modules did you load them? If no algorithms are available it
will degenerate into deterministic routing.
It will also work properly if you disable IP_ROUTE_MULTIPATH_CACHED
completely.
Cheers,