Subject: Re: [PATCHv3 iproute2 net-next] gre: add support for ERSPAN tunnel

From: Stephen Hemminger <[email-masked]>
Date: Mon, 21 Aug 2017 21:10:28 -0700

On Fri, 18 Aug 2017 05:54:08 -0700
William Tu <[email-masked]> wrote:

> The patch adds ERSPAN type II tunnel support.  The implementation
> is based on the draft at https://tools.ietf.org/html/draft-foschiano-erspan-01
> One of the purposes is for Linux box to be able to receive ERSPAN
> monitoring traffic sent from the Cisco switch, by creating a ERSPAN
> tunnel device.  In addition, the patch also adds ERSPAN TX, so traffic
> can also be encapsulated into ERSPAN and sent out.
> 
> The implementation reuses the key as ERSPAN session ID, and
> field 'erspan' as ERSPAN Index fields:
> ./ip link add dev ers11 type erspan seq key 100 erspan 123 \
> 		local 172.16.1.200 remote 172.16.1.100
> 
> Signed-off-by: William Tu <[email-masked]>
> Signed-off-by: Meenakshi Vohra <[email-masked]>
> Cc: Stephen Hemminger <[email-masked]>
> Cc: Alexey Kuznetsov <[email-masked]>

Waiting until ERSPAN is upstream in kernel (net-next).