Not able to ping or ssh my vm from the machies connected to router

I created vm in open nebula through kvm and my router has given the ip to my ubuntu server which is 192.168.1.12 but the vm’s are configured on bridged and has a ip range of 192.168.22.1,so on and now I can’t ping or ssh from my devices connected to the router that getting only pinged by ubuntu server please help what I want is to access my vm from my laptops which are connected to my router

I had the same problem. VM can communicate with host, but VMs can not communicate between them or outsite to the internet. It turns out that the bridge setup was OK but I have to disable Netfilter.

After running this command everything started to work:

sudo sysctl net.bridge.bridge-nf-call-iptables=0 net.bridge.bridge-nf-call-ip6tables=0 net.bridge.bridge-nf-call-arptables=0