Skip to content

Commit d00167a

Browse files
authored
Merge pull request #1598 from systeembeheerder/patch-1
VxLAN default port
2 parents 747ab18 + bd737fc commit d00167a

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

docs/configuration/interfaces/vxlan.rst

+4-13
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ If configuring VXLAN in a VyOS virtual machine, ensure that MAC spoofing
3131
(Hyper-V) or Forged Transmits (ESX) are permitted, otherwise forwarded frames
3232
may be blocked by the hypervisor.
3333

34-
.. note:: As VyOS is based on Linux and there was no official IANA port assigned
35-
for VXLAN, VyOS uses a default port of 8472. You can change the port on a
36-
per VXLAN interface basis to get it working across multiple vendors.
37-
3834
Configuration
3935
=============
4036

@@ -58,10 +54,6 @@ VXLAN specific options
5854

5955
Configure port number of remote VXLAN endpoint.
6056

61-
.. note:: As VyOS is Linux based the default port used is not using 4789
62-
as the default IANA-assigned destination UDP port number. Instead VyOS
63-
uses the Linux default port of 8472.
64-
6557
.. cfgcmd:: set interfaces vxlan <interface> source-address <IP address>
6658

6759
Source IP address used for VXLAN underlay. This is mandatory when using VXLAN
@@ -331,10 +323,9 @@ multicast-address.
331323
332324
set interfaces vxlan vxlan241 port 12345
333325
334-
The destination port used for creating a VXLAN interface in Linux defaults to
335-
its pre-standard value of 8472 to preserve backward compatibility. A
336-
configuration directive to support a user-specified destination port to override
337-
that behavior is available using the above command.
326+
The destination port used for creating a VXLAN interface defaults to
327+
4789. Aconfiguration directive to support a user-specified destination port
328+
to override that behavior is available using the above command.
338329

339330
Unicast VXLAN
340331
=============
@@ -354,5 +345,5 @@ set directly. Let's change the Multicast example from above:
354345
# leaf3
355346
set interface vxlan vxlan241 remote 10.1.2.2
356347
357-
The default port udp is set to 8472.
348+
The default port udp is set to 4789.
358349
It can be changed with ``set interface vxlan <vxlanN> port <port>``

0 commit comments

Comments
 (0)