[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200716172043.GC30783@pc-2.home>
Date: Thu, 16 Jul 2020 19:20:43 +0200
From: Guillaume Nault <gnault@...hat.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org,
Martin Varghese <martinvarghesenokia@...il.com>
Subject: Re: [PATCH iproute2] ip link: initial support for bareudp devices
On Mon, Jul 06, 2020 at 11:11:09AM -0700, Stephen Hemminger wrote:
> 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?
No problem, I'm working on it.
Powered by blists - more mailing lists