Ask Your Question
0

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

Comments

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
1

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

hi,

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

net.ipv4.ip_forward=1
edit flag offensive delete link more

Comments

Hi Pradeep,

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

I have posted a question on the forum also [(https://ask.openstack.org/en/question/69559/cant-ping-or-ssh-cirros-vm/)]. 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

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-05-08 20:57:09 -0500

Seen: 2,756 times

Last updated: May 11 '15