Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot access instances from other hosts.

Hi!

I have installed DevStack on my laptop. I am able to ping/ssh from the laptop to the instances, and I can access internet from the instances(ex: ping 8.8.8.8). Here is my problem, what should I do to let other computers be able to access the instances?

I have:

  • A laptop that has DevStack installed: 192.168.2.150
  • The instance of openstack: 192.168.0.5(private), 172.24.4.5(floating)
  • A computer: 192.168.2.188

Now,

  1. The laptop can ping the instance.
  2. The laptop can ping the computer.
  3. The instance can ping anywhere(ex: 8.8.8.8, the laptop and the computer)
  4. The computer(192.168.2.188) cannot ping the instance(172.24.4.5)

I saw some questions have similar issue

(sorry I cannot post links)

https:// ask.openstack.org/en/question/34084/why-cant-i-connect-to-instance-via-their-floating-ips-from-outside-the-compute-machine/

http:// stackoverflow.com/questions/23401425/openstack-vm-is-not-accessible-on-lan

https:// ask.openstack.org/en/question/1664/adding-port-forwarding-rule-between-host-and-vms/

https:// ask.openstack.org/en/question/85298/accessing-instances-from-another-computer/

Unfortunately, I still have the problem. Any advice and suggestions will be appreciated.

Thanks!

Cannot access instances from other hosts.

Hi!

I have installed DevStack on my laptop. I am able to ping/ssh from the laptop to the instances, and I can access internet from the instances(ex: ping 8.8.8.8). Here is my problem, what should I do to let other computers be able to access the instances?

I have:

  • A laptop that has DevStack installed: 192.168.2.150
  • The instance of openstack: 192.168.0.5(private), 172.24.4.5(floating)
  • A computer: 192.168.2.188

Now,

  1. The laptop can ping the instance.
  2. The laptop can ping the computer.
  3. The instance can ping anywhere(ex: 8.8.8.8, the laptop and the computer)
  4. The computer(192.168.2.188) cannot ping the instance(172.24.4.5)

I saw some questions have similar issue

(sorry I cannot post links)

https:// ask.openstack.org/en/question/34084/why-cant-i-connect-to-instance-via-their-floating-ips-from-outside-the-compute-machine/

http:// stackoverflow.com/questions/23401425/openstack-vm-is-not-accessible-on-lan

https:// ask.openstack.org/en/question/1664/adding-port-forwarding-rule-between-host-and-vms/

https:// ask.openstack.org/en/question/85298/accessing-instances-from-another-computer/

Unfortunately, I still have the problem. Any advice and suggestions will be appreciated.

Thanks!