Ask Your Question

can't ping or ssh cirros vm floating ip

asked 2015-05-08 21:01:28 -0500

dimy gravatar image

openstack juno ubuntu 14.04 install with three machine I have config the default security group

edit retag flag offensive close merge delete


You must give more details... is there any error in log files? Could you use VM through console? Is it getting IP address from dhcp?

Antonio G. gravatar imageAntonio G. ( 2015-05-09 16:53:02 -0500 )edit

Does your VM get an IP address? Can you ping your gateway? Can you ping anything on the internet? Please include more information about your issues.

Tobias Urdin gravatar imageTobias Urdin ( 2015-05-10 15:10:43 -0500 )edit

my vm have got an IP address,and can ping the other vms and the gateway,but can't access the internet

dimy gravatar imagedimy ( 2015-05-11 03:05:14 -0500 )edit

Can you post

1. `ovs-vsctl show` && ifconfig` 
2.  ip netns exec qrouter-your-router-id ifconfig 
3.  ip netns exec qrouter-your-router-id route -n
4.  route -n

on Network Node ?

dbaxps-Second-Incarnation gravatar imagedbaxps-Second-Incarnation ( 2015-05-12 00:11:05 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-11 04:52:34 -0500


for ping & ssh to your instance few rules are there to be added. i hope you done with that step.

Next one is Internet connectivity to your VM is done by IP-forwarding. first check what interface you provided for VM to communicate Internet (WIRELESS/LAN) based on that execute the following commands.

sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE   (where eth0 is my interface for VM)

and one more thing make some changes in sysctl.conf

edit flag offensive delete link more


Hi Pradeep,

I am facing the same problem. If you can help me with this .

I have posted a question on the forum also [(]. If you can kindly check my setup over there I have posted everything. Kindly help us resolve the issue

abhishek-talwar gravatar imageabhishek-talwar ( 2015-07-08 01:45:36 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-05-08 20:57:09 -0500

Seen: 3,018 times

Last updated: May 11 '15