I have a question about setting the VXLAN srcport on MikroTik.

The srcport in the command linux ’ ip link add vxlan5 type vxlan id 55 dstport 4789 srcport 4789 4790 ’ can set the source port range. How can the source port range for VXLAN be set on MikroTik? Currently, I have observed that the MikroTik VXLAN source port is within a random range.

From RFC7348

  • Source Port: It is recommended that the UDP source port number
    be calculated using a hash of fields from the inner packet –
    one example being a hash of the inner Ethernet frame’s headers.
    This is to enable a level of entropy for the ECMP/load-
    balancing of the VM-to-VM traffic across the VXLAN overlay.
    When calculating the UDP source port number in this manner, > it
    is RECOMMENDED that the value be in the dynamic/private port
    range 49152-65535
    > [> RFC6335> ].

If they followed the RFC. The source port should always be in the range of Ephemeral (“Private”) ports