VLAN and GRE provider networks at the same time with OVS plugin

Asked by Miguel Lavalle

HI,

With the OVS plug-in, can I have vlan and gre provider networks at the same time? If the answer is yes, would the following entries in ovs_quantum_plugin.ini be a good example of how to configure them:

tenant_network_type = vlan
network_vlan_ranges = physnet1:1000:2999,physnet2:3000:3999
bridge_mappings = physnet1:br-eth1,physnet2:br-eth2

enable_tunneling = True
tunnel_id_ranges = 1:1000
tunnel_bridge = br-tun
local_ip = 10.0.0.3

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
neutron Edit question
Assignee:
No assignee Edit question
Solved by:
Miguel Lavalle
Solved:
Last query:
Last reply:
Revision history for this message
dan wendlandt (danwent) said :
#1

this should work. by default, i think you would get tunneled networks, but
would be able to use the provider networks extension to create networks
that map to physical vlans.

On Tue, Jan 8, 2013 at 10:11 AM, Miguel Lavalle <
<email address hidden>> wrote:

> New question #218658 on quantum:
> https://answers.launchpad.net/quantum/+question/218658
>
> HI,
>
> With the OVS plug-in, can I have vlan and gre provider networks at the
> same time? If the answer is yes, would the following entries in
> ovs_quantum_plugin.ini be a good example of how to configure them:
>
> tenant_network_type = vlan
> network_vlan_ranges = physnet1:1000:2999,physnet2:3000:3999
> bridge_mappings = physnet1:br-eth1,physnet2:br-eth2
>
> enable_tunneling = True
> tunnel_id_ranges = 1:1000
> tunnel_bridge = br-tun
> local_ip = 10.0.0.3
>
> Thanks
>
>
> --
> You received this question notification because you are an answer
> contact for quantum.
>

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira, Inc: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Revision history for this message
Robert Kukura (rkukura) said :
#2

Looks to me like it should work as well.

One note is that "tenant_network_type = vlan" will cause tenant networks to be allocated as vlans. If you change this to "tenant_network_type = gre" then they will be gre networks. In either case, you can allocate provider vlan and gre networks.

Also, I noticed that your ranges of vlan tags on the two physical networks don't overlap. Note that you can re-use the same vlan tags on distinct physical networks for distinct virtual networks (assuming the physical networks aren't the same network).

-Bob

Revision history for this message
dan wendlandt (danwent) said :
#3

Good point Bob, I was wrong about the default.

dan

On Tue, Jan 8, 2013 at 1:11 PM, Robert Kukura <
<email address hidden>> wrote:

> Question #218658 on quantum changed:
> https://answers.launchpad.net/quantum/+question/218658
>
> Robert Kukura posted a new comment:
> Looks to me like it should work as well.
>
> One note is that "tenant_network_type = vlan" will cause tenant networks
> to be allocated as vlans. If you change this to "tenant_network_type =
> gre" then they will be gre networks. In either case, you can allocate
> provider vlan and gre networks.
>
> Also, I noticed that your ranges of vlan tags on the two physical
> networks don't overlap. Note that you can re-use the same vlan tags on
> distinct physical networks for distinct virtual networks (assuming the
> physical networks aren't the same network).
>
> -Bob
>
> --
> You received this question notification because you are an answer
> contact for quantum.
>

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira, Inc: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Revision history for this message
Miguel Lavalle (minsel) said :
#4

Dan, Bob,

Thanks for the quick response :-)