github linkedin
Deploy Openstack by FUEL on libvirt: pre-install network configuration
Mirantis has released FUEL 3.2 deployment automation tool for OpenStack. It has a lot of documentation and QuickStart scripts for VirtualBox, but if you prefer libvirt or may be pure KVM, you probably plunge into networking issues or need to read and understand fuel networking. I’ll try to explain quick way  how to prepare networking on linux box for FUEL 3.2.

Fuel 3.2 uses 5 networks by default:

  • FUEL- pxe and puppet – 10.20.0.0/24
  • PUBLIC – public APIs and floating range – 172.16.0.0/24 (VLAN 100) – internet access
  • MANAGEMENT – internal OpenStack communications –  192.168.0.0/24 (VLAN 101)
  • STORAGE – iscsi, swift – 192.168.1.0/24 (VLAN 102)
  • FIXED – for openstack projects – 10.0.0.0/16 (VLAN 103 or VLAN range)
You could cultivate all networks in single linux bridge. But it need some magic like routing, NAT and DNS.


1) create bridge
brctl addbr br0
ip link set up dev br0

<p>
  2) add address and DNS forwarding server. 10.20.0.1 is used by default as dns server.<br /> ip addr add 10.20.0.1/24 dev br0<br /> dnsmasq -a 10.20.0.1
</p>

<p>
  3) add VLAN interface, add gateway and configure NAT for PUBLIC network<br /> ip link add link br0 name br0.100 type vlan id 100<br /> ip link set up br0.100<br /> ip addr add 172.16.0.1/24 dev br0.100<br /> iptables -t nat -A POSTROUTING -s 172.16.0.0/24 ! -d 172.16.0.0/24 -j MASQUERADE
</p>

<p>
  4) You should create VMs w/ <b>single</b> interface attached to br0.</div> 

  <div style="text-align: left;">
  </div>

  <div style="text-align: left;">
    After that install Fuel master node from iso. And follow steps in <a href="http://docs.mirantis.com/fuel/fuel-3.2/pdf/Fuel-for-Openstack-3.2-InstallGuide.pdf" target="_blank">documentation</a>.
  </div></div>