[Openstack] bridges configuration in Neutron question

Heling Yao yaoheling at gmail.com
Sat Feb 22 08:15:29 UTC 2014


Hi,

Just found this doc on RDO site, which's very similar to Damon's setup:
http://openstack.redhat.com/Neutron_with_existing_external_network


Hope it helps.

Cheers,



On 02/22/2014 03:37 PM, Damon Wang wrote:
> Hi Anatoly,
>
> I have installed openstack by packstack before, maybe my installation 
> can help you.
>
> First, you don't need to create Linux bridge before you use packstack. 
> PackStack enable Neutron by default, so you should configure 
> OpenVSwitch bridge instead of Linux bridge.
>
> Second, as you use eth0 to connect to external network, you should 
> make the br-ex's same to eth0's IP, and make eth0 as a port of br-ex, 
> these all configure by ifcfg. For example, here is my network 
> configure of my vm which run packstack :
>
> eth0:
> DEVICE=eth0
> ONBOOT=yes
> HWADDR=00:E0:81:D8:43:BE
> TYPE=OVSPort
> DEVICETYPE=ovs
> OVS_BRIDGE=br-ex
>
> br-ex:
> DEVICE=br-ex
> DEVICETYPE=ovs
> TYPE=OVSBridge
> BOOTPROTO=static
> IPADDR=10.1.199.8 # Note, this is your IP of eth0 before, to connect to external network!
> NETMASK=255.255.255.0
> ONBOOT=yes
>
> Third, the eth1 doesn't matter as packstack enabled ip namespace if you use all-in-one in mp opinion.
> You can use "ip netns" to make sure you have enabled ip namespace.
>
>
> Hope this helps,
>
> Damon
>
>
> 2014-02-22 14:42 GMT+08:00 Heling Yao <yaoheling at gmail.com 
> <mailto:yaoheling at gmail.com>>:
>
>     Hi,
>
>     As you're using RDO, you can take a look at your answer file used
>     during packstack installation. You can also search
>     http://openstack.redhat.com/forum/ see if there are relevant
>     questions/answers.
>
>
>     Cheers,
>
>     Heling
>
>
>     On 02/21/2014 10:06 PM, Anatoly Oreshkin wrote:
>
>         Hello,
>
>         I've installed Openstack Havana (with Neutron networking) on
>         single node running
>         Scientifcic Linux 6.4 (RHEL 6.4) using packstack --allinone.
>
>         Installer have created only one bridge - br-ex:
>         # ovs-vsctl show
>         76aa02e5-a442-40c6-8c77-e0471d1a8256
>              Bridge br-ex
>                  Port br-ex
>                      Interface br-ex
>                          type: internal
>              ovs_version: "1.11.0"
>
>
>         My single node has 2 physical NICs, eth0 & eth1. eth0 is for
>         connection to local
>         (external) network and
>         eth1 for internal (cluster) network.
>         Before installing Openstack I created 2 linux bridges, br0 is
>         on eth0, br1 is on eth1
>         to be able to launch virtual machine (with 2 network
>         interfaces) in KVM.
>
>         Command "route" shows:
>
>         Kernel IP routing table
>         Destination     Gateway         Genmask         Flags Metric
>         Ref    Use Iface
>         239.2.11.72     *               255.255.255.255 UH  0      0  
>              0 br1
>         172.24.4.224    *               255.255.255.240 U 0      0    
>            0 br-ex
>         212.192.96.128  *               255.255.255.224 U 0      0    
>            0 br0
>         192.168.1.0     *               255.255.255.0   U 0      0    
>            0 br1
>         link-local      *               255.255.0.0     U 1007   0    
>            0 br0
>         link-local      *               255.255.0.0     U 1008   0    
>            0 br1
>         link-local      *               255.255.0.0     U 1023   0    
>            0 br-ex
>         default         212.192.96.129  0.0.0.0         UG  0      0  
>              0 br0
>
>         Here br0 is for external network, br1 for internal network.
>
>
>         As far as understand one more bridge br-int should be created.
>         How to create it ?
>         Bridges br-ex and br-int should be associated with physical NICs ?
>         But eth0 & eth1 are already are assigned to bridges br0 & br1
>         respectively
>
>         Can anybody help me to clarify this issue ?
>         May be some commands ?
>
>         Thanks.
>         Anatoly.
>
>
>         _______________________________________________
>         Mailing list:
>         http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>         Post to     : openstack at lists.openstack.org
>         <mailto:openstack at lists.openstack.org>
>         Unsubscribe :
>         http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
>     _______________________________________________
>     Mailing list:
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>     Post to     : openstack at lists.openstack.org
>     <mailto:openstack at lists.openstack.org>
>     Unsubscribe :
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140222/344088f4/attachment.html>


More information about the Openstack mailing list