Ask Your Question
0

Cannot access instances from other hosts.

asked 2017-02-09 08:39:05 -0600

12721067 gravatar image

updated 2017-02-10 00:05:02 -0600

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!

edit retag flag offensive close merge delete

Comments

It works~ Thank you very much!!! Goooood Job~~ By the way, how to mark you as the answer?

12721067 gravatar image12721067 ( 2017-02-10 00:02:06 -0600 )edit
1

Now you can give me full credit and make me famous!

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-10 22:23:28 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2017-02-10 22:23:03 -0600

The "external" network created by devstack is just for testing. It's not really external. Try these instructions to change this: http://docs.openstack.org/developer/d....

edit flag offensive delete link more

Comments

Thank you very much!!!

12721067 gravatar image12721067 ( 2017-02-10 23:08:35 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-02-09 08:36:01 -0600

Seen: 397 times

Last updated: Feb 10 '17