Ask Your Question

Is it possible to have two network modes in the one openstack

asked 2015-01-27 02:11:34 -0500

Maple Wang gravatar image

My network setting-up in openstack has a little bit complex, some VM instance need to have vlan tag to communicate internal nodes through switch, but others need to have fixed public ip within VM directly rather than using floating ip or through NAT, but the dilemma is that it seems there is no this kind of neutron network mode which can satisfy both scenarios above at same time. so I wonder if I can set up two external networks in the openstack, and one is attached to vlan mode and another is attached to flat mode, i know it's possible to set up two external networks, but two network modes? i don't know. is there anyone here having this sort of experience before? is it feasible? if it is, do you have any guide to do it? thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-27 03:47:46 -0500

capsali gravatar image

updated 2015-01-27 03:48:18 -0500

I can do that. I am using neutron in dvr mode, so every compute node has access to external network. I can use FIPs for an ext network and connect directly to a second ext network. You must tweak the l3_agent and ml2_plugin to allow multiple external networks on one l3 agent!

edit flag offensive delete link more


Hi capsali,

thanks for your suggestion, but unfortunately DVR is available on Juno or afterwards, I need to stick on the Icehouse for some reason.

Maple Wang gravatar imageMaple Wang ( 2015-02-07 09:27:50 -0500 )edit

theoreticly it should work on standard neuntron setup. You shoudl setup ml2_plugin and l3_agent to accept multiple networks and you must have 2 physical network adapters to bind each for every network (or 2 vlans)

capsali gravatar imagecapsali ( 2015-02-10 05:50:37 -0500 )edit

Hi capsali,

could you tell me more specifically? I'm using the vlan mode for current neutron network setup, so how should i do for starting VM directly in ext-net and keeping vlan mode at same time? do you have any specific procedure here?

Maple Wang gravatar imageMaple Wang ( 2015-02-10 06:32:19 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-01-27 02:11:34 -0500

Seen: 377 times

Last updated: Jan 27 '15