netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: nicolas.dichtel@6wind.com
Cc: netdev@vger.kernel.org, ebiederm@xmission.com
Subject: Re: [PATCH net-next] vxlan: add x-netns support
Date: Thu, 24 Apr 2014 16:19:08 -0400 (EDT)	[thread overview]
Message-ID: <20140424.161908.2156914915405212769.davem@davemloft.net> (raw)
In-Reply-To: <1398326569-4934-1-git-send-email-nicolas.dichtel@6wind.com>

From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Date: Thu, 24 Apr 2014 10:02:49 +0200

> This patch allows to switch the netns when packet is encapsulated or
> decapsulated.
> The vxlan socket is openned into the i/o netns, ie into the netns where
> encapsulated packets are received. The socket lookup is done into this netns to
> find the corresponding vxlan tunnel. After decapsulation, the packet is
> injecting into the corresponding interface which may stand to another netns.
> 
> When one of the two netns is removed, the tunnel is destroyed.
> 
> Configuration example:
> ip netns add netns1
> ip netns exec netns1 ip link set lo up
> ip link add vxlan10 type vxlan id 10 group 239.0.0.10 dev eth0 dstport 0
> ip link set vxlan10 netns netns1
> ip netns exec netns1 ip addr add 192.168.0.249/24 broadcast 192.168.0.255 dev vxlan10
> ip netns exec netns1 ip link set vxlan10 up
> 
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>

Looks good, applied, thanks Nicolas.

      reply	other threads:[~2014-04-24 20:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-24  8:02 [PATCH net-next] vxlan: add x-netns support Nicolas Dichtel
2014-04-24 20:19 ` David Miller [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=20140424.161908.2156914915405212769.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=ebiederm@xmission.com \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.dichtel@6wind.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).