Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-19 Thread William Tu
On Tue, Jun 18, 2019 at 1:21 PM Gregory Rose wrote: > > > On 6/18/2019 10:11 AM, William Tu wrote: > > On Tue, Jun 18, 2019 at 9:15 AM William Tu wrote: > >> Hi Greg and Eli, > >> > >> Should we add both ip6gre (L3) and ip6gretap (L2) support? > >> @Eli, which mode do you want to use? > >> > >>

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-19 Thread William Tu
On Tue, Jun 18, 2019 at 10:13 PM Eli Britstein wrote: > >> Hi Eli and Greg, > >> > >> I've found the root cause using upstream kernel 5.2. > >> When adding an ip6gre device type, the > >> ovs_vport_cmd_new > >>new_vport > >> netdev_create > >>ovs_netdev_link > >> > >> and fails

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-18 Thread Eli Britstein
On 6/18/2019 8:11 PM, William Tu wrote: > On Tue, Jun 18, 2019 at 9:15 AM William Tu wrote: >> On Mon, Jun 17, 2019 at 10:46 PM Eli Britstein wrote: >>> >>> On 6/18/2019 1:22 AM, Gregory Rose wrote: On 6/12/2019 2:20 AM, Eli Britstein wrote: > Could you please have a look (and even

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-18 Thread Gregory Rose
On 6/18/2019 10:11 AM, William Tu wrote: On Tue, Jun 18, 2019 at 9:15 AM William Tu wrote: Hi Greg and Eli, Should we add both ip6gre (L3) and ip6gretap (L2) support? @Eli, which mode do you want to use? I apply the patch below, and ip6gretap port can be created successfully by doing using

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-18 Thread Gregory Rose
On 6/18/2019 11:28 AM, Gregory Rose wrote: That's pretty much the same patch I've got and am testing right now.  I think it's the right way to go.  Do you want to post this to netdev or would you prefer me to do it? Excuse me, I meant OVS dev, not NET dev... Thanks, - Greg

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-18 Thread Gregory Rose
On 6/18/2019 10:11 AM, William Tu wrote: On Tue, Jun 18, 2019 at 9:15 AM William Tu wrote: On Mon, Jun 17, 2019 at 10:46 PM Eli Britstein wrote: On 6/18/2019 1:22 AM, Gregory Rose wrote: On 6/12/2019 2:20 AM, Eli Britstein wrote: Could you please have a look (and even better try?) still

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-18 Thread Gregory Rose
On 6/18/2019 9:15 AM, William Tu wrote: On Mon, Jun 17, 2019 at 10:46 PM Eli Britstein wrote: On 6/18/2019 1:22 AM, Gregory Rose wrote: On 6/12/2019 2:20 AM, Eli Britstein wrote: Could you please have a look (and even better try?) still need to tidy up

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-18 Thread William Tu
On Tue, Jun 18, 2019 at 9:15 AM William Tu wrote: > > On Mon, Jun 17, 2019 at 10:46 PM Eli Britstein wrote: > > > > > > On 6/18/2019 1:22 AM, Gregory Rose wrote: > > > > > > On 6/12/2019 2:20 AM, Eli Britstein wrote: > > >> Could you please have a look (and even better try?) still need to > > >>

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-18 Thread William Tu
On Mon, Jun 17, 2019 at 10:46 PM Eli Britstein wrote: > > > On 6/18/2019 1:22 AM, Gregory Rose wrote: > > > > On 6/12/2019 2:20 AM, Eli Britstein wrote: > >> Could you please have a look (and even better try?) still need to > >> tidy up > >> > >>

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-17 Thread Eli Britstein
On 6/18/2019 1:22 AM, Gregory Rose wrote: > > On 6/12/2019 2:20 AM, Eli Britstein wrote: >> Could you please have a look (and even better try?) still need to >> tidy up >> >>

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-17 Thread Gregory Rose
On 6/12/2019 2:20 AM, Eli Britstein wrote: Could you please have a look (and even better try?) still need to tidy up https://github.com/elibr-mellanox/linux/tree/ovs-ipv6-gre Hi Eli, I finally managed to getting around and building your kernel.  At least it does do away with the protocol

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-15 Thread William Tu
> ip6gre is definitely not working in the upstream kernel. I'm looking > into it. I think Eli has stumbled onto a gap between > our out of tree drivers and the upstream drivers. > Thanks I tested on kernel 5.1 ip6erspan (which depends on ip6gre) works ok root@ovs-smartnic:~/ovs# ovs-vsctl

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-14 Thread Gregory Rose
On 6/14/2019 11:06 AM, William Tu wrote: On Thu, Jun 13, 2019 at 9:44 AM Gregory Rose wrote: On 6/12/2019 2:47 PM, Gregory Rose wrote: On 6/12/2019 2:20 AM, Eli Britstein wrote: I started to code a support for upstream kernel. With this, the OVS port is created, as well as the netdev

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-14 Thread Gregory Rose
On 6/14/2019 10:55 AM, Ben Pfaff wrote: On Wed, Jun 05, 2019 at 09:30:18AM -0700, Gregory Rose wrote: On 6/4/2019 11:38 AM, Ben Pfaff wrote: On Tue, Jun 04, 2019 at 06:08:00PM +, Eli Britstein wrote: On 6/4/2019 8:24 PM, Ben Pfaff wrote: On Tue, Jun 04, 2019 at 03:13:02PM +, Eli

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-14 Thread William Tu
On Thu, Jun 13, 2019 at 9:44 AM Gregory Rose wrote: > > > > On 6/12/2019 2:47 PM, Gregory Rose wrote: > > > > On 6/12/2019 2:20 AM, Eli Britstein wrote: > >> > >> > >> I started to code a support for upstream kernel. With this, the OVS > >> port is created, as well as the netdev Linux device. I

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-14 Thread Ben Pfaff
On Wed, Jun 05, 2019 at 09:30:18AM -0700, Gregory Rose wrote: > > On 6/4/2019 11:38 AM, Ben Pfaff wrote: > > On Tue, Jun 04, 2019 at 06:08:00PM +, Eli Britstein wrote: > > > On 6/4/2019 8:24 PM, Ben Pfaff wrote: > > > > On Tue, Jun 04, 2019 at 03:13:02PM +, Eli Britstein wrote: > > > > >

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-13 Thread Gregory Rose
On 6/12/2019 2:47 PM, Gregory Rose wrote: On 6/12/2019 2:20 AM, Eli Britstein wrote: I started to code a support for upstream kernel. With this, the OVS port is created, as well as the netdev Linux device. I still don't have traffic, but I'm not sure it is not something else. Could you

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-12 Thread Eli Britstein
On 6/11/2019 8:04 PM, Gregory Rose wrote: On 6/6/2019 2:25 PM, Eli Britstein wrote: Thanks, I really appreciate it. However, though I see you find it to work on Ubuntu 16.04 with kernel 4.4 (I will try it myself too), I think we should think how to fix the upstream tunnels (in Linux kernel),

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-11 Thread Gregory Rose
On 6/6/2019 2:25 PM, Eli Britstein wrote: Thanks, I really appreciate it. However, though I see you find it to work on Ubuntu 16.04 with kernel 4.4 (I will try it myself too), I think we should think how to fix the upstream tunnels (in Linux kernel), without the need to replace some

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-06 Thread Eli Britstein
On 6/6/2019 7:33 PM, Gregory Rose wrote: > > On 6/5/2019 11:52 PM, Eli Britstein wrote: >> On 6/5/2019 9:04 PM, Gregory Rose wrote: >>> >>> On 6/5/2019 10:31 AM, Eli Britstein wrote: On 6/5/2019 8:11 PM, Gregory Rose wrote: > On 6/4/2019 8:13 AM, Eli Britstein wrote: >> Hello, >>

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-06 Thread Gregory Rose
On 6/6/2019 9:33 AM, Gregory Rose wrote: On 6/5/2019 11:52 PM, Eli Britstein wrote: [snip] # ovs-vsctl add-port br1 gre6 -- set interface gre6 type=ip6gre options:key=55 options:remote_ip=2001:db8:0:f102::f0 ovs-vsctl: Error detected while setting up 'gre6': could not add network device

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-06 Thread Gregory Rose
On 6/5/2019 11:52 PM, Eli Britstein wrote: On 6/5/2019 9:04 PM, Gregory Rose wrote: On 6/5/2019 10:31 AM, Eli Britstein wrote: On 6/5/2019 8:11 PM, Gregory Rose wrote: On 6/4/2019 8:13 AM, Eli Britstein wrote: Hello, I would like to configure a GRE tunnel over IPv6, on a Linux system.

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-06 Thread Eli Britstein
On 6/5/2019 9:04 PM, Gregory Rose wrote: > > > On 6/5/2019 10:31 AM, Eli Britstein wrote: >> On 6/5/2019 8:11 PM, Gregory Rose wrote: >>> >>> On 6/4/2019 8:13 AM, Eli Britstein wrote: Hello, I would like to configure a GRE tunnel over IPv6, on a Linux system. >>> Which Linux

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-05 Thread Gregory Rose
On 6/5/2019 10:31 AM, Eli Britstein wrote: On 6/5/2019 8:11 PM, Gregory Rose wrote: On 6/4/2019 8:13 AM, Eli Britstein wrote: Hello, I would like to configure a GRE tunnel over IPv6, on a Linux system. Which Linux system?  Distro, kernel version, etc? Fedora 28. Kernel upstream,

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-05 Thread Eli Britstein
On 6/5/2019 8:11 PM, Gregory Rose wrote: > > > On 6/4/2019 8:13 AM, Eli Britstein wrote: >> Hello, >> >> I would like to configure a GRE tunnel over IPv6, on a Linux system. > > Which Linux system?  Distro, kernel version, etc? Fedora 28. Kernel upstream, currently 5.2-rc2. My commands are the

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-05 Thread Gregory Rose
On 6/4/2019 8:13 AM, Eli Britstein wrote: Hello, I would like to configure a GRE tunnel over IPv6, on a Linux system. Which Linux system?  Distro, kernel version, etc? Thanks, - Greg However, I encounter the following: My command: ovs-vsctl add-port br1 gre6 -- set interface gre6

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-05 Thread Gregory Rose
On 6/4/2019 11:38 AM, Ben Pfaff wrote: On Tue, Jun 04, 2019 at 06:08:00PM +, Eli Britstein wrote: On 6/4/2019 8:24 PM, Ben Pfaff wrote: On Tue, Jun 04, 2019 at 03:13:02PM +, Eli Britstein wrote: Hello, I would like to configure a GRE tunnel over IPv6, on a Linux system. However, I

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-05 Thread Eli Britstein
On 6/4/2019 9:38 PM, Ben Pfaff wrote: > On Tue, Jun 04, 2019 at 06:08:00PM +, Eli Britstein wrote: >> On 6/4/2019 8:24 PM, Ben Pfaff wrote: >>> On Tue, Jun 04, 2019 at 03:13:02PM +, Eli Britstein wrote: Hello, I would like to configure a GRE tunnel over IPv6, on a Linux

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-04 Thread Ben Pfaff
On Tue, Jun 04, 2019 at 06:08:00PM +, Eli Britstein wrote: > > On 6/4/2019 8:24 PM, Ben Pfaff wrote: > > On Tue, Jun 04, 2019 at 03:13:02PM +, Eli Britstein wrote: > >> Hello, > >> > >> I would like to configure a GRE tunnel over IPv6, on a Linux system. > >> However, I encounter the

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-04 Thread Eli Britstein
On 6/4/2019 8:24 PM, Ben Pfaff wrote: > On Tue, Jun 04, 2019 at 03:13:02PM +, Eli Britstein wrote: >> Hello, >> >> I would like to configure a GRE tunnel over IPv6, on a Linux system. >> However, I encounter the following: >> >> My command: >> ovs-vsctl add-port br1 gre6 -- set interface gre6

Re: [ovs-discuss] GRE over IPv6 configuration

2019-06-04 Thread Ben Pfaff
On Tue, Jun 04, 2019 at 03:13:02PM +, Eli Britstein wrote: > Hello, > > I would like to configure a GRE tunnel over IPv6, on a Linux system. > However, I encounter the following: > > My command: > ovs-vsctl add-port br1 gre6 -- set interface gre6 type=ip6gre > options:remote_ip=

[ovs-discuss] GRE over IPv6 configuration

2019-06-04 Thread Eli Britstein
Hello, I would like to configure a GRE tunnel over IPv6, on a Linux system. However, I encounter the following: My command: ovs-vsctl add-port br1 gre6 -- set interface gre6 type=ip6gre options:remote_ip= 2001:db8:0:f102::11 options:key=55 Output: ovs-vsctl: Error detected while setting up