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, currently 5.2-rc2.
My commands are the same as yours. I tried with local_ip and without,
but it doesn't matter.
I think the kernel doesn't have the OVS_VPORT_TYPE_IP6GRE supported. I
saw it only in OVS tree, in datapath/linux/compat/ip6_gre.c, but I don't
know how to compile this one and install. I tried with --with-linux and
--with-linux-source, but it says it is supported only up to 4.20.x. I
compiled against 4.16, but only the openvswitch.ko was compiled (and
successfully loaded), but not ip6_gre.ko.
Any ideas?
Yes, I see the problem. The out of tree driver support for ip6 gre ends
at Linux kernel version
4.11. After that the Linux kernel in-tree drivers would be used and
apparently they're not working
correctly for upstream kernel 4.16 or 5.2. And as you can see, even for
4.16 the out of tree OVS kernel
drivers would still try to use the built-in Linux kernel tunnels rather
than our vport ip6gre tunnel.
So you are correct in that the 4.16 and 5.2 kernels do not have
OVS_VPORT_TYPE_IP6GRE support. You
can use the user space OVS tunnels instead or you can create a native
Linux ip6gre tunnel using the 'ip'
command and then add that port to your OVS bridge.
Thanks,
- Greg
Thanks,
- Greg
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 'gre6': could not add network
device gre6 to ofproto (Address family not supported by protocol). See
ovs-vswitchd log for details.
ovs-vsctl: The default log directory is "/var/log/openvswitch".
In the log:
bridge|WARN|could not add network device gre6 to ofproto (Address family
not supported by protocol)
I notice that if I want to define a ip6gretap with “ip link”, there is a
need to use “-6” option, to set the correct family.
Is there a way to note the correct family (though I think should be
implicit by “ip6gre”)? Or maybe some other configuration?
Thanks,
Eli
_______________________________________________
discuss mailing list
[email protected]
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.openvswitch.org%2Fmailman%2Flistinfo%2Fovs-discuss&data=02%7C01%7Celibr%40mellanox.com%7Cb6a6b3f9be444d719c4008d6e9d8e2a1%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636953515062749854&sdata=FxAQsDBlXP8pgOJLbZQ0nGLDNkcICHnAnhelgaTzlNc%3D&reserved=0
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss