Hello VyOS community,
I’m trying to set up a simple VXLAN tunnel between two VyOS 1.4 routers over the Internet, but I’m encountering issues. I’ve configured what seems to be a straightforward unicast VXLAN setup, but the tunnel is not establishing. Here are the configurations on both routers:
Router 1:
set interfaces vxlan vxlan0 address '192.168.10.2/24'
set interfaces vxlan vxlan0 mtu '1450'
set interfaces vxlan vxlan0 port '4789'
set interfaces vxlan vxlan0 remote '1.1.1.1'
set interfaces vxlan vxlan0 source-interface 'eth0'
set interfaces vxlan vxlan0 vni '1010'
Router 2:
set interfaces vxlan vxlan0 address '192.168.10.1/24'
set interfaces vxlan vxlan0 mtu '1450'
set interfaces vxlan vxlan0 port '4789'
set interfaces vxlan vxlan0 remote '2.2.2.2'
set interfaces vxlan vxlan0 source-interface 'eth0'
set interfaces vxlan vxlan0 vni '1010'
please note I repleaced the public ips with 1.1.1.1 and 2.2.2.2
I’ve verified that:
- The public IPs can ping each other.
- UDP port 4789 is open on both firewalls.
- There are no conflicting NAT rules.
- The VNI matches on both sides.
Despite this setup, I’m unable to establish the VXLAN tunnel. When I try to ping across the tunnel (192.168.10.1 to 192.168.10.2 or vice versa), I get no response.
Montiro Traffic sees no VXLAN traffic receiving however when I use nc -zvu 1.1.1.1 4789
I can see at least traffic
monitor traffic interface eth0 filter "host 169.150.222.98"
I’m puzzled as to why this simple use case isn’t working. Has anyone successfully set up a VXLAN tunnel over the Internet using VyOS 1.4? Are there any additional configurations or troubleshooting steps I should try?
Any help or insights would be greatly appreciated. Thank you in advance!