Can't ping VM with linuxbridge plugin

asked 2014-01-05 19:39:51 -0600

laocius gravatar image

updated 2014-01-06 16:29:15 -0600

Evgeny gravatar image

When I create a VM, I can't ping it. First I checked the console and found the VM cannot get ip from dhcp; then I fixed it by "iptables -A POSTROUTING -t mangle -p udp --dport bootpc -j CHECKSUM --checksum-fill". Now a VM can get its ip from dhcp, but I still cannot ping it.

I just found that if I manually add the gateway IP to the bridge interface, then I can ping my VMs. So I think the problem is the gateway ip was not assigned correctly. What specific configurations do I need to put in place to ping my VM?

edit retag flag offensive close merge delete

Comments

I just found that if I manually add the gateway IP to the bridge interface, then I can ping my VMs. So I think the problem is the gateway ip was not assigned correctly.

laocius gravatar imagelaocius ( 2014-01-05 20:53:16 -0600 )edit