From: Patrick McHardy <kaber@trash.net>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: shemminger@osdl.org, netdev@vger.kernel.org
Subject: Re: [IPROUTE]: Add support for multipath route realms
Date: Tue, 25 Jul 2006 10:21:45 +0200 [thread overview]
Message-ID: <44C5D499.9050809@trash.net> (raw)
In-Reply-To: <E1G5I8b-00063u-00@gondolin.me.apana.org.au>
Herbert Xu wrote:
> Patrick McHardy <kaber@trash.net> wrote:
>
>>[IPROUTE]: Add support for multipath route realms
>>
>>Routing realms exist per nexthop, but iproute currently only allows to send
>>a single route realm, which is refused by the kernel for multipath routes.
>>Add support for specifying per nexthop realms. Old kernels only return the
>>first realm back to userspace when dumping, so the others can't be displayed,
>>besides that it will also behave correctly on old kernels.
>>
>>old kernel:
>>
>>1.2.3.4 realm 1
>> nexthop dev dummy0 weight 1
>> nexthop dev dummy1 weight 1
>> nexthop dev dummy2 weight 1
>> nexthop dev dummy3 weight 1
>>
>>new kernel:
>>
>>1.2.3.4
>> nexthop realm 1 dev dummy0 weight 1
>> nexthop realm 2 dev dummy1 weight 1
>> nexthop realm 3 dev dummy2 weight 1
>> nexthop realm 4 dev dummy3 weight 1
>
>
> This really looks like papering over fundamental brokenness of
> IP_ROUTE_MULTIPATH_CACHED since you wouldn't otherwise get these
> entries in the routing cache.
>
> This reminds me that I better revisit the reasons that people gave
> for actually using IP_ROUTE_MULTIPATH_CACHED the last time we tried
> to get rid of it.
Actually it has nothing to do with MULTIPATH_CACHED, it didn't even
use it in these tests unless I seriously mixed something up. The
realm can be used by netfilter to find out which nexthop was chosen
and bind the connection to this nexthop manually using CONNMARK
and MARK.
next prev parent reply other threads:[~2006-07-25 8:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-25 3:58 [IPROUTE]: Add support for multipath route realms Patrick McHardy
2006-07-25 8:19 ` Herbert Xu
2006-07-25 8:21 ` Herbert Xu
2006-07-25 8:21 ` Patrick McHardy [this message]
2006-08-04 17:52 ` Stephen Hemminger
2006-08-04 19:17 ` Patrick McHardy
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=44C5D499.9050809@trash.net \
--to=kaber@trash.net \
--cc=herbert@gondor.apana.org.au \
--cc=netdev@vger.kernel.org \
--cc=shemminger@osdl.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.