Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to Configure Two Bridge Network In Neutron

Hello Team ,

I need some heads up or procedure in adding two network in OpenStack. I am using openstack Kilo .

Network A eth0 configured as 10.209.86.202 . ( has a default gw and is connect to internet) Some Instance would be connecting to or shall be assigned to floating ips in subnect 10.209.86.x

Network B

eth1 configured as 192.168.2.10 ( This is a network without internet). Some instance would be connecting to this network with floating ip.

All the instance has local ip in the subnect 10.0.0.x.

So , what files I need to edit in /etc/neutron as I may have to put both the interfaces as br-ex and br-ex1.

Thanks

How to Configure Two Bridge Network In Neutron

Hello Team ,

I need some heads up or procedure in adding two network in OpenStack. I am using openstack Kilo .

Network A eth0 configured as 10.209.86.202 . ( has a default gw and is connect to internet) Some Instance would be connecting to or shall be assigned to floating ips in subnect 10.209.86.x

Network B

eth1 configured as 192.168.2.10 ( This is a network without internet). Some instance would be connecting to this network with floating ip.

All the instance has local ip in the subnect 10.0.0.x.

So , what files I need to edit in /etc/neutron as I may have to put both the interfaces as br-ex and br-ex1.

Thanks

To Make it More Simpler ::

On My Setup the other network that I need to get connected had an interface p1p2 with ip 192.168.10.115 , So I converted it into br-ex1

 br-ex1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.10.155  netmask 255.255.255.0  broadcast 192.168.10.255
        inet6 fe80::a236:9fff:fe68:938e  prefixlen 64  scopeid 0x20<link>
        ether a0:36:9f:68:93:8e  txqueuelen 0  (Ethernet)
        RX packets 1733  bytes 569040 (555.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2496  bytes 260041 (253.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
p1p2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::a236:9fff:fe68:938e  prefixlen 64  scopeid 0x20<link>
        ether a0:36:9f:68:93:8e  txqueuelen 1000  (Ethernet)
        RX packets 101908  bytes 6605748 (6.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2495  bytes 260107 (254.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Now, from the host machine I can ping other machine , after changing this.

[root@b010 ~]# ping 192.168.10.48 PING 192.168.10.48 (192.168.10.48) 56(84) bytes of data. 64 bytes from 192.168.10.48: icmp_seq=1 ttl=64 time=0.167 ms 64 bytes from 192.168.10.48: icmp_seq=2 ttl=64 time=0.212 ms

Now , what I am working out is I want my instance , once it is assigned with floating IP (say 192.168.10.100) this instance would be able to ping other machine in the network or the machine with 192.168.10.48. My present instances are in the range of 10.0.0.x subnet. The 192.168.10.x does has any Gateway ,

[root@b010 ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.182.197.41   0.0.0.0         UG    0      0        0 br-ex
10.182.192.0    0.0.0.0         255.255.248.0   U     0      0        0 br-ex
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 em1
169.254.0.0     0.0.0.0         255.255.0.0     U     1013   0        0 p1p2
169.254.0.0     0.0.0.0         255.255.0.0     U     1015   0        0 br-ex1
169.254.0.0     0.0.0.0         255.255.0.0     U     1016   0        0 br-ex
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 br-ex1
[root@b010 ~]#

So ,I am actually looking out for the procedure.