How to setup gre tunnel between an instance and an external node ?

asked 2015-05-27 15:43:04 -0500

spkcse gravatar image

I want to create a gre tunnel between an instance in the openstack VM and an external host connected via the internet. Is there a way that i could accomplish this?

edit retag flag offensive close merge delete


If your instances are running a linux that has vxlan support, it's probably better to use it, as it's just udp. See the ip-link man page

darragh-oreilly gravatar imagedarragh-oreilly ( 2015-05-28 12:50:11 -0500 )edit

I'm using emulab ( for my openstack deployment. Which uses vlans for the experiment isolation. I can't use vxlan on top of it. I have already tried it and go into many worse issues. Hence gre seems to be a good way to workaround that!

spkcse gravatar imagespkcse ( 2015-05-28 13:08:20 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-09-19 08:18:02 -0500

mathias gravatar image

How did you configure Security Groups not to filter GRE?

edit flag offensive delete link more

answered 2015-05-28 12:32:05 -0500

jdexter gravatar image

After a quick search on the internet there are a host of useful sites that explain how to setup a gre tunnel between to systems using linux.

edit flag offensive delete link more


I am aware of the gre tunnels in linux between two hosts. I have a GRE tunnel already in my experiment topology but between two hosts external to the openstack cloud environment. The Tunnel has to be made between external host IP and internal VM's floating IP which the VM is not aware of.

spkcse gravatar imagespkcse ( 2015-05-28 12:44:32 -0500 )edit

That doesn't work as expected, and I have tried lot of configurations with no luck! Hence I posted the question, hoping that someone might have already done that in an enterprise deployment!

spkcse gravatar imagespkcse ( 2015-05-28 12:45:20 -0500 )edit

Have you tried creating a shell proxy, then doing the tunnel through there?

jdexter gravatar imagejdexter ( 2015-05-29 13:04:11 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-05-27 15:43:04 -0500

Seen: 555 times

Last updated: Sep 19 '15