Unable to reach internet from openstack virtual machine
by mirawara from LinuxQuestions.org on (#6HA5J)
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
```
```
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
```