From: David Ahern <dsahern@gmail.com>
To: George Wilkie <gwilkie@vyatta.att-mail.com>
Cc: Shrijeet Mukherjee <shrijeet@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>,
netdev@vger.kernel.org
Subject: Re: [PATCH net-next] vrf: local route leaking
Date: Fri, 31 May 2019 08:54:03 -0600 [thread overview]
Message-ID: <8012f642-4118-7386-a60a-a4e4a4f18f87@gmail.com> (raw)
In-Reply-To: <20190531103832.GA17076@gwilkie-Precision-7520>
On 5/31/19 4:38 AM, George Wilkie wrote:
> What are your thoughts on creating a "vrfdefault" for "local" table?
> ip link add vrfdefault type vrf table local
> ip link set dev vrfdefault up
> ip ro add vrf vrfA 10.10.3.0/24 dev vrfdefault
> ip ro add 10.10.2.0/24 dev vrfA
> ip -6 ro add vrf vrfA 10:10:3::/64 dev vrfdefault
> ip -6 ro add 10:10:2::/64 dev vrfA
>
> I'm able to reach local and peer addresses for both v4 and v6 with this
> approach.
Robert looked into that some time back. I was not aware it is working,
but if it does, great.
prev parent reply other threads:[~2019-05-31 14:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-24 8:05 [PATCH net-next] vrf: local route leaking George Wilkie
2019-05-24 20:19 ` David Ahern
2019-05-25 7:09 ` George Wilkie
2019-05-25 15:13 ` David Ahern
2019-05-27 8:34 ` George Wilkie
2019-05-30 3:29 ` David Ahern
2019-05-30 20:52 ` George Wilkie
2019-05-30 21:50 ` David Ahern
2019-05-31 10:38 ` George Wilkie
2019-05-31 14:54 ` David Ahern [this message]
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=8012f642-4118-7386-a60a-a4e4a4f18f87@gmail.com \
--to=dsahern@gmail.com \
--cc=davem@davemloft.net \
--cc=gwilkie@vyatta.att-mail.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=netdev@vger.kernel.org \
--cc=shrijeet@gmail.com \
--cc=yoshfuji@linux-ipv6.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).