Community discussions

MikroTik App
 
yadmin
just joined
Topic Author
Posts: 18
Joined: Sat Jun 16, 2007 11:05 am

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

Sat Jul 13, 2024 5:09 pm

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.
 
User avatar
netravnen
Frequent Visitor
Frequent Visitor
Posts: 74
Joined: Sun Dec 31, 2017 2:48 am

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

Tue Jul 30, 2024 9:32 pm

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

Who is online

Users browsing this forum: No registered users and 33 guests