VM cannot ping to everything except Bridge IP

(X Mr) #1

Hi all,
I have lab-topology:
I use:

  • Openebula 5.8.1
  • Ubuntu 18.04 LTS

And my problem:
VM can ping to br0 but VM cannot ping to SRVA.
From BR0 can ping to SRVA.

How do I do troubleshoot this problem?

Thanks.

(Spencer) #2

How are you creating your bridge. Are you letting ONe create it for you? Your bridge needs a vlan subinterface for vlan XX.
You need to create the network with network mode “bridged & ebtables VLAN” if you are setting up the subinterface first. Type in your bridge name, and for physical device your ens160.vlanXX sub interface.

(X Mr) #3

Hi,
I configured vlan201 map to ens160 and then I map interface vlan201 to brdige.
image
But After config I cannot remote to HOST. Where was I wrong?

Thanks.

(linjan) #4

Hi,

I fixed that by executing this on the VM host:iptables -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT