Update the default VXLAN destination UDP port to the IANA assigned port
authorKyle Mestery <kmestery@cisco.com>
Fri, 26 Apr 2013 18:30:24 +0000 (14:30 -0400)
committerJesse Gross <jesse@nicira.com>
Mon, 29 Apr 2013 16:56:44 +0000 (09:56 -0700)
VXLAN was recently assigned UDP port 4789 by IANA. This
comit updates the OVS VXLAN implementation to reflect the new UDP port
number.

Cc: Kenneth Duda <kduda@aristanetworks.com>
Signed-off-by: Kyle Mestery <kmestery@cisco.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Conflicts:
NEWS

lib/netdev-vport.c
tests/tunnel.at
vswitchd/vswitch.xml

index ccf80d7..900dc8f 100644 (file)
@@ -41,8 +41,7 @@
 
 VLOG_DEFINE_THIS_MODULE(netdev_vport);
 
-/* Default to the OTV port, per the VXLAN IETF draft. */
-#define VXLAN_DST_PORT 8472
+#define VXLAN_DST_PORT 4789
 
 #define DEFAULT_TTL 64
 
index a0688f1..b8491d9 100644 (file)
@@ -382,7 +382,7 @@ br0 (dummy@ovs-dummy):
 
 dnl change UDP port to default
 
-AT_CHECK([ovs-vsctl -- set Interface p1 options:dst_port=8472])
+AT_CHECK([ovs-vsctl -- set Interface p1 options:dst_port=4789])
 
 AT_CHECK([ovs-appctl dpif/show], [0], [dnl
 br0 (dummy@ovs-dummy):
index 706bb24..1b862b3 100644 (file)
              with kernel version 2.6.26 or later.
            </p>
            <p>
-             As an experimental protocol, VXLAN has no officially assigned UDP
-             port.  Open vSwitch currently uses UDP destination port 8472.
-             The source port used for VXLAN traffic varies on a per-flow basis
-             and is in the ephemeral port range.
+             Open vSwitch uses UDP destination port 4789.  The source port used for
+             VXLAN traffic varies on a per-flow basis and is in the ephemeral port
+             range.
            </p>
           </dd>