LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Unable to reach internet from openstack virtual machine (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/unable-to-reach-internet-from-openstack-virtual-machine-4175732016/)

mirawara 12-21-2023 02:44 AM

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
```

wpeckham 12-22-2023 10:55 AM

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.

mirawara 01-08-2024 04:23 AM

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.