VMs have no LAN or internet access

asked 2013-08-10 16:49:25 -0500

vicethal gravatar image

updated 2013-08-10 17:30:41 -0500


My OpenStack Grizzly install seems to be in mostly working order on this single node. But I cannot figure out how to give my VMs access to the internet.

I'd like my VMs to get their IPs from the local DHCP server, like a VirtualBox VM would behave when the adapter is set to "Bridged" mode. Barring that, I'd like them to get their fixed IP from OpenStack in a range that's on my LAN. Currently, I can define private networks, and VMs can communicate, but instances can't even reach outside of their networks, contact the internet, or actually provide useful services.

My Logon greeting:

Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-37-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Sat Aug 10 17:10:32 EDT 2013

  System load:  0.16               Users logged in:       0
  Usage of /:   16.8% of 14.43GB   IP address for eth0:
  Memory usage: 3%                 IP address for eth0:0:
  Swap usage:   0%                 IP address for br100:
  Processes:    173

  Graph this data and manage this system at https://landscape.canonical.com/

0 packages can be updated.
0 updates are security updates.

My /etc/network/interfaces :

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static

auto eth0:0
iface eth0:0 inet static

auto br100
iface br100 inet dhcp
bridge_ports eth1
bridge_stp off
bridge_maxwait 0
bridge_fd 0

My intent was for eth1 to be used as the bridged adapter, and eth0 to be just for OpenStack usage. Both ports are plugged into the same unmanaged switch (Crazy I know, but I can't have any money/real parts until I show a working prototype).

I added this stansa to /etc/nova/nova.conf in hopes of getting my desired behavior:


And here's an image showing the operability I have gotten so far: http://i.imgur.com/kfLTG3w.png

Any help would be greatly appreciated, I have been banging my head against a wall for a few weeks, and nothing I do seems to change anything. I'm trying to use the flat network manager, but I don't know how to make an OpenStack network to put VMs in that will do what I configured it to do.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-11 22:36:15 -0500

I couldn't find any mistakes from your config file, but I have a same problem before and solved finally:

Before you launch an instance, a router and a subnet MUST be created and attached to the appropriate interfaces from Dashboard's Network Topology; Else the instance won't reach to Internet! It means the instance must be connect to a router within the same subnet, and also enter the correct DNS IPs in the router. Please try!


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-08-10 16:49:25 -0500

Seen: 1,494 times

Last updated: Aug 11 '13