Ask Your Question

Traceroute floating IP of VM hosted by openstack shows 0 hops, but we have a virtual router which is connecting external network and tenant network.

asked 2016-02-24 01:23:46 -0500

abhilash-goyal gravatar image

I have a doubt, when I am pinging instances hosted by openstack which is in tenant network( and I have a virtual router connecting tenant network with external network( I have floating IP associated with each instances. This states that there is one hop(router) between my external PC and instance in tenant network, therefore traceroute should show 1 hop when pinging instance, but its showing 0 hops.

Any explanation to this ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-03-01 01:41:57 -0500

systems-sk gravatar image

hi is there any network hop between you and your openstack system? If not i guess 0 hops are correct as your system can directly reach the floating ip without going to any routers.

The virtual router is (as far as i know) doing nat to provide access to the VM. Using nat you are not going to see any additional hops on traceroute as your system does not know where (and if) the packets have been nat-ed anywhere else.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-02-24 00:59:00 -0500

Seen: 393 times

Last updated: Feb 24 '16