[Openstack] How to configure nova-network for a single node

Eric Marques marques94 at free.fr
Tue Apr 23 15:09:35 UTC 2013


Dear Daniel,

I'm working at a company that has published an article on this subject.
http://sysadmin.smile.fr/post/2013/04/23/Use-flat-network-with-OpenStack

Hope it will help you,

Regards,


Le 23/04/2013 14:44, Daniel Ellison a écrit :
> Hi all,
>
> I've slowly been configuring a single server with OpenStack for a proof-of-concept I want to present to my managers. This single server is co-located and directly exposed to the Internet. It has one active Ethernet port (eth0) and one inactive and disconnected Ethernet port (eth1). I've already set up br100 over eth0 (I was using KVM on this machine previously, so bridging was already set up). This machine has an entire class "C" IPv4 network (256 IPs) available to it.
>
> I have both Keystone and Glance in place so far. I'm now working on configuring Nova, specifically nova-network. For this PoC there's no need to get into the (perceived) complexities of Quantum, though Quantum will eventually be a big selling point, I believe.
>
> I'm not yet sure of how to configure this server for networking. I want VMs to be assigned public IPs from my pool, but also be on an internal network (albeit all on the one server). I've read "Libvirt Flat Networking" and "Libvirt Flat DHCP Networking" as well as many other pages pertaining to nova-network configuration. I know this should be a simple setup, but the various pages have done more to confuse me than anything else.
>
> My /etc/network/interfaces is similar to that on the "Libvirt Flat Networking" page, except I'm using static setup for the bridge as I've assigned an IP from my network to the server. So it looks more like this:
>
> auto lo
> iface lo inet loopback
>      pre-up iptables-restore < /etc/iptables.up.rules
>
> auto eth0
> iface eth0 inet manual
>
> auto br100
> iface br100 inet static
>      network 204.187.138.0
>      gateway 204.187.138.1
>      address 204.187.138.2
>      broadcast 204.187.138.255
>      netmask 255.255.255.0
>      bridge_ports eth0
>      bridge_stp off
>      bridge_fd 0
>      bridge_maxwait 0
>
> So after all that, how best should I configure nova-network on this single server? I appreciate any guidance in advance, and am more than willing to answer any questions to clarify my setup or intentions.
>
> Thanks!
> Daniel
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp





More information about the Openstack mailing list