Revision history [back]

click to hide/show revision 1
initial version

VM created by OpenStack can not connnect in the public network

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:

enter image description here

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

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:

enter code here

And the security group is below:

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'

VM created by OpenStack can not connnect in the public network

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:

enter image description here

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

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:

enter code here

And the security group is below:

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 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 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.

VM created by OpenStack can not connnect in the public network

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:

enter image description here

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

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:

enter code here

And the security group is below:

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 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 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.