From 18ae054bdad1c9db0250300d5e254d2bd2f31e2c Mon Sep 17 00:00:00 2001 From: systeembeheerder <19684880+systeembeheerder@users.noreply.github.com> Date: Thu, 20 Feb 2025 11:05:41 +0100 Subject: Update vxlan.rst remove "As VyOS is Linux based the default port used is not using 4789 as the default IANA-assigned destination UDP port number. Instead VyOS uses the Linux default port of 8472." See * https://github.com/vyos/vyos-1x/blob/current/src/conf_mode/interfaces_vxlan.py#L226 * https://github.com/vyos/vyos-1x/blob/current/interface-definitions/interfaces_vxlan.xml.in#L105 Looks like VyOS DOES use 4789 and not 8472 by default. --- docs/configuration/interfaces/vxlan.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/configuration/interfaces/vxlan.rst b/docs/configuration/interfaces/vxlan.rst index d061d063..10418c20 100644 --- a/docs/configuration/interfaces/vxlan.rst +++ b/docs/configuration/interfaces/vxlan.rst @@ -42,7 +42,7 @@ Common interface configuration ------------------------------ .. cmdinclude:: /_include/interface-common-without-dhcp.txt - :var0: vxlan + :var0: vxlan4 :var1: vxlan0 VXLAN specific options @@ -58,10 +58,6 @@ VXLAN specific options Configure port number of remote VXLAN endpoint. - .. note:: As VyOS is Linux based the default port used is not using 4789 - as the default IANA-assigned destination UDP port number. Instead VyOS - uses the Linux default port of 8472. - .. cfgcmd:: set interfaces vxlan source-address Source IP address used for VXLAN underlay. This is mandatory when using VXLAN -- cgit v1.2.3 From d972a7dbdf6adbac33724c4b966fa48a26338257 Mon Sep 17 00:00:00 2001 From: systeembeheerder <19684880+systeembeheerder@users.noreply.github.com> Date: Thu, 20 Feb 2025 11:08:31 +0100 Subject: Update vxlan.rst --- docs/configuration/interfaces/vxlan.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/interfaces/vxlan.rst b/docs/configuration/interfaces/vxlan.rst index 10418c20..07a99f73 100644 --- a/docs/configuration/interfaces/vxlan.rst +++ b/docs/configuration/interfaces/vxlan.rst @@ -42,7 +42,7 @@ Common interface configuration ------------------------------ .. cmdinclude:: /_include/interface-common-without-dhcp.txt - :var0: vxlan4 + :var0: vxlan :var1: vxlan0 VXLAN specific options -- cgit v1.2.3 From bd737fcb66552301f447f8bff769a4b85324688e Mon Sep 17 00:00:00 2001 From: systeembeheerder <19684880+systeembeheerder@users.noreply.github.com> Date: Thu, 20 Feb 2025 11:24:53 +0100 Subject: Update vxlan.rst more wrong ports.. --- docs/configuration/interfaces/vxlan.rst | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/docs/configuration/interfaces/vxlan.rst b/docs/configuration/interfaces/vxlan.rst index 07a99f73..831870c5 100644 --- a/docs/configuration/interfaces/vxlan.rst +++ b/docs/configuration/interfaces/vxlan.rst @@ -31,10 +31,6 @@ If configuring VXLAN in a VyOS virtual machine, ensure that MAC spoofing (Hyper-V) or Forged Transmits (ESX) are permitted, otherwise forwarded frames may be blocked by the hypervisor. -.. note:: As VyOS is based on Linux and there was no official IANA port assigned - for VXLAN, VyOS uses a default port of 8472. You can change the port on a - per VXLAN interface basis to get it working across multiple vendors. - Configuration ============= @@ -327,10 +323,9 @@ multicast-address. set interfaces vxlan vxlan241 port 12345 -The destination port used for creating a VXLAN interface in Linux defaults to -its pre-standard value of 8472 to preserve backward compatibility. A -configuration directive to support a user-specified destination port to override -that behavior is available using the above command. +The destination port used for creating a VXLAN interface defaults to +4789. Aconfiguration directive to support a user-specified destination port +to override that behavior is available using the above command. Unicast VXLAN ============= @@ -350,5 +345,5 @@ set directly. Let's change the Multicast example from above: # leaf3 set interface vxlan vxlan241 remote 10.1.2.2 -The default port udp is set to 8472. +The default port udp is set to 4789. It can be changed with ``set interface vxlan port `` -- cgit v1.2.3