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

Razique Mahroua razique.mahroua at gmail.com
Tue Apr 23 17:49:39 UTC 2013


Great one!


Razique Mahroua - Nuage & Co
razique.mahroua at gmail.com
Tel : +33 9 72 37 94 15



Le 23 avr. 2013 à 17:09, Eric Marques <marques94 at free.fr> a écrit :

> 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
> 
> 
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130423/899140c0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NUAGECO-LOGO-Fblan_petit.jpg
Type: image/jpeg
Size: 10122 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130423/899140c0/attachment.jpg>


More information about the Openstack mailing list