Add second remote address to VXLAN device

Started by UserTom, April 06, 2024, 07:38:39 PM

Previous topic - Next topic
April 06, 2024, 07:38:39 PM Last Edit: April 06, 2024, 07:40:51 PM by UserTom
Hello,

I want 1 VXLAN for 3 sites (connected with wireguard). How can I add a second IP to the VXLAN device/VNI?
I tried to add a second device without success. This way it only works over 1 VPN tunnel (Site <--> Site), but I need this configuration for Site <--> Site <--> Site. 2 tunnels for each site in this case (1 to 2 and 3 etc.)

Site 1:
VNI ID: 1 Source: 10.10.1.1 Remote: 10.10.1.2

In addition, I notice that the VXLAN devices do not come up after reboot. I have to restart the services after reboot. No special configuration. Seems to be related to the VXLAN/LAN Bridge with Wireguard tunnel and timing.

-- No multicast support --

https://man.freebsd.org/cgi/man.cgi?query=vxlan&sektion=4

QuoteThe  vxlan  interface  may be configured in either unicast or multicast
mode. When in unicast mode, the interface creates a tunnel to a single
remote host, and all traffic is transmitted to that host.

That means you have to create a second vxlan interface on the same bridge to have the second destination communicate with the first destination. The mesh only works with multicast, judging from the man page.
Hardware:
DEC740