Ask Your Question
0

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

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

Yang Jae gravatar image

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

Hello,

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

https://www.rdoproject.org/networking/neutron-with-existing-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 172.16.0.0/24 instance at all after setting floating ip 172.16.0.0/24.

Below are my tasks to try br-ex2(172.16.0.0/24 , 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=172.16.0.10,end=172.16.0.20 internal_network 172.16.0.0/24

neutron router-create router2

neutron router-gateway-set router2 internal_network

neutron subnet-create --name private_subnet2 private_network2 192.168.200.0/24

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

Comments

Please,elaborate
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 -0600 )edit

3 answers

Sort by ยป oldest newest most voted
0

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

dbaxps gravatar image

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

Please, see
1. http://blog.oddbit.com/2015/08/13/pro...
2. http://dbaxps.blogspot.com/2015/10/mu...

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
0

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

Yang Jae gravatar image

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

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 192.168.100.3, XXX.XXX.XXX.2 Demo-Network2 192.168.200.3, 172.16.0.3

I can ping 172.16.0.3 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

Comments

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

dbaxps gravatar imagedbaxps ( 2016-02-05 02:36:11 -0600 )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 -0600 )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.
See http://blog.oddbit.com/2014/05/28/mul...

dbaxps gravatar imagedbaxps ( 2016-02-05 04:34:53 -0600 )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 -0600 )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-02-03 20:48:08 -0600

Seen: 381 times

Last updated: Feb 05 '16