Setting up the network interfaces is something that seems to give people a hard time (clearly visible here: http://docs.openstack.org/grizzly/basic-install/apt/content/basic-install_network.html). If you follow that guide, one of the most confusing points is how the Open vSwitch fits into the existing architecture.
Assuming you are following the guide, you have 2 networks:
10.10.10.0/24 -> private
10.0.0.0/24 -> public
Your Network Controller, again per the guide, will have an internal-network interface of “10.10.10.9” and an external-network interface of “10.0.0.9”
Your starting network config (/etc/network/interfaces) file will look like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
######################################## # Internal Network auto eth0 iface eth0 inet static address 10.10.10.9 netmask 255.255.255.0 # External Network auto eth1 iface eth1 inet static address 10.0.0.9 netmask 255.255.255.0 gateway 10.0.0.1 dns-nameservers 8.8.8.8 ######################################## |
Now, you will first install the packages needed:
1 2 3 4 |
# apt-get install quantum-plugin-openvswitch-agent \ quantum-dhcp-agent quantum-l3-agent |
Then you will start the Open vSwitch:
1 2 3 |
# service openvswitch-switch start |
Continue Reading →OpenStack – Network Controller – Open vSwitch – Network Interfaces Config