I’m not sure if this will help, but you can change the
destination port for the vxlan tunnel:
http://docs.openvswitch.org/en/latest/faq/vxlan/ 
<http://docs.openvswitch.org/en/latest/faq/vxlan/>

Alin.


> On 2 Jul 2019, at 11:46, Miroslav Kubiczek 
> <[email protected]> wrote:
> 
> Hi Folks,
> 
> I'm struggling with the %subj%. The problem is that OVS is allocating the 
> same port on both sides (src and dst) for vxlan port. So if I'm running my 
> UDP server on port 4789 and then starting the bridge, the following 
> 'add-port' command will fail:
> 
> #-----
> # ovs-vsctl add-br br0 \
>          -- set bridge br0 other-config:datapath-id=0000000000000001  \
>          -- add-port br0 ens224 \
>          -- add-port br0 ens256 \
>          -- set-controller br0 tcp:127.0.0.1:6653
> # ovs-vsctl add-port br0 vtep -- set interface vtep type=vxlan 
> option:remote_ip=10.10.12.135 option:key=flow ofport_request=10
> 
> ovs-vsctl: Error detected while setting up 'vtep': could not add network 
> device vtep to ofproto (Address already in use). See ovs-vswitchd log for 
> details.
> ovs-vsctl: The default log directory is "/var/log/openvswitch".
> #-----
> 
> Can someone recommend a solution or a workaround (docker/kvm or anything 
> simpler)?
> 
> Thanks
> 
> Miro
> 
> 
> _______________________________________________
> discuss mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to