[ovs-discuss] Cannot create gtp tunnel

Ash Ash m.list.acc.q at gmail.com
Mon Apr 26 05:31:46 UTC 2021


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.acc.q at 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 at 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?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20210426/6cadafbc/attachment.html>


More information about the discuss mailing list