LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 12-21-2023, 02:44 AM   #1
mirawara
LQ Newbie
 
Registered: Jul 2023
Posts: 6

Rep: Reputation: 1
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
```
 
Old 12-22-2023, 10:55 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,674

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
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.
 
Old 01-08-2024, 04:23 AM   #3
mirawara
LQ Newbie
 
Registered: Jul 2023
Posts: 6

Original Poster
Rep: Reputation: 1
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.
 
  


Reply

Tags
openstack, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [Openstack/Devstack] Cannot reach Internet via Floating IP czezz Linux - Virtualization and Cloud 7 03-05-2024 03:23 AM
LXer: OpenStack expands both its customer reach and deployments size LXer Syndicated Linux News 0 11-01-2016 04:09 AM
LXer: Short Stack: OpenStack Summit news, OpenStack Marketplace, Intel on OpenStack LXer Syndicated Linux News 0 05-14-2014 09:50 PM
virtual ip unable to reach network Winanjaya Linux - Networking 1 05-27-2009 04:22 AM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration