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
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss