[ovs-discuss] GRE over IPv6 configuration

Eli Britstein elibr at mellanox.com
Wed Jun 5 17:31:45 UTC 2019


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?

>
> 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
>> discuss at openvswitch.org
>> 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 
>>
>


More information about the discuss mailing list