Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Usually when I setup a new Ubuntu VM, i keep the eth0 in NAT mode to get the internet & I add a eth1 interface in HostOnly mode so that I can ssh.

But using this devStack guide : Running a Cloud in a VM, it looks like it tried to use eth0 as the public interface (install got stuck because eth0 lost the network).

I know an OpenStack setup usually requires two NICs, so I'm wondering what is the correct configuration for my VM.

share|improve this question

2 Answers 2

up vote 5 down vote accepted

I started with the guide Experimenting with OpenStack Essex on Ubuntu 12.04 LTS under VirtualBox and here are the settings I wound up with in VirtualBox

Under Preferences > Network create a Host-only network called vboxnet0.

vboxnet0 (disable DHCP Server too)


Create a new VM and go to the Network section.

The Adapters for the VM itself. Adapter 1 Adapter 2

Network settings in the Ubuntu VM /etc/network/interfaces

auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

#Public Interface
#auto eth1
#iface eth1 inet static

# Instead of having eth1 in /etc/network/interfaces
# we create directly br100 and attach it to eth1
auto br100
iface br100 inet static
    bridge_ports eth1
    bridge_stp off
    bridge_maxwait 0
    bridge_fd 0

And in my devstack localrc / local.conf file I've included the following settings:


This will allow to access your instances (when associated to a floating IP) from your host machine

Hope this works for you too!


share|improve this answer
Is this answer still correct? Devstack local.conf doesn't seem to have these options anymore. – SHC Jan 30 '14 at 13:54
I cannot get the network interfaces file to work. Trying to bring up eth1 results in: Ignoring unknown interface eth1=eth1. – Andrew Thaddeus Martin May 20 at 22:01

If you have vagrant installed along with virtualbox, you can start devstack using vagrant-devstack:

$ git clone
$ cd vagrant-devstack
$ vagrant up

Networking configuration is handled by the included Vagrantfile.

share|improve this answer

protected by Sven Apr 30 '14 at 10:39

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.