The release docs<https://docs.openvswitch.org/en/latest/faq/releases/> says
GTPU tunnel is only supported on userspace datapath. Does it mean that I
have to use netdev as datapath_type and ovs-vsctl add-br br0 won't work?

On Mon, Apr 26, 2021, 10:01 Ash Ash <m.list.ac...@gmail.com> wrote:

> I have installed OVS 2.15 on Fedora 33 from the rpm package that comes
> with it.
>
> On Sun, Apr 25, 2021, 22:51 Ash Ash <m.list.ac...@gmail.com> wrote:
>
>> According to the docs
>> <https://docs.openvswitch.org/en/latest/faq/configuration/?highlight=gtp#basic-configuration>I
>> should be able to create a gtp tunnel using something like this:
>>
>> $ ovs-vsctl add-br br0
>> $ ovs-vsctl add-port br0 gtp0 -- \
>>         set int gtp0 type=gtpu options:key=123 \
>>         options:remote_ip=172.31.1.1
>>
>>
>> But that doesn't work and prints this error message:
>>
>>
>> vs-vsctl: Error detected while setting up 'gtp0': could not add network 
>> device gtp0 to ofproto (Address family not supported by protocol).  See 
>> ovs-vswitchd log for details.
>> ovs-vsctl: The default log directory is "/var/log/openvswitch".
>>
>>
>> The error in /var/log/openvswitch/ovs-vswitchd.log is:
>>
>>
>> 2021-04-25T18:03:52.613Z|00078|dpif|WARN|system@ovs-system: failed to add 
>> gtp0 as port: Address family not supported by protocol
>> 2021-04-25T18:03:52.613Z|00079|bridge|WARN|could not add network device gtp0 
>> to ofproto (Address family not supported by protocol)
>>
>>
>> If I create the bridge using:
>>
>>
>> ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
>>
>>
>> then the second command works.
>>
>>
>> Is there something wrong with my setup or are the docs not correct?
>>
>>
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to