[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200706111109.5039ed3f@hermes.lan>
Date: Mon, 6 Jul 2020 11:11:09 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Guillaume Nault <gnault@...hat.com>
Cc: netdev@...r.kernel.org,
Martin Varghese <martinvarghesenokia@...il.com>
Subject: Re: [PATCH iproute2] ip link: initial support for bareudp devices
On Wed, 1 Jul 2020 21:45:04 +0200
Guillaume Nault <gnault@...hat.com> wrote:
> Bareudp devices provide a generic L3 encapsulation for tunnelling
> different protocols like MPLS, IP, NSH, etc. inside a UDP tunnel.
>
> This patch is based on original work from Martin Varghese:
> https://lore.kernel.org/netdev/1570532361-15163-1-git-send-email-martinvarghesenokia@gmail.com/
>
> Examples:
>
> - ip link add dev bareudp0 type bareudp dstport 6635 ethertype mpls_uc
>
> This creates a bareudp tunnel device which tunnels L3 traffic with
> ethertype 0x8847 (unicast MPLS traffic). The destination port of the
> UDP header will be set to 6635. The device will listen on UDP port 6635
> to receive traffic.
>
> - ip link add dev bareudp0 type bareudp dstport 6635 ethertype ipv4 multiproto
>
> Same as the MPLS example, but for IPv4. The "multiproto" keyword allows
> the device to also tunnel IPv6 traffic.
>
> Signed-off-by: Guillaume Nault <gnault@...hat.com>
Applied.
Would it be possible to add a test for this in the iproute2 testsuite?
Powered by blists - more mailing lists