Re: [ovs-discuss] Cannot create gtp tunnel

2021-05-05 Thread Ben Pfaff
On Tue, Apr 27, 2021 at 10:28:10AM +0430, Ash Ash wrote:
> The release docs 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?

The userspace datapath uses datapath_type netdev, yes.

"add-br" is still a valid way to add such a datapath, you just have to
set the datapath-type afterward.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] Cannot create gtp tunnel

2021-04-26 Thread Ash Ash
The release docs 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  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  wrote:
>
>> According to the docs
>> 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


Re: [ovs-discuss] Cannot create gtp tunnel

2021-04-25 Thread Ash Ash
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  wrote:

> According to the docs
> 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