Ask Your Question
0

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

asked 2013-01-08 18:09:25 -0600

minsel gravatar image

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

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2013-01-08 18:55:31 -0600

danwent gravatar image

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 < question218658@answers.launchpad.net > wrote:

New question #218658 on quantum: https://answers.launchpad.net/quantum/+question/218658 (https://answers.launchpad.net/quantum...)

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: http://www.nicira.com twitter: danwendlandt ~~~~~~~~~~~~~~~~~~~~~~~~~~~

edit flag offensive delete link more
0

answered 2013-01-08 21:08:57 -0600

rkukura gravatar image

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

edit flag offensive delete link more
0

answered 2013-01-08 21:26:15 -0600

danwent gravatar image

Good point Bob, I was wrong about the default.

dan

On Tue, Jan 8, 2013 at 1:11 PM, Robert Kukura < question218658@answers.launchpad.net > wrote:

Question #218658 on quantum changed: https://answers.launchpad.net/quantum/+question/218658 (https://answers.launchpad.net/quantum...)

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: http://www.nicira.com twitter: danwendlandt ~~~~~~~~~~~~~~~~~~~~~~~~~~~

edit flag offensive delete link more
0

answered 2013-01-08 23:09:37 -0600

minsel gravatar image

Dan, Bob,

Thanks for the quick response :-)

edit flag offensive delete link more

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: 2013-01-08 18:09:25 -0600

Seen: 33 times

Last updated: Jan 08 '13