Thank you for your help. I added default gw on linux hosts pointing to bridge br100 which has IP address inside same subnet. Router interface eth0 is in another subnet 192.168.100.x. Now I’m able to ping from linux hosts to router eth0 and vice versa.
Linux hosts have also vxlan interface in third segment 192.168.20.x/24. Their eth0 interfaces are in subnet 192.168.10.x/24. I’m able to ping from linux host vxlan interface to another linux vxlan interface. They are inside same bridge/L2 domain.
On Router I added vxlan interface with same subnet/vni as linux hosts vxlan. That router vxlan interface I’ve linked to router interface eth0 using command “set interface vxlan vxlan0 link eth0”.
Ping from router vxlan interface to linux hosts vxlan interfaces doesn’t work and vice versa.
The very same problem I have when every linux host is in different subnet and hosts are added to different bridges. For example:
eth1 on vyos router is added to bridge “br90” and eth2 to bridge “br80”. Eth1 is for Linux host1, eth2 is for linux host2. Below are IPs:
br80 192.168.80.1, linux host eth 192.168.80.3, linux vxlan eth 192.168.20.23, default gw 192.168.80.1 (br80)
br90 192.168.90.1, linux host eth 192.168.90.4, linux vxlan eth 192.168.20.24, default gw 192.168.90.1 (br90)
I’m able to ping between linux hosts interfaces 192.168.80.3 and 192.168.90.4 but not between linux host vxlan interfaces 192.168.20.23 and 192.168.20.24.
Ultimate goal is to enable Windows host that doesn’t support vxlan to connect with Linux hosts that supports vxlan. Windows host is connected to router eth0. One option is to enable communication between them if they are all on same subnet (L2) and put all interfaces to the same existing bridge br100 and same L2 domain. Another option should be to enable L2 communication between Windows host and Linux hosts through L3 using vxlan. VyOS port eth0 with Windows host connected should be vxlan termination point.
But first I have to solve vxlan connectivity between linux hosts in different L2 domains before to continue with Windows host or it’s the same problem?