VM in different PM can't ping each other

asked 2018-09-13 21:08:24 -0500

Yunju gravatar image

Hi All, I set up 3 vms in different pm using the following command "nova boot --nic net-id=xxxxx --flavor=xxx --image=xxxx vm-name". And the subnet of both vms are the same (vm1: vm2: vm3: vm1 and vm3 are in controller node, and vm2 is in compute node. Two node is connected through an ethernet switch.

When I log in to vm2, it cannot get the ip address through dhcp server. So I assign the ip address manually. Neither vm1 can ping vm2 nor vm2 can ping vm1. But vm1 can ping vm3. And all of the vm cannot access the outside internet. Can anyone give me some advice? Thank you.

edit retag flag offensive close merge delete