How to access compute node from vm created inside OpenStack and provide internet connectivity to VMs

asked 2017-04-20 23:41:38 -0500

sanjana gravatar image

updated 2017-04-20 23:43:12 -0500

I have installed openstack on 2 Ubuntu 16.04 servers. I have been able to launch multiple instances on networks within openstack. However now i am not able to access net from within those VMs nor am I able to ping the compute node from those VMs. Could any one please tell me the steps i need to follow to enable this

edit retag flag offensive close merge delete

Comments

Is your security groups have rules to allow icmp traffic? If yes, is your v-router getting the icmp packets and forwarding them?

kuro gravatar imagekuro ( 2017-04-20 23:47:21 -0500 )edit

@kuro I have added a rule "Allow ICMP" tpo my security group. Also regarding external network, my compute node is on 10.x.x.x so What should be external network in openstack?

sanjana gravatar imagesanjana ( 2017-04-21 04:37:46 -0500 )edit

You can get the external network info using command neutron net-list --router:external True in controller node. You can also check from horizon as well. But did you check if your virtual router is getting the packets and forwarding them

kuro gravatar imagekuro ( 2017-04-21 05:29:16 -0500 )edit

@kuro My external network was configured as a vxlan network due to which there were issues. However when i created an external flat network, the conflict was resolved. Ping, ssh and internet access is present now. What are the additional settings that need to be done for an external vxlan network?

sanjana gravatar imagesanjana ( 2017-05-03 23:20:12 -0500 )edit