<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Thanks, no, it doesn't help. This changes also the src_port,
      unfortunately.<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 02. 07. 19 12:41, Alin Gabriel
      Serdean wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:F3050626-D8AF-4D53-846D-E249D5FA0FE6@ovn.org">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      I’m not sure if this will help, but you can change the
      <div class="">destination port for the vxlan tunnel:
        <div class=""><a
            href="http://docs.openvswitch.org/en/latest/faq/vxlan/"
            class="" moz-do-not-send="true">http://docs.openvswitch.org/en/latest/faq/vxlan/</a></div>
        <div class=""><br class="">
        </div>
        <div class="">Alin.</div>
        <div class=""><br class="">
          <div><br class="">
            <blockquote type="cite" class="">
              <div class="">On 2 Jul 2019, at 11:46, Miroslav Kubiczek
                &lt;<a
                  href="mailto:miroslav.kubiczek@adaptivemobile.com"
                  class="" moz-do-not-send="true">miroslav.kubiczek@adaptivemobile.com</a>&gt;
                wrote:</div>
              <br class="Apple-interchange-newline">
              <div class="">
                <div class="">Hi Folks,<br class="">
                  <br class="">
                  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:<br class="">
                  <br class="">
                  #-----<br class="">
                  # ovs-vsctl add-br br0 \<br class="">
                           -- set bridge br0
                  other-config:datapath-id=0000000000000001  \<br
                    class="">
                           -- add-port br0 ens224 \<br class="">
                           -- add-port br0 ens256 \<br class="">
                           -- set-controller br0 tcp:127.0.0.1:6653<br
                    class="">
                  # ovs-vsctl add-port br0 vtep -- set interface vtep
                  type=vxlan option:remote_ip=10.10.12.135
                  option:key=flow ofport_request=10<br class="">
                  <br class="">
                  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.<br
                    class="">
                  ovs-vsctl: The default log directory is
                  "/var/log/openvswitch".<br class="">
                  #-----<br class="">
                  <br class="">
                  Can someone recommend a solution or a workaround
                  (docker/kvm or anything simpler)?<br class="">
                  <br class="">
                  Thanks<br class="">
                  <br class="">
                  Miro<br class="">
                  <br class="">
                  <br class="">
                  _______________________________________________<br
                    class="">
                  discuss mailing list<br class="">
                  <a href="mailto:discuss@openvswitch.org" class=""
                    moz-do-not-send="true">discuss@openvswitch.org</a><br
                    class="">
<a class="moz-txt-link-freetext" href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss">https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a><br class="">
                </div>
              </div>
            </blockquote>
          </div>
          <br class="">
        </div>
      </div>
    </blockquote>
  </body>
</html>