Difference between revisions of "Template:Netoworking rut configuration example gre via cli"
Oscar.morao (talk | contribs) |
Oscar.morao (talk | contribs) (Created page with "==Introduction== Generic Routing Encapsulation (GRE) is a tunneling protocol that can encapsulate a wide variety of network layer protocols inside virtual point-to-point link...") |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Introduction== | ==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. | 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. | + | 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== | ==Prerequisites== | ||
Line 18: | Line 15: | ||
==Configuration scheme== | ==Configuration scheme== | ||
− | [[File: | + | [[File:Networking_rutxxx_configuration_example_gre_topology_v2.png|border|class=tlt-border|1100x1100px]] |
+ | |||
+ | ==RUT configuration== | ||
+ | |||
+ | Access to the RUTxxx via CLI or SHH. | ||
+ | <li>'''Note:''' The instructions to access are in this link https://wiki.teltonika-networks.com/view/Command_line_interfaces</li> | ||
− | + | To set up the first instance, | |
− | To set up the first instance | ||
− | + | [[File:Networking_rutxxx_configuration_example_gre_instance_v1.png|border|class=tlt-border]] | |
− | |||
− | + | Then apply the configuration presented below. | |
− | [[File: | + | [[File:Networking_rutxxx_configuration_example_rut_settings_v1.png|border|class=tlt-border]] |
− | + | #'''Enable''' instance. | |
− | + | #Select '''Tunnel source''' (select your WAN interface). | |
− | + | #Enter '''Remote endpoint IP address''' (Cisco WAN IP). | |
− | + | #Set '''MTU''' to '''1440'''. | |
+ | #Write '''Local GRE interface IP address''' (create GRE tunnel IP address or just use the same as in the example). | ||
+ | #Write '''Local GRE interface netmask''' (create GRE tunnel netmask or just use the same as in the example) | ||
+ | #Leave everything else as default and click '''Save'''. | ||
− | + | ==Cisco configuration== | |
− | + | Connect to router's '''WebUI''', go to '''VPN > GRE Tunnel''' and apply the following configuration. | |
− | + | ||
− | + | [[File:Networking_rutxxx_configuration_example_cisco_settings_v1.png|border|class=tlt-border]] | |
− | + | ||
− | + | #Write '''GRE Tunnel Description''' (anything you want). | |
− | + | #Select '''Source''' (select your WAN interface). | |
− | + | #Enter '''Destination''' (RUT WAN IP). | |
− | + | #Write '''IP Address Of GRE Tunnel''' (create GRE tunnel IP address or just use the same as in the example). | |
− | + | #Write '''Subnet Mask''' (create GRE tunnel netmask or just use the same as in the example). | |
− | + | #Set '''MTU''' to '''1440'''. | |
− | + | #Leave everything else as default and save settings. | |
− | |||
− | |||
==Testing configuration== | ==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. | + | 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:Networking_rutxxx_configuration_example_test_v1.png|border|class=tlt-border]] | |
− | |||
− | [[File: | ||
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 16:47, 11 March 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, 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
RUT configuration
Access to the RUTxxx via CLI or SHH.
To set up the first instance,
Then apply the configuration presented below.
- Enable instance.
- Select Tunnel source (select your WAN interface).
- Enter Remote endpoint IP address (Cisco WAN IP).
- Set MTU to 1440.
- Write Local GRE interface IP address (create GRE tunnel IP address or just use the same as in the example).
- Write Local GRE interface netmask (create GRE tunnel netmask or just use the same as in the example)
- Leave everything else as default and click Save.
Cisco configuration
Connect to router's WebUI, go to VPN > GRE Tunnel and apply the following configuration.
- Write GRE Tunnel Description (anything you want).
- Select Source (select your WAN interface).
- Enter Destination (RUT WAN IP).
- Write IP Address Of GRE Tunnel (create GRE tunnel IP address or just use the same as in the example).
- Write Subnet Mask (create GRE tunnel netmask or just use the same as in the example).
- Set MTU to 1440.
- Leave everything else as default and save settings.
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.