Ask Your Question

what are the benefits if i change tenant network types from gre to vxlan in openstack neutron

asked 2016-07-07 08:06:03 -0500

billy gravatar image

in my lab i have 5 node( 3 compute node) open stack environment all my computes nodes are communicating with neutron using gre tunnel types . i curios to know if i change layer 2 tenant network type from gre to vxlan what are the benefits when it comes to big farm (i mean more than 2000 compute nodes) is it feasible to use GRE protocol in production environment ?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2016-07-07 08:33:03 -0500

dbaxps gravatar image


While GRE and VXLAN seem like equivalent encapsulation methods there is a subtle difference which can impact your deployment if you’re utilizing equal-cost multi-path (ECMP) routing.  VXLAN utilizes UDP, so nearly all routers properly distribute traffic to the next hop by hashing over the 5 tuple that include the UDP source and destination ports.  

GRE tunneling is a bit different since IP packets do not contain the information necessary to construct a 5-tuple hash.  How the router selects the path for a GRE packet is largely dependent on the hardware as some routers will use the GRE tunnel key to help create the hash.  If you intend to utilize ECMP in the underlay with GRE, it is important to select hardware that supports both otherwise you might not get the performance and utilization you expect.
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


Asked: 2016-07-07 08:06:03 -0500

Seen: 241 times

Last updated: Jul 07 '16