VXLAN over IPSEC don't work
Hello everyone,
I’m trying to set up VLAN over IPSEC using VXLAN on my FortiGate, but I’m facing issues where the tunnel doesn’t seem to work as expected.
The tunnel comes up, but traffic from the VLAN doesn’t seem to pass through. I’ve tried troubleshooting using various methods, but I haven’t been able to resolve the issue.

Here’s the configuration I’m using for VXLAN 506:
On site A :
config system interface edit "IPSEC_VXLAN" set vdom "VDOM1" set ip 10.5.5.1 255.255.255.255 set allowaccess ping set type tunnel set remote-ip 10.5.5.2 255.255.255.252 set snmp-index 42 set interface "vlnk_HYP0" next end config system interface edit "VLAN_506" set vdom "VDOM1" set role lan set snmp-index 506 set interface "port1" set vlanid 506 next end config system vxlan edit "VXLAN_506" set interface "IPSEC_VXLAN" set vni 506 set remote-ip "10.5.5.2" next end config system switch-interface edit "VXLAN506-SW" set vdom "VDOM1" set member "VLAN_506" "VXLAN_506" next end config system interface edit "VXLAN506-SW" set vdom "VDOM1" set ip 10.112.7.254 255.255.255.0 set allowaccess ping set type switch set lldp-reception enable set lldp-transmission enable set role lan set snmp-index 23 set ip-managed-by-fortiipam disable next end
On site B :
config system interface edit "IPSEC_VXLAN" set vdom "VDOM1" set ip 10.5.5.2 255.255.255.255 set allowaccess ping set type tunnel set remote-ip 10.5.5.1 255.255.255.252 set snmp-index 42 set interface "vlnk_HYP0" next end config system interface edit "VLAN_506" set vdom "VDOM1" set role lan set snmp-index 506 set interface "port1" set vlanid 506 next end config system vxlan edit "VXLAN_506" set interface "IPSEC_VXLAN" set vni 506 set remote-ip "10.5.5.1" next end config system switch-interface edit "VXLAN506-SW" set vdom "VDOM1" set member "VLAN_506" "VXLAN_506" next end config system interface edit "VXLAN506-SW" set vdom "VDOM1" set ip 10.112.7.254 255.255.255.0 set allowaccess ping set type switch set lldp-reception enable set lldp-transmission enable set role lan set snmp-index 23 set ip-managed-by-fortiipam disable next endI try to ping a machine in VLAN 506 from site A (a2:43:6b:c4:a9:23) to site B (ca:3a:14:30:9a:3a)
It don't work
When I run diagnose sys vxlan fdb list VXLAN_506 on each side, I view :
On site A :
diagnose sys vxlan fdb list VXLAN_506 mac=00:00:00:00:00:00 state=0x0082 remote_ip=10.5.5.2 port=4789 vni=506 ifindex=66 mac=00:09:0f:09:00:00 state=0x0002 remote_ip=10.5.5.2 port=4789 vni=506 ifindex=66 mac=ca:3a:14:30:9a:3a state=0x0002 remote_ip=10.5.5.2 port=4789 vni=506 ifindex=66On site B :
diagnose sys vxlan fdb list VXLAN_506 mac=00:00:00:00:00:00 state=0x0082 remote_ip=10.5.5.1 port=4789 vni=506 ifindex=112 mac=0e:32:0f:49:db:46 state=0x0002 remote_ip=10.5.5.1 port=4789 vni=506 ifindex=112
Mac addresse of Site A Server is not present in site B table...
I think it's the cause of my problem, but why ?
Can anyone help me to debug ?
Thanks !
