Ask Your Question
0

How to Configure Two Bridge Network In Neutron

asked 2016-06-03 10:21:40 -0500

amit-g gravatar image

updated 2016-06-05 16:50:22 -0500

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 ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-06-04 10:07:15 -0500

I have not tested this procedure, but can't see why it wouldn't work in Kilo or later: http://blog.oddbit.com/2014/05/28/multiple-external-networks-wit/ (http://blog.oddbit.com/2014/05/28/mul...)

edit flag offensive delete link more
0

answered 2016-06-04 05:15:02 -0500

soumitrakarmakar gravatar image

Create another ext-net as ext-net2 and provide the subnet that you want i.e 192.168.2.0/24 then you should be able to assign floating ips from this subnet as well to your tenants.

edit flag offensive delete link more

Comments

Are there any documented procedures, specially what changes do we have to make in plugin.ini . As before creating a subnet, on the openstack host ( all in one node) , I would be able to ping the network of 192.168.2.x network. considering eth1 as br-ex1 and changing ifcfg-br-ex1 and ifcfg-eth2

amit-g gravatar imageamit-g ( 2016-06-04 05:36:53 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-06-03 10:21:40 -0500

Seen: 185 times

Last updated: Jun 05 '16