Ask Your Question

How to get floating IP of the guest VM using command line?

asked 2015-11-18 01:45:21 -0500

sngirame gravatar image

I have a CentOS 6 instance inside openstack deployment, I have also assigned a floating IP however I need to get the IP of the VM from command line inside that VM , how can I get floating IP assigned to this guest VM ? What command should be used to get floating IP?

Running ifconfig on that VM returns only the private IP?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-11-18 11:21:58 -0500

dbaxps gravatar image

Metadata request from within VM via Nova Metadata Server

edit flag offensive delete link more

answered 2015-11-18 22:23:30 -0500

smcas gravatar image

Whenever we assign a network (mostly internal network) to the VM it will display from the ifconfig as ell as the Dashboard also. But when we assign a Floating ip it will display only on the Dashboard and not using ifconfig..

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-11-18 01:02:05 -0500

Seen: 1,500 times

Last updated: Nov 18 '15