Static Routing with Teltonika Devices Configuration
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