ping a vm from external network [closed]

asked 2019-01-10 09:48:18 -0500

arbermejo gravatar image

updated 2019-01-11 08:47:25 -0500

hi I've installed a minimal openstack queens environment and already added a router connected to my external network, when i try to ping a host on my external network from a vm everything is fine, the problem is when i ping form outside to my vm. I've already aloud on the security group Ingress/Egress all ICMP traffic. How can I fix this??

NOTE: I can ping from the external network the router interface in the subnet where the vm's are

Update:

I didn't use any deployment tool for my environment, i did it manually. It's a minimal deployment, i only have a compute node plus the controller node. The openstack enviorenment is connected to my internal network(i'm using vlans, i already added the vlan type drivers), yes i'm using the ml2 plugin. I'm pinging the vm's static ip, the cloud is connected to the outside network by a router doing SNAT

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Bernd Bausch
close date 2019-01-11 19:34:05.967639

Comments

1

You need to provide more information. How did you install your environment. Are there separate compute nodes. Is the instance connected to a tenant network or provider network. Assuming you use the ML2 plugin, what are your mechanism and type drivers. Are you pinging the VM's static or floating IP.

Bernd Bausch gravatar imageBernd Bausch ( 2019-01-10 16:43:47 -0500 )edit
1

I would also like to have an idea how the cloud is connected to the outside network.

Once you share your configuration details, there will probably be more questions.

Bernd Bausch gravatar imageBernd Bausch ( 2019-01-10 16:45:31 -0500 )edit

I didn't use any deployment tool for my environment, i did it manually. It's a minimal deployment, i only have a compute node plus the controller node. The openstack enviorenment is connected to my internal network(i'm using vlans, i already added the vlan type drivers), yes i'm using the ml2 plugin

arbermejo gravatar imagearbermejo ( 2019-01-11 08:43:26 -0500 )edit

i'm pinging the vm's static ip, the cloud is connected to the outside network by a router doing SNAT

arbermejo gravatar imagearbermejo ( 2019-01-11 08:45:53 -0500 )edit
1

Well, do you have a route from the controller to the static IP of the VM?

Static IPs on tenant networks are not supposed to be accessible from outside the cloud. This is what floating IPs are for.

Bernd Bausch gravatar imageBernd Bausch ( 2019-01-11 09:35:17 -0500 )edit