Unable to reach internet from openstack virtual machine
I installed OpenStack on a single server using DevStack. I modified the local.conf file by adding these options:
``` HOST_IP=192.168.11.230 PUBLIC_INTERFACE=enp4s0f0 ``` This is because I have one interface through which I access SSH with the IP 192.168.11.230, and a second interface, enp4s0f0, that I can entirely dedicate to OpenStack. I followed this guide: https://docs.openstack.org/devstack/...etworking.html However, at this point, I'm unsure what I'm missing to allow VMs to reach the internet. Any advice would be greatly appreciated. Thank you in advance. P.S. This is my netplan: ``` network: ethernets: enp0s31f6: dhcp4: false addresses: - 192.168.11.230/24 routes: - to: 0.0.0.0/0 via: 192.168.11.1 nameservers: addresses: - 192.168.11.1 enp4s0f0: dhcp4: no addresses: [] routes: [] optional: true version: 2 ``` |
Am I to understand that you gave the previously unused interface the same address as the interface already in use?
If so, that is your problem. If not, please clarify. |
Thanks for the response. No, HOST_IP is the IP of the primary interface and is used to access, for example, the openstack dashboard. The second interface should be managed independently by openstack to allow VMs to reach the internet.
|
All times are GMT -5. The time now is 03:43 AM. |