Ask Your Question

ping instance from external host without ip netns and floating ip

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

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

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

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


Is it posible via setting iptables and route?

twskay gravatar imagetwskay ( 2015-09-02 04:51:20 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-08-28 03:37:08 -0600

Seen: 513 times

Last updated: Aug 28 '15