Ask Your Question
1

ping instance from external host without ip netns and floating ip

asked 2015-08-28 03:37:08 -0500

twskay gravatar image

I am confused that "Is it posible to ping instance from external host without ip nents and floating ip?"

I know if I ping to instance's private ip with ip netns qrouter-XXX or with associating floating ip ,then it works. But I don't have a lot of floating ip,and I need to connect instance from external host. what's method that can resolve it?

Could anybody tell me it is possible?

thank you very much.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-29 14:17:43 -0500

Rahul Sharma gravatar image

Ideally, its not possible. You need to bypass the NATing done to reach the instances.

For a workaround, I can think of running one instance(VM) as a host on the same internal private network exposed to outside world with floating-ip. You can then login to this instance and then can login to other instances on the same network using their private ip addresses. Or, you can setup ssh tunneling to the exposed instance and can then access the private network.

I hope it helps. Thanks.

edit flag offensive delete link more

Comments

Is it posible via setting iptables and route?

twskay gravatar imagetwskay ( 2015-09-02 04:51:20 -0500 )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: 2015-08-28 03:37:08 -0500

Seen: 418 times

Last updated: Aug 28 '15