Difference between revisions of "GRE Tunnels"

From CityLab Testbed
Jump to navigation Jump to search
(Created page with "At this point, it is not possible to ''automatically'' create links between nodes of the CityLab testbed using the JFed interface. Fixing this issue is at the very top of our...")
 
Line 2: Line 2:
 
Fixing this issue is at the very top of our TODO list, but because of external factors beyond our control we are currently not able to commit to any particular deadline.
 
Fixing this issue is at the very top of our TODO list, but because of external factors beyond our control we are currently not able to commit to any particular deadline.
  
As a workaround it '''is''' possible to create these links ''manually'' (once the test is running and all the nodes have started). A number of [[:File:Gre-utils.tar.gz | scripts]] are provided to make this as simple as possible. How these scripts can be used is explained below.
+
As a workaround it '''is''' possible to manually create links between nodes, once the test is running. This is done by establishing [https://en.wikipedia.org/wiki/Generic_Routing_Encapsulation GRE]-tunnels between the nodes over the management interface. Once a tunnel has been established, it can be used just like any other Ethernet-interface except that it has a slightly lower MTU.
 +
 
 +
A number of [[:File:Gre-utils.tar.gz | scripts]] are provided to make this as easy as possible to create and manage these tunnels.
  
 
== Preparation ==
 
== Preparation ==
  
 
+
<code>wget -O- https://doc.lab.cityofthings.eu/w/images/9/93/Gre-utils.tar.gz | sudo tar -C / -xvf -</code>
 
 
  
 
== Creating a link between two nodes ==
 
== Creating a link between two nodes ==
  
 
== Creating a link between three or more nodes ==
 
== Creating a link between three or more nodes ==

Revision as of 09:15, 8 March 2018

At this point, it is not possible to automatically create links between nodes of the CityLab testbed using the JFed interface. Fixing this issue is at the very top of our TODO list, but because of external factors beyond our control we are currently not able to commit to any particular deadline.

As a workaround it is possible to manually create links between nodes, once the test is running. This is done by establishing GRE-tunnels between the nodes over the management interface. Once a tunnel has been established, it can be used just like any other Ethernet-interface except that it has a slightly lower MTU.

A number of scripts are provided to make this as easy as possible to create and manage these tunnels.

Preparation

wget -O- https://doc.lab.cityofthings.eu/w/images/9/93/Gre-utils.tar.gz | sudo tar -C / -xvf -

Creating a link between two nodes

Creating a link between three or more nodes