6.7
Static Routes
Static routes provide a way of entering custom entries in the internal routing table of the router.
Field name
Value
Explanation
1. Interface
LAN/WAN/PPP/WAN2 The zone where the ‘Target’ resides
2. Target
IP address
The source of the traffic.
3. Netmask
IP mask
Mask that is applied to the Target to determine to what actual IP
addresses the routing rule applies
4. Gateway
IP address
To where the router should send all the traffic that applies to the
rule
5. Metric
integer
Used as a sorting measure. If a packet about to be routed fits two
rules, the one with the higher metric is applied.
Additional note on Target & Netmask: You can define a rule that applies to a single IP like this: Target - some IP;
Netmask - 255.255.255.255. Furthermore you can define a rule that applies to a segment of IPs like this: Target – some
IP that STARTS the segment; Netmask – Netmask that defines how large the segment is. E.g.:
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 range 192.168.55.0-192.168.55.255
192.168.55.240
255.255.255.240
Applies 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
78