Support Center
Setting up a GRE tunnel between Linux and G806
2020-08-25

Introductions:

Generic Routing Encapsulation (GRE) is a tunneling protocol used to establish point-to-point connections between remote private networks. GRE tunnels encapsulate data packets to route other protocols over IP networks.

 

Router:

To create a new GRE Tunnel instance, go to the Interface -> Add new interface Tunnel section, enter a custom name and click the 'Add' button. A GRE instance with the given name will appear in the "GRE" list.

To create a new GRE Tunnel instance

 

To begin configuration, click the 'Edit' button located next to the instance. Refer to the figure and table below for information on the fields located in the GRE Tunnel instance configuration section.

Configuration of Generic Routing Encapsulation (GRE)

Field

Value

Descriptions

Remote Address

string; default: none

The Public IP address of the oppositeserver

Local Address

string; default: none

The Public IP address locally

Remote Tunnel Address

string; default: none

Virtual IP address of the oppositeserver

Local Tunnel Address

string; default: none

Virtual IP address the GRE Tunnel instance locally

 

Virtual machine configuration:

Set the WAN port IP address of GRE of both sides:

Set the virtual IP address the GRE Tunnel instance of both sides:

Set the virtual IP address the GRE Tunnel instance

Check the newly generated network card:

Check the newly generated network card

 

Testing the setup 

If you've followed all the steps presented above, your configuration should be finished. But as with any other setting, it is always wise to test the setup to make sure that it works properly. To check a GRE connection, login in CMD mode in one end device under the routers.

From there, you should then be able to ping the opposite instance's LAN IP and end device IP. To use a ping command, type ping <ip_address> and press the "Enter" key on your keyboard: 

Testing the setup of Generic Routing Encapsulation

Industrial loT Gateways Ranked First in China by Online Sales for Seven Consecutive Years **Data from China's Industrial IoT Gateways Market Research in 2023 by Frost & Sullivan
Subscribe
Be Honest, Do Best
Copyright © Jinan USR IOT Technology Limited All Rights Reserved. Lu ICPB No. 16015649-5/ Sitemap / Privacy Policy