Difference between revisions of "Template:Netoworking rut configuration example gre via cli"
Oscar.morao (talk | contribs) |
Oscar.morao (talk | contribs) |
||
Line 26: | Line 26: | ||
[[File:Netoworking rut configuration example gre via cli 02.png|border]] | [[File:Netoworking rut configuration example gre via cli 02.png|border]] | ||
<li>Configuring GRE Tunnel</li> | <li>Configuring GRE Tunnel</li> | ||
− | <div>GRE Tunnel configuration | + | <div>GRE Tunnel configuration should be written in the file '''/etc/config/network'''. Use the '''vi''' command to access and edit according the following configuration.</div> |
</ul> | </ul> | ||
− | Access to the RUTxxx via CLI or SHH. | + | Access to the RUTxxx via CLI or SHH. '''Note:''' The instructions to remote access are in this link https://wiki.teltonika-networks.com/view/Command_line_interfaces |
− | |||
+ | Since you access to the SSH or CLI, write '''vi /etc/config/network''', then click on the '''i''' letter and navigate to the end of the file. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Testing configuration== | ==Testing configuration== |
Revision as of 00:11, 13 March 2020
Introduction
The information in this page is updated in accordance with the [[Media:{{{fw_version}}}_WEBUI.bin|{{{fw_version}}}]] firmware version.
Generic Routing Encapsulation (GRE) is a tunneling protocol that can encapsulate a wide variety of network layer protocols inside virtual point-to-point links over an Internet Protocol network.
This article provides an extensive configuration example with details on how to create a tunnel connection between two GRE Tunnel instances, configured on two RUTxxx router devices.
Prerequisites
You will need:
- Two RUTxxx routers
- A PC to configure the routers
- Both routers must have a Public Static or Public Dynamic IP addresses
Configuration scheme
[[File:Networking_{{{name}}}_configuration_examples_gre_via_cli_scheme_v1.png|border|class=tlt-border|1100px]]
RUT 1 Configuration
To set up the first instance we have to check the subnet LAN interface and the GRE config file.
- Configuring the LAN interface.
- Configuring GRE Tunnel
Access to the RUTxxx via CLI or SHH. Note: The instructions to remote access are in this link https://wiki.teltonika-networks.com/view/Command_line_interfaces
Since you access to the SSH or CLI, write vi /etc/config/network, then click on the i letter and navigate to the end of the file.
Testing configuration
If you've followed all the steps presented above, your configuration should be finished. But as with any other configuration, it is always wise to test the setup in order to make sure that it works properly. In order to test the GRE Tunnel connection, login to RUT WebUI and go to Services → CLI. Login with user name: root and the router's admin password. From there you should then be able to ping the opposite instance's virtual IP address. To use a ping command, type ping <ip_address> and press the "Enter" key on your keyboard:
If the ping requests are successful, congratulations, your setup works! If not, we suggest that you review all steps once more.