Changes

Created page with "{{Template: Networking_device_manual_fw_disclosure | series = {{{series}}} | name = {{{name}}} | fw_version ={{Template: Networking_device_manual_latest_fw | series = {{{se..."
{{Template: Networking_device_manual_fw_disclosure
| series = {{{series}}}
| name = {{{name}}}
| fw_version ={{Template: Networking_device_manual_latest_fw
| series = {{{series}}}
| name = {{{name}}}
}}
}}
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} Routes (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_device_manual_latest_fw | series = RUT9XX}} and earlier) user manual page.</i>|}}
{{#ifeq: {{{series}}} | RUT2 |<br><i><b>Note</b>: <b>[[{{{name}}} Routes (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_device_manual_latest_fw | series = RUT2XX}} and earlier) user manual page.</i>|}}
==Summary==

The <b>Routes</b> page displays the router's ARP table and active IPv4 and IPv6 routes. This chapter is an overview of the Routes page of {{{name}}} routers.

{{Template:Networking_rutos_manual_basic_advanced_webui_disclaimer
| series = {{{series}}}
}}
==General Routes==

===ARP===
----

The <b>Address Resolution Protocol</b> (<b>ARP</b>) is a communication protocol used for mapping an Internet Protocol address (IP address) to a physical machine's link layer address (MAC address) belonging to the local network.

The ARP section displays the router's <b>ARP cache</b> (also known as ARP table) data. The ARP cache contains information on each known MAC address and its corresponding IP address. When the router receives a packet destined for a local host, the ARP program attempts to find a physical host or MAC address in the ARP cache that matches the IP address. If the ARP cache doesn't contain the needed IP address, ARP broadcasts a request packet to all LAN machines in order to find the device with the IP address in question.

The figure below is an example of the ARP cache section:

[[File:Networking_rutx_manual_routes_arp_v2.png]]

<table class="nd-mantable">
<tr>
<th>Field name</th>
<th>Value</th>
<th>Description</th>
</tr>
<tr>
<td>IP address</td>
<td>ip; Default: <b>none</b></td>
<td>IP address of a local host.</td>
</tr>
<tr>
<td>MAC address</td>
<td>mac; Default: <b>none</b></td>
<td>MAC address of a local host.</td>
</tr>
<tr>
<td>Interface</td>
<td>string; Default: <b>none</b></td>
<td>Interface through which the router is associated with the host.</td>
</tr>
</table>

You can also view the ARP cache via shell using the <b>arp</b> or <b>ip neigh</b> commands, depending on which output your prefer:

root@Teltonika-{{{name}}}:~# <b>arp</b>
IP address HW type Flags HW address Mask Device
192.168.1.151 0x1 0x2 18:d6:c7:00:00:00 * br-lan

root@Teltonika-{{{name}}}:~# <b>ip neigh</b>
192.168.1.151 dev br-lan lladdr 18:d6:c7:00:00:00 REACHABLE

===IPv4 Routes===
----

The <b>IPv4 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.

The figure below is an example of the Active IP routes section:

{{#switch: {{{series}}}
| RUTX =
{{#switch: {{{name}}}
| RUTX08 | RUTX10 = [[File:Networking_rutx08_rutx10_manual_routes_ipv4_routes_v2.png|border|class=tlt-border ]]
| RUTX09 | RUTX11 | RUTX12 | RUTX14 | RUTXR1 | RUTX50 = [[File:Networking_rutx09_rutx11_manual_routes_ipv4_routes_v2.png|border|class=tlt-border ]]
}}
| RUTM =
{{#switch: {{{name}}}
| RUTM08 | RUTM10 = [[File:Networking_rutx08_rutx10_manual_routes_ipv4_routes_v2.png|border|class=tlt-border ]]
| RUTM09 | RUTM11 | RUTM12 | RUTM50 | RUTM51 = [[File:Networking_rutx09_rutx11_manual_routes_ipv4_routes_v2.png|border|class=tlt-border ]]
}}
| RUT14X = [[File:Networking_rutx08_rutx10_manual_routes_ipv4_routes_v2.png|border|class=tlt-border ]]
| TRB1 = [[File:Networking_trb14x_manual_routes_ipv4_routes.png|border|class=tlt-border ]]
| TRB2 | RUT9 = [[File:Networking_trb2xx_manual_routes_ipv4_routes.png|border|class=tlt-border ]]
| #default = [[File:Networking_rutx09_rutx11_manual_routes_ipv4_routes_v2.png|border|class=tlt-border ]]
}}

<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>IPv4 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>
<tr>
<td>Table</td>
<td>string | integer; Default: <b>none</b></td>
<td>Name or number of the associated routing table.</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 192.168.2.1 0.0.0.0 UG 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan


root@Teltonika-{{{name}}}:~# <b>ip route</b>
default via 192.168.2.1 dev eth1
192.168.1.0/24 dev br-lan proto kernel scope link src 192.168.1.1

===IPv6 routes===
----
The <b>IPv6 Routes</b> section displays the router's IPv6 routing table.

The figure below is an example of the IPv6 routes section:

[[File:Networking_rutos_manual_routes_active_ipv6_routes_v1.png|border|class=tlt-border ]]

<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>ip6 | ip6/netmask; Default: <b>none</b></td>
<td>Destination network address.</td>
</tr>
<tr>
<td>IPv6-Gateway</td>
<td>ip6 | ip6/netmask; Default: <b>none</b></td>
<td>Source of the network address.</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>
<tr>
<td>Table</td>
<td>string | integer; Default: <b>none</b></td>
<td>Name or number of the associated routing table.</td>
</tr>
</table>

You can also view the routing table via shell using the <b>route -A inet6</b> or <b>ip -6 route show</b> commands, depending on which output your prefer:

root@Teltonika-{{{name}}}:~# <b>ip -6 route</b>
fdb2:7fc0:b88f::/64 dev br-lan proto static metric 1024
ff00::/8 dev eth1 proto kernel metric 256
ff00::/8 dev br-lan proto kernel metric 256
ff00::/8 dev ath1 proto kernel metric 256

===IPv6 Neighbours===
----

The <b>IPv6 Neighbours</b> section displays IPv6 associated neighbours.

The figure below is an example of the Active IPv6 Neighbours section:

[[File:Networking_rutx_manual_routes_ipv6_neighbours_v1.png]]

<table class="nd-mantable">
<tr>
<th>Field name</th>
<th>Value</th>
<th>Description</th>
</tr>
<tr>
<td>IPv6 Address</td>
<td>ip6; Default: <b>none</b></td>
<td>IPv6 address of the associated neighbour.</td>
</tr>
<tr>
<td>MAC Address</td>
<td>ip6; Default: <b>none</b></td>
<td>MAC address of the associated neighbour.</td>
</tr>
<tr>
<td>Interface</td>
<td>string; Default: <b>none</b></td>
<td>Name of the associated network interface.</td>
</tr>
</table>

==Dynamic routes==

The <b>Dynamic routes</b> page contains multiple sections, each of which displays the routing data of a Dynamic Routing protocol supported by the device. Data is only displayed once a protocol is configured and enabled. Else, each section is empty.

[[File:Networking_rutx_manual_routes_dynamic_routes_v1.png]]


[[Category:{{{name}}} Status section]]