Ask Your Question

I would like to use also second nic as existing external network

asked 2016-02-03 21:00:37 -0500

Yang Jae gravatar image

updated 2016-02-05 00:43:08 -0500


I already finished first nic task which can do external network.

But I tried to do second again. It was failed and failed.

I already set br-ex2 and can ping as well. This should be private main exsiting network.

How can I do this task?

I succefully added second external network but I can't ping instance at all after setting floating ip

Below are my tasks to try br-ex2( , no gateway) as main exsiting network.

openstack-config --set /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini ovs bridge_mappings extnet2:br-ex2

openstack-config --set /etc/neutron/plugin.ini ml2 type_drivers vxlan,flat,vlan

service neutron-openvswitch-agent restart

service neutron-server restart

neutron net-create internal_network --provider:network_type flat --provider:physical_network extnet2  --router:external --shared

neutron subnet-create --name internal_subnet --enable_dhcp=False --allocation-pool=start=,end= internal_network

neutron router-create router2

neutron router-gateway-set router2 internal_network

neutron subnet-create --name private_subnet2 private_network2

neutron router-interface-add router2 private_subnet2
edit retag flag offensive close merge delete


1. Do you have 2 real networks in office which you want to use as external ?
2. Does your Network Node have 2 NICs , each one plugged into corresponding Network ?

dbaxps gravatar imagedbaxps ( 2016-02-04 23:47:57 -0500 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2016-02-05 01:02:27 -0500

dbaxps gravatar image

updated 2016-02-05 01:03:04 -0500

Please, see

I am not certain is it AIO install ( 2 NICs required)  or Network Node (4 NICs required) 
or Controller/Network Node (3 NICs required)
edit flag offensive delete link more

answered 2016-02-05 02:29:45 -0500

Yang Jae gravatar image

updated 2016-02-05 02:30:54 -0500

Thank you very much dbaxps.

I got much help from your second reference link.

but I have a problem to set two external nics in one instance.

I set each private interfaces and also set multiple floating.

If floating ip are like these,

Demo-Network1, XXX.XXX.XXX.2 Demo-Network2,

I can ping not XXX.XXX.XXX.2 at all(Before was two networks disconnected in one instance).

Is there way to use two external network in one instance not down one of external networks?

edit flag offensive delete link more


When you say instance, does it mean AIO Openstack instance or you mean something else ?

dbaxps gravatar imagedbaxps ( 2016-02-05 02:36:11 -0500 )edit

Openstack's instance(VM). one instance in openstack AIO has two nics too. but only one nic per each instances is well working.

Yang Jae gravatar imageYang Jae ( 2016-02-05 02:47:47 -0500 )edit

If "openstack AIO has two nics too", then you misconfigured external network provider environment, in particular, I believe l3_agent.ini is incorrect and most probably OVS bridges and ports.

dbaxps gravatar imagedbaxps ( 2016-02-05 04:34:53 -0500 )edit

Long time no see. I had been for Lunar new year so that I posted this late. gateway_external_network_id = / gateway_external_network_id = / are no value. Did you try two nic in one intance in your enviroment?

Yang Jae gravatar imageYang Jae ( 2016-02-10 22:54:50 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-02-03 20:48:08 -0500

Seen: 422 times

Last updated: Feb 05 '16