From: Hannes Frederic Sowa <hannes@stressinduktion.org>
To: Fernando Gont <fernando@gont.com.ar>
Cc: netdev <netdev@vger.kernel.org>
Subject: Re: Question on Netlink IPv6 routing table lookup
Date: Tue, 24 Sep 2013 02:04:53 +0200 [thread overview]
Message-ID: <20130924000453.GB2593@order.stressinduktion.org> (raw)
In-Reply-To: <52409953.8040208@gont.com.ar>
On Mon, Sep 23, 2013 at 04:41:07PM -0300, Fernando Gont wrote:
> If that's not (currently) possible, should I expect RTA_SRC to work as
> described above at some point in the future?
The RTA_SRC attriute matches on sutrees in the ipv6 routing table:
ip -6 r a default via fe80::1 dev eth0 from 2000::/64
ip -6 r a default via fe80::2 dev eth0 from 2000:1:/64
ip -6 r g :: from 2000::
ip -6 r g :: from 2000:1::
...should return different routes. The from parameter is the RTA_SRC
attribute.
Greetings,
Hannes
next prev parent reply other threads:[~2013-09-24 0:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-23 19:41 Question on Netlink IPv6 routing table lookup Fernando Gont
2013-09-24 0:04 ` Hannes Frederic Sowa [this message]
2013-09-26 10:36 ` Fernando Gont
2013-09-27 0:16 ` Hannes Frederic Sowa
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=20130924000453.GB2593@order.stressinduktion.org \
--to=hannes@stressinduktion.org \
--cc=fernando@gont.com.ar \
--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