Routing

From Teltonika Networks Wiki

Summary

This chapter is an overview of the Routing section in RUT devices.

Static Leases

Static routes specify over which interface and gateway a certain host or network can be reached. In this page you can configure your own custom routes.


Network routing static routes.PNG

Field name Value Description
Routing table Main | WAN | WAN2 | WAN3; Default: WAN Defines which table will be used for the route in question
Interface LAN | WAN(wired) | WAN2(Mobile) | WAN3(WiFi) | VPN instances; Default: WAN(wired) The zone where the target network resides
Destination address* ip; Default: 0.0.0.0 The address of the destination network
Netmask* ip; Default: 0.0.0.0 A Mask that is applied to the Target to determine to what actual IP addresses the routing rule applies
Gateway ip; Default: " " Defines where the router should send all the traffic that applies to the rule
Metric integer; Default: 0 A Metric is used as a sorting measure. If a packet about to be routed fits two rules, the one with the higher metric is applied

*Additional notes on Destination & Netmask:

You can define a rule that applies to a single IP like this: Destination - some IP; Netmask - 255.255.255.255. Furthermore, you can define a rule that applies to a segment of IPs like this: Destination – some IP that STARTS some segment; Netmask – Netmask that defines how large the segment is. e.g.:

IP Netmask Description
192.168.55.161 255.255.255.255 Only applies to 192.168.55.161
192.168.55.0 255.255.255.0 Applies to IPs in the 192.168.55.0 - 192.168.55.255 range
192.168.55.240 255.255.255.240 192.168.55.240 - 192.168.55.255
192.168.55.161 255.255.255.0 192.168.55.0 - 192.168.55.255
192.168.0.0 255.255.0.0 192.168.0.0 - 192.168.255.255

Static ARP entries

Static ARP entries are used to bind a MAC address to a specific IP address. For example, if you want a device to get the same IP every time it connects to the router, you can create a Static ARP entry by binding that device’s MAC address to the desired IP address. The router will then create an entry in the ARP table, which in turn will make sure that that device will get the specified IP address every time.

[[[Image:Network routing static routes static arp entries.PNG]]

Dynamic Routes

This section is still in the making.