Static Routing with Teltonika Devices Configuration: Difference between revisions
Keith.Mafuwe (talk | contribs) No edit summary |
Keith.Mafuwe (talk | contribs) No edit summary |
||
Line 59: | Line 59: | ||
''Important: Click Save and Apply'' | ''Important: Click Save and Apply'' | ||
[[File:R1_Traffic_Rule_Page.png|964x964px]] | |||
== RUT2 Configuration == | == RUT2 Configuration == |
Revision as of 09:01, 20 December 2024
Introduction
Static routing is a method of configuring routing paths on a network by specifying fixed routes between networking devices. Static routing is simple and does not require any overhead or specific protocols and it offers more predictable approach to routing. Static routing is best suited for small, stable networks or specific routes within larger setups. however, lacks the ability to adapt to network changes.
Configuration overview and prerequisites:
Before we begin, let's overview the configuration that we are attempting to achieve and the prerequisites that make it possible.
- 3 RUTxxx routers
- At least one end device to (PC, laptop, Smartphone or tablet) to configure the routers
Configuration topology
<< Topology to be inserted here>>
RUT1 – This device will be connected RUT2 via a point-to-point WAN connection. The WAN IP on RUT is a static private 192.168.1.1/30.
RUT2 – This device will be connected to RUT1 via a point-to-point WAN connection and RUT3 via WAN port (A LAN port is configured as WAN port in this configuration example), The WAN Port has a private Static IP 192.168.1.2/30 and the WAN2 (LAN as WAN interface) has a public IP of 192.168.3.1/30
RUT3 – This router is connected to RUT2 via a point-to-point WAN connection. The WAN IP on this device is a private static IP 192.168.3.2/30
RUT1 Configuration
The first step is to configure static Routing and firewall rules on RUT 1, to achieve this, follow these steps:
- Navigate to Network > Routing > Static Routes and click on “Add”
- Add the below IPv4 Routes:
Route: 172.16.1.0/24 via 192.168.2.2
Route: 192.168.3.0/30 via 192.168.2.2
Route 192.168.10.0/24 via 192.168.2.2
Firewall Configuration:
After configuring the static routes on RUT1, we need to add traffic rules on RUT1.
Navigate to Network > Firewall > Traffic Rules and configure the following:
- Select traffic rule type and choose “Add a new forward rule”
- Input a name for your new rule, e.g. “Allow_Pings_From_R2”
- Select “WAN” as the Source zone
- Select “LAN” as the destination zone
- Click on the “Add” button
In the Traffic rule page, do the following (and leave the rest as defaults, unless your specific configuration requires specific changes):
- Enable the rule
- Select ICMP protocol (Or any other protocol suited to your use case)
- Input your Source address (RUT2 WAN)
- Input the Destination Address (RUT 1 LAN)
- Select “Accept” as the action
Important: Click Save and Apply
RUT2 Configuration
The next step is to configure static Routing and firewall rules on RUT 2, to achieve this, follow these steps:
- First we need to configure an additional LAN port to function as a WAN port, this can be achieved by following the guideline outlined on here
- Once the additional LAN port has been configured, we need to procced and add the below routes on RUT2
- Navigate to Network > Routing > Static Routes and click on “Add”
Route 10.0.0.0/24 via 192.168.2.1
Route 192.168.10.0/24 via 192.168.3.1