Changes

no edit summary
Line 47: Line 47:  
  192.168.1.151 dev br-lan lladdr 18:d6:c7:00:00:00 REACHABLE
 
  192.168.1.151 dev br-lan lladdr 18:d6:c7:00:00:00 REACHABLE
    +
==Active IP routes==
 +
 +
The <b>Active IP routes</b> section displays the router's <b>routing table</b>. A routing table contains a list of routes to network destinations associated with and known by the router.
   −
==Active IP routes==
+
The figure below is an example of the Active IP routes section:
    
[[File:{{{file_ipv4_routes}}}]]
 
[[File:{{{file_ipv4_routes}}}]]
 +
 +
<table class="nd-mantable">
 +
    <tr>
 +
        <th>Field name</th>
 +
        <th>Value</th>
 +
        <th>Description</th>
 +
    </tr>
 +
    <tr>
 +
        <td>Network</td>
 +
        <td>string; Default: <b>none</b></td>
 +
        <td>Associated network interface name</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Target</td>
 +
        <td>ip | ip/netmask; Default: <b>none</b></td>
 +
        <td>Destination network address</td>
 +
    </tr>
 +
    <tr>
 +
        <td>IP gateway</td>
 +
        <td>ip; Default: <b>none</b></td>
 +
        <td>Indicates the IP address of the gateway through which the target network can be reached</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Metric</td>
 +
        <td>integer [0..4,294,967,295]; Default: <b>none</b></td>
 +
        <td>Metrics help the router choose the best route among multiple feasible routes to a destination. The route will go in the direction of the gateway with the lowest metric value</td>
 +
    </tr>
 +
</table>
 +
 +
You can also view the routing table via shell using the <b>route</b> or <b>ip route</b> commands, depending on which output your prefer:
 +
 +
root@Teltonika-{{{name}}}:~# <b>route</b>
 +
Kernel IP routing table
 +
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
 +
default        10.1.179.213    0.0.0.0        UG    0      0        0 wwan0
 +
10.1.179.208    *              255.255.255.248 U    10    0        0 wwan0
 +
10.1.179.213    *              255.255.255.255 UH    10    0        0 wwan0
 +
192.168.1.0    *              255.255.255.0  U    0      0        0 br-lan
 +
 +
root@Teltonika-{{{name}}}:~# <b>ip route</b>
 +
default via 10.20.158.48 dev wwan0
 +
10.1.179.208/29 dev wwan0  proto static  scope link  metric 10
 +
10.1.179.103 dev wwan0  proto static  scope link  src 10.20.158.47  metric 10
 +
192.168.1.0/24 dev br-lan  proto kernel  scope link  src 192.168.1.1
    
==Active IPv6 routes==
 
==Active IPv6 routes==

Navigation menu