On 2023/11/15 13:03, Otto Moerbeek wrote: > On Wed, Nov 15, 2023 at 12:42:46PM +0100, Luca Di Gregorio wrote: > > > # uname -a > > OpenBSD XXXXX.my.domain 7.4 GENERIC#0 amd64 ... > > # ifconfig vxlan0 tunnel SOURCE_IP DEST_IP:8472 vnetid 5 ... > It helps to read the vxlan(4) manpage, specifcially the paragraph abouts > ports.
according to EXAMPLES - : Prior to the assignment of UDP port 4789 by IANA, some early VXLAN : implementations used port 8472. A non-standard port can be specified : with the tunnel destination address: ^^^^^^^^^^^ : : # ifconfig vxlan0 tunnel 192.168.1.100 239.1.1.100:8472 which is as set, but it contradicts the ioctl doc - : if the destination address is unspecified. A non-standard UDP : port for VXLAN packets can be specified by the port in the : source address, otherwise use 0 to request the default. The ^^^^^^ : addresses may only be configured while the interface is down. so at least there's a doc bug