Ask Your Question
0

[OVS] GRE to VLAN

asked 2014-01-08 07:22:24 -0500

RHK gravatar image

updated 2014-01-22 15:12:38 -0500

Evgeny gravatar image

Hello,

I installed grizzly OVS_Multinode with (gre) network type. Now i want to make it GRE to VLAN with same version & configuration.

How to make the GRE to VLAN? what are the changes need to be done in configuration?

What is the difference between GRE & VLAN network?

Regards, Hari

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-01-08 08:25:16 -0500

RomilGupta gravatar image

updated 2014-01-08 08:26:02 -0500

Hi ,

You need to execute the following commands on CN and NN nodes:

ovs-vsctl --may-exist del-br br-tun
ovs-vsctl --may-exist add-br br-int
ovs-vsctl --may-exist add-br br-eth1 
ovs-vsctl --may-exist add-port br-eth1 eth1

After, edit the /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini on CN and NN nodes:

[OVS]
bridge_mappings = physnet1:br-eth1
tenant_network_type = vlan
network_vlan_ranges = physnet1:1000:2999
integration_bridge = br-int

Restart the neutron-plugin-openvswitch-agent

Also edit the /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini on Controller:

[OVS]
tenant_network_type = vlan
network_vlan_ranges = physnet1:1000:2999

And restart the neutron-server

Hope this will works for you !

Answering to your second question :

Basically Flat ,Flat DHCP,VLAN, GRE and VXLAN are the networking technologies or network modes in openstack. A VLAN, or virtual (logical) LAN, is a local area network with definitions that map workstations based on anything except geographic location while GRE was developed as a tunneling tool meant to carry any OSI Layer 3 protocol over an IP network. Another thing is you can create only 2^12 networks using VLAN while with GRE you can create upto 2^24 networks.

edit flag offensive delete link more

Comments

in your case eth1 belongs to back to back connection from Network Node to Compute Node?

RHK gravatar imageRHK ( 2014-01-29 22:45:48 -0500 )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: 2014-01-08 07:22:24 -0500

Seen: 699 times

Last updated: Jan 08 '14