netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lorenzo Colitti <lorenzo@google.com>
To: David Ahern <dsa@cumulusnetworks.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"Maciej Żenczykowski" <zenczykowski@gmail.com>,
	"Hannes Frederic Sowa" <hannes@stressinduktion.org>,
	"Erik Kline" <ek@google.com>,
	"YOSHIFUJI Hideaki" <hideaki.yoshifuji@miraclelinux.com>,
	"David Miller" <davem@davemloft.net>,
	"Daniel Rosenberg" <drosen@google.com>
Subject: Re: [PATCH net-next] net: ipv6: put autoconf routes into per-interface tables
Date: Tue, 10 Jan 2017 11:01:44 +0900	[thread overview]
Message-ID: <CAKD1Yr2U2Oh5yvHE7Znfc9mHzM4K6B_kU82Qctpcsmnt3y5GdQ@mail.gmail.com> (raw)
In-Reply-To: <37df3b18-d17b-5875-7b44-db40be7b459c@cumulusnetworks.com>

On Sun, Jan 8, 2017 at 1:24 PM, David Ahern <dsa@cumulusnetworks.com> wrote:
> Why not use the VRF capability then? create a VRF and assign the interface to it. End result is the same -- separate tables and the need to use a bind-to-device API to hit those routes.

Requiring that VRFs for this creates additional complexity, because
each network now requires its own VRF. That means that the connection
manager must create the VRF before the interface comes up and receives
the RA.

In some cases this might not be possible. For example, consider a tun
interface that's created by a different process such as a VPN client.
In this case the connection manager doesn't know the interface name,
and the VPN client doesn't know to create the VRF, so if the tun
interface gets an RA after the tun is created but

As others have mentioned, IPv6 on VRFs in client mode is also not
necessarily well-supported at the moment, and I don't know how long it
would take for it to be (assuming it can be made to work properly in
client mode without breaking the primary use cases for VRFs).

  parent reply	other threads:[~2017-01-10  2:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-06 15:30 [PATCH net-next] net: ipv6: put autoconf routes into per-interface tables Lorenzo Colitti
2017-01-08  4:24 ` David Ahern
2017-01-09 21:53   ` Andrey Jr. Melnikov
2017-01-10  2:01   ` Lorenzo Colitti [this message]
2017-01-10  2:08     ` David Ahern
2017-01-10  2:29       ` Lorenzo Colitti
2017-01-10  3:04         ` David Ahern
2017-01-10  3:30           ` Lorenzo Colitti
2017-01-10  3:39             ` David Ahern
2017-01-10 13:21               ` Andrey Jr. Melnikov
2017-01-10 17:47                 ` Lorenzo Colitti
2017-01-11 14:11                   ` David Miller
2017-01-11 16:46                     ` Lorenzo Colitti
2017-01-12 15:17     ` David Ahern

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=CAKD1Yr2U2Oh5yvHE7Znfc9mHzM4K6B_kU82Qctpcsmnt3y5GdQ@mail.gmail.com \
    --to=lorenzo@google.com \
    --cc=davem@davemloft.net \
    --cc=drosen@google.com \
    --cc=dsa@cumulusnetworks.com \
    --cc=ek@google.com \
    --cc=hannes@stressinduktion.org \
    --cc=hideaki.yoshifuji@miraclelinux.com \
    --cc=netdev@vger.kernel.org \
    --cc=zenczykowski@gmail.com \
    /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).