It seems that Linux supports unicast vxlans but Vyos does not. The docs say that the [multicast] group keyword is required. Is there any chance the docs are just out of date, or is multicast really the only control plane available in Vyos?
yes the documation is not yet correct at this point. When you take a look at the possible commands:
vyos@rtr-1# set interfaces vxlan vxlan123 [tab] Possible completions: + address IP address > bridge-group Add this interface to a bridge group description Description > firewall Firewall options group Multicast group address for this VXLAN interface > ip IPv4 routing parameters > ipv6 IPv6 routing parameters link Underlay device name of this VXLAN interface mtu Maximum Transmission Unit (MTU) > policy Policy route options remote Remote address of VXLAN tunnel remote-port Remote port for this VXLAN tunnel vni Virtual network identifier [REQUIRED]
only vni is required. Unicast vxlan is set via remote and remote-port command. Sadly the default Port is not set automatically. I will open a feature request for that.
i tryed it in my lab and it worked even over a layer3 router in the middle of the vxlan traffic:
set interfaces bridge br1 address '192.168.10.1/24' set interfaces ethernet eth0 bridge-group bridge 'br1' set interfaces ethernet eth2 address '10.10.2.1/24' set interfaces vxlan vxlan2 bridge-group bridge 'br1' set interfaces vxlan vxlan2 remote '10.10.3.3' set interfaces vxlan vxlan2 remote-port '4789' set interfaces vxlan vxlan2 vni '2' set protocols static route 10.10.3.0/24 next-hop 10.10.2.2 set service dhcp-server shared-network-name pool authoritative set service dhcp-server shared-network-name pool subnet 192.168.10.0/24 range range1 start '192.168.10.10' set service dhcp-server shared-network-name pool subnet 192.168.10.0/24 range range1 stop '192.168.10.20'
i will update the Documentation
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.