[ovs-discuss] connect vxlan to localhost

Alin Gabriel Serdean aserdean at ovn.org
Tue Jul 2 10:41:42 UTC 2019


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 <miroslav.kubiczek at adaptivemobile.com> 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
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190702/73324d51/attachment.html>


More information about the discuss mailing list