[ovs-discuss] connect vxlan to localhost

Miroslav Kubiczek miroslav.kubiczek at adaptivemobile.com
Tue Jul 2 08:46:16 UTC 2019

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:
# ovs-vsctl add-port br0 vtep -- set interface vtep type=vxlan 
option:remote_ip= 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 



More information about the discuss mailing list