Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to ping to an instance launched in openstack.

Tags:

openstack

I have installed open stack using devstack. Launched an cirros image. I can connect to the instance from VNC console but unable to ping to the instance.

like image 907
Gova Avatar asked Oct 21 '25 13:10

Gova


2 Answers

You should configure your security group to allow incoming ICMP (ping) traffic, and also TCP port 22 (ssh). You can configure the security group from the Openstack web dashboard.

like image 183
Barak Avatar answered Oct 23 '25 07:10

Barak


I agree with Barak's answer. For reference - here are shell commands to configure rules:

$nova --no-cache secgroup-add-rule default icmp -1 -1 0.0.0.0/0
$nova --no-cache secgroup-add-rule default tcp 22 22 0.0.0.0/0
like image 38
Max Lobur Avatar answered Oct 23 '25 09:10

Max Lobur