From: pravin b shelar <pravin.shelar@calsoftinc.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
netdev@vger.kernel.org,
Ravikiran G Thirumalai <kiran@scalex86.org>
Subject: Re: MultiPath Routing
Date: Fri, 19 May 2006 18:51:56 +0530 [thread overview]
Message-ID: <446DC674.60506@calsoftinc.com> (raw)
>Christian Schmid <webmaster@rapidforum.com> 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)
>
>Did you enable IP_ROUTE_MULTIPATH_CACHED? If so please disable it
>since it breaks multipath routing for forwarded traffic.
Hi ,
This was a bug reported by Christian Schmid long back. It is related to equal cost multipath caching on forwarded traffic. The solution suggested for this was
to disable equal-cost multipath caching. But It does not look like a clean solution.
I investigated the problem further and observed that, If multipath caching is "on" then all route entries are added to the route cache. This leads to selection of same
NIC for all route going through this ( forwarding ) sever. This is because we don't have selection logic for forwarded traffic in multipath caching code.
On digging this list further, I found a patch posted by Herbert, which disables multipath route cache entry addition for input case.
I tested this patch and everything works fine now.
for the patch ref: http://oss.sgi.com/projects/netdev/archive/2005-04/msg00232.html
So how about including this patch ?
Comments ?
Regards,
Pravin.
next reply other threads:[~2006-05-19 13:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-19 13:21 pravin b shelar [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-05-05 12:16 MultiPath Routing Christian Schmid
2005-05-05 12:36 ` Herbert Xu
2005-05-05 19:15 ` Christian Schmid
2005-05-06 10:58 ` Herbert Xu
2005-05-06 11:16 ` Christian Schmid
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=446DC674.60506@calsoftinc.com \
--to=pravin.shelar@calsoftinc.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=kiran@scalex86.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).