Friday, April 4, 2014

A working OpenStack configuration for a single network card

 After some longer trouble to get OpenStack running on a system which just has one network card I found a proper solution. 



Here it is:

  • Install a fresh Ubuntu 12.04 LTS
  • Install bridge-utils and configure a br100 bridge on your single network card eth0
    • Here the config part for br100 in /etc/network/interfaces
# Internal Network
auto br100
iface br100 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
bridge_ports eth0
bridge_fd 0
bridge_hello 2
bridge_maxage 12
bridge_stp off
  •  Create a VLAN network interface on eth0 using VLAN ID 0
    • Run:
modprobe 8021q
vconfig add eth0 0
ifconfig eth0.0:1 10.11.12.1 netmask 255.255.255.0 up
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
    •  This creates a eth0.0 device with the ip 10.11.12.1
  • Check that the new eth0.0 device got created with "ifconfig -a"
  • Now follow the regular Devstack instructions
    • Add a stack user with sudo permissions
    • Check out OpenStack with git
    • Create a /home/stack/devstack/localrc as following
HOST_IP=192.168.0.1
FLOATING_RANGE=192.168.0.0/24
FIXED_RANGE=10.11.12.0/24
FIXED_NETWORK_SIZE=256
FLAT_INTERFACE=eth0
ADMIN_PASSWORD=password
MYSQL_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
LOGFILE=/home/stack/stack.sh.log
  • Now run stack.sh
su - stack
cd devstack
./stack.sh

Shortly after that OpenStack will be up + running and you can connect to the OpenStack Horizion Dashboard at http://192.168.0.1

With this network configuration this setup allows to successfully launch OpenStack instances which are then reachable from the controller.

Devstack, a documented shell script to build complete OpenStack development environments. More about Devstack at: http://devstack.org

26 comments:

21st Century Software Solutions said...

Open Stack Cloud Computing Key words: Open stack training , Open stack online Training , Open stack cloud computing training , open stack cloud computing online training ,Open stack Corporate Training,Best Open stack training, Open stack cloud computing training, Expert Open stack Training , Expert Openstack Cloud Computing Training
http://www.21cssindia.com/courses/open-stack-online-training-224.html
Introduction – Virtualization Overview – Software as a service – platform as a service –
Infrastructure as a Service – Openstack – History and Overview – Q&A – OpenStack Architecture DeepDive – Components Overview – Keystone architecture – Nova architecture – Glance architecture – Quantum architecture – Deploying OpenStack – Step by Step through CLI

21st Century Software Solutions said...

Open Stack Cloud Computing Online Training
http://www.21cssindia.com/courses/open-stack-online-training-224.html
Introduction - Virtualization Overview - Software as a service - platform as a service - Infrastructure as a Service - Openstack – History and Overview - Q&A - OpenStack Architecture DeepDive - open stack cloud computing key words: open stack training, open stack online training, open stack cloud computing training, open stack cloud computing online training, open stack corporate training, best open stack training, open stack cloud computing training, expert open stack training, expert open stack cloud computing training

Unknown said...

Really something Grate in this article Thanks for sharing this. We are providing NETWORK ADMIN courses training online. After reading this slightly am changed my way of introduction about my training to people. And also refer my website for NETWORK ADMIN Training and solutions of NETWORK ADMIN applications. Please Visit Us @ NETWORK ADMIN training courses online

21st Century Software Solutions said...

OpenStack Cloud Computing Online Training, ONLINE TRAINING – IT SUPPORT – CORPORATE TRAINING http://www.21cssindia.com/courses/open-stack-online-training-224.html The 21st Century Software Solutions of India offers one of the Largest conglomerations of Software Training, If you’re serious about a career in IT, 21st Century would like to provide you a guidance don’t hesitate to organize a free demo session. For any further information regarding the courses once go through our website Visit: http://www.21cssindia.com | Call Us +917386622889 - +919000444287 - contact@21cssindia.com

Unknown said...

OpenStack lets users deploy virtual machines and other instances which handle different tasks for managing a cloud environment on the fly. It makes horizontal scaling easy, which meansRead more
Check this siteTeKslate for indepth Openstack training.
Go here if you’re looking for information on Openstack training.

dsds said...

Excellent post!!! I have learnt many things form here. I have also website where you can visit and pass your pleasure time. In everyone’s life, at some time, our inner fire goes out. It is then burst into flame by an encounter with another human being. We should all be thankful for those people who rekindle the inner spirit. To get more information, visit here……………
home network setup

Unknown said...

when you install openstack through ./stack.sh

how do you restart individual components. I didn't see these individual components registered as a service, also if I do ./unstack.sh and ./stack.sh. It will clean up my database, and existing data (e.g. VMs, images) will be lost.

Unknown said...

when you install openstack through ./stack.sh

how do you restart individual components. I didn't see these individual components registered as a service, also if I do ./unstack.sh and ./stack.sh. It will clean up my database, and existing data (e.g. VMs, images) will be lost.

Unknown said...

Thanks for great post regarding OpenStack configuration. It’s very useful. OpenStack is a set of software tools for building and managing cloud computing platforms for public and private clouds. I found one of the good resource related to OpenStack . It is giving a detailed knowledge in OpenStack. To know more Just view on this link: https://intellipaat.com/openstack-training/

dwarakesh said...



Ya that's great to have blog like this it may clear the many thought from this

Pega Training
PlSQL Training
AWS Training
Teradata Training
Qlikview Training
Informatica MDM Training

Unknown said...

Informative article. Intellipaat provide online training with job assistance, 24 hours support, Lifetime accaess.

Unknown said...


Really very informative and creative contents. This concept is a good way to enhance the knowledge. Thanks for sharing. please keep it up.
R Programming Training in Hyderabad

Diya shree said...

This information is impressive; I am inspired by your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic.

best openstack training in chennai | openstack course fees in chennai | openstack certification in chennai | redhat openstack training in chennai

Dharani M said...

Nice information
best android training center in Marathahalli

best android development institute in Marathahalli

android training institutes in Marathahalli

ios training in Marathahalli

android training in Marathahalli

mobile app development training in Marathahalli

Ram Niwas said...

Woow Excellent blog. Thanks for your informative blog.

OpenStack Training

sumathikits said...

nice article
SAP MM Training

SAP Security Training

SCOM 2012 Training

Spark Training

Teradata Training

Testing Tools Training

Vmware Training

Azure Training

Anonymous said...

Thanks for sharing your knowledge. It's very useful for me and detailed and informative one. Keep doing the same.
Vmware Traning in Electronic City

Bhanu Sree said...

Thank you for sharing wonderful information with us to get some idea about that content
Openstack Training
Openstack Training Online
Openstack Training in Hyderabad

subha said...


It fun to have a content like this really worth to read it.i really enoy to read.keep share more.
C and C++ Training Institute in chennai | C and C++ Training Institute in anna nagar | C and C++ Training Institute in omr | C and C++ Training Institute in porur | C and C++ Training Institute in tambaram | C and C++ Training Institute in velachery

rocky said...

It’s very useful. OpenStack is a set of software tools for building and managing cloud computing platforms for public and private clouds.
python training in chennai

python online training in chennai

python training in bangalore

python training in hyderabad

python online training

python flask training

python flask online training

python training in coimbatore

Pushba said...

Resources like the one you mentioned here will be very useful to me ! I will post a link to this page on my blog. I am sure my visitors will find that very useful
IELTS Coaching in chennai

German Classes in Chennai

GRE Coaching Classes in Chennai

TOEFL Coaching in Chennai

spoken english classes in chennai | Communication training

veera said...

i am really happy with your blog because your article is very unique and powerful for new reader.Prefer to study this kind of material. Nicely written information in this post,the quality of content is fine and the conclusion is lovely. Things are very open and intensely clear explanation of issues. | Certification | Cyber Security Online Training Course|

Ethical Hacking Training Course in Chennai | Certification | Ethical Hacking Online Training Course|

CCNA Training Course in Chennai | Certification | CCNA Online Training Course|

RPA Robotic Process Automation Training Course in Chennai | Certification | RPA Training Course Chennai|

SEO Training in Chennai | Certification | SEO Online Training Course



jdgvks said...

Ya that's great to have blog like this it may clear the many thought from this
oracle training in bangalore

hadoop training in bangalore
oracle training

oracle online training

oracle training in hyderabad

hadoop training in chennai

Mrbk30 said...

Very Informative blog thank you for sharing. Keep sharing.

Best software training institute in Chennai. Make your career development the best by learning software courses.

best devops training in chennai
uipath training in chennai
cloud computing training in chennai

The Skill Pedia said...

Thanks for sharing this useful information this information will be very helpful for us.
openstack training

kosmik said...

Woow Excellent blog. Thanks for your informative blog.
power-bi-training-in-hyderabad