Difference between revisions of "Template:Netoworking rut configuration example cisco gre"

From Teltonika Networks Wiki
Line 43: Line 43:
 
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 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:
  
[[File:]]
+
[[File:Networking_rutxxx_configuration_example_test_v1.png|border|class=tlt-border]]
  
 
If the ping requests are successful, congratulations, your setup works! If not, we suggest that you review all steps once more.
 
If the ping requests are successful, congratulations, your setup works! If not, we suggest that you review all steps once more.

Revision as of 19:09, 17 February 2020

Introduction

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, one of which is configured on RUTxxx router and the second one on CISCO device.

Prerequisites

You will need:

  • One RUTxxx router
  • One Cisco router
  • A PC to configure the routers
  • Both routers must have a Public Static or Public Dynamic IP addresses

Configuration scheme

RUT configuration

Networking rutxxx configuration example rut settings v1.png

  1. Enable instance.
  2. Select Tunnel source (select your WAN interface).
  3. Enter Remote endpoint IP address (CISCO WAN IP).
  4. Set MTU to 1440.
  5. Write Local GRE interface IP address (create GRE tunnel IP address or just use the same as in the example).
  6. Write Local GRE interface netmask (create GRE tunnel netmask or just use the same as in the example)

Cisco configuration

Networking rutxxx configuration example cisco settings v1.png

  1. Write GRE Tunnel Description (anything you want).
  2. Select Source (select your WAN interface).
  3. Enter Destination (RUT WAN IP).
  4. Write IP Address Of GRE Tunnel (create GRE tunnel IP address or just use the same as in the example).
  5. Write Subnet Mask (create GRE tunnel netmask or just use the same as in the example)
  6. Set MTU to 1440.

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:

Networking rutxxx configuration example test v1.png

If the ping requests are successful, congratulations, your setup works! If not, we suggest that you review all steps once more.