Configure Neutron in OpenStack Kilo

asked 2015-09-23 00:30:29 -0600

tacioandrade gravatar image

Hello to all, good night I am new in OpenStack and am trying to configure it to use in my monographic so far managed to set up all modules of OpenStack, however'm caught in Neutron.

In my environment I have two pools of IP "valid" for users DMZ Interna (172.16.100.0/24) and DMZ Externa (200.200.200.0/24) also own a network where they will be called Gerencia (10.0.0.0/24) the hypervisors isolated VMs and other machines on my network.

Follows the image of my network: http://s29.postimg.org/7auo2ln0n/Modelo.png (http://s29.postimg.org/7auo2ln0n/Mode...)

Follows the /etc/network/interfaces of my Ubuntu 14.04

auto eth0
iface eth0 inet static
address 10.0.0.101
netmask 255.255.255.0
gateway 10.0.0.1
dns-nameservers 8.8.8.8 8.8.4.4

auto eth1
iface eth1 inet static
address 172.16.100.1
netmask 255.255.255.0

auto eth2
iface eth2 inet static
address 200.200.200.1
netmask 255.255.255.0

I edited the file /etc/neutron/plugins/ml2/ml2_conf.ini as follows:

[ml2]
type_drivers=flat,vlan
tenant_network_types=vlan,flat
mechanism_drivers=openvswitch
[ml2_type_flat]
flat_networks=DMZ-Externa,DMZ-Interna
[ml2_type_vlan]
network_vlan_ranges=Intnet1:100:200
[securitygroup]
enable_security_group = True
firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
[ovs]
bridge_mappings=DMZ-Externa:br-dmz-externa,DMZ-Interna:br-dmz-interna,Intnet1:br-eth0

And vswtich I created the following bridges:

root@openstack:~# ovs-vsctl add-br br-int
root@openstack:~# ovs-vsctl add-br br-eth0
root@openstack:~# ovs-vsctl add-br br-dmz-interna
root@openstack:~# ovs-vsctl add-br br-dmz-externa
root@openstack:~# ovs-vsctl add-port br-eth0 eth0
root@openstack:~# ovs-vsctl add-port br-dmz-interna eth1
root@openstack:~# ovs-vsctl add-port br-dmz-externa eth2

However after giving the reboot or restart the OpenVswitch service network stops working. Someone would know help me figure out where the error?

Also you can enchergar a logic error in both my project, how to implement?

I thank you in advance for the help they can give me.

Sincerely Tácio Andrade.

PS: Sorry for my English. =/

edit retag flag offensive close merge delete