VM created by OpenStack can not connnect in the public network, the controller node ip jumped the NIC.

asked 2017-07-14 09:59:53 -0600

liaodalin19903 gravatar image

updated 2017-07-14 10:33:42 -0600

I have a host machine(Windows), and I use VMware created three VMs to set up the OpenStack step by step.

And in the Dashboard I created a VM which Floating IP is 45.117.42.56, you see the below:

https://i.stack.imgur.com/CIzR6.jpg (https://i.stack.imgur.com/CIzR6.jpg (enter image description here))

And in the host machine I can use Xshell connected to the VM I created use OpenStack dashboard.

https://i.stack.imgur.com/aQZHR.jpg (https://i.stack.imgur.com/aQZHR.jpg (enter image description here))


But I can not connect to the VM by my Mac, even can not ping the VM's IP:

aircraftdeMacBook-Pro:~ ldl$ ping 45.117.42.56
PING 45.117.42.56 (45.117.42.56): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
^C
--- 45.117.42.56 ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss

My VM network topology is below:

https://i.stack.imgur.com/0KoMp.jpg (https://i.stack.imgur.com/0KoMp.jpg (enter code here))

And the security group is below:

https://i.stack.imgur.com/yRpn9.jpg (https://i.stack.imgur.com/yRpn9.jpg (enter image description here))

Some friend know why I use the outer network can not ping the VM's floating IP?


EDIT-1

I find in the VM, I can not ping www.baidu.com, shows bad address:

$ ping www.baidu.com
ping: bad address 'www.baidu.com'

EDIT-2

I find a big event!

I find in my 3 host-based VMs (controller, compute, cinder node), my controller node(which have 10.1.1.120, 10.2.2.120, 45.117.42.120 ips) can not ping http://www.baidu.com too.

So I use ip -a to check:

[![enter image description here][5]][5]

I find my eno-50332208's IP jumped to the 8th NIC. so I can not ping http://www.baidu.com in the controller node now.

why it will jump to there? Before, if I do not play in the dashboard, I can ping pubic site in the controller site.

edit retag flag offensive close merge delete