Document that equal-cost multipath routing with caching does not work
for forwarded packets.

Signed-Off-By: Tore Anderson <[EMAIL PROTECTED]>
---

* Jarek Poplawski

It is probably one of the most often asked questions
on the LARTC, so I'd suggest to look at its archives.

[...]

Multipath with caching doesn't work with forwarding.

 Well, I did look at LARTC's archives (and again after reading your
mail), still couldn't find anything.  Sorry for bothering you, though.
When I disabled the support it worked just fine (no need for iptables
CONNMARK trickery or any of Julian's patches), so thanks for your help!

 Anyway, it strikes me as a bit odd that this feature is found under
CONFIG_IP_ADVANCED_ROUTER when it doesn't work for routers.  That
could at least be better documented - here's a patch to do just that.

--- a/net/ipv4/Kconfig
+++ b/net/ipv4/Kconfig
@@ -124,6 +124,10 @@ config IP_ROUTE_MULTIPATH_CACHED
          routing cache. If you say Y here, alternative routes are cached
          and on cache lookup a route is chosen in a configurable fashion.

+         Be warned that this feature does not work for forwarded packets,
+         and that enabling it will break equal cost multipath routing for
+         forwarded traffic.
+
          If unsure, say N.

config IP_ROUTE_MULTIPATH_RR

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to