Difference between revisions of "Template:Networking rut manual routes"

From Teltonika Networks Wiki
(Created page with "==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. ==A...")
 
m (Dziugas moved page Template:Networking rutxxx manual routes to Template:Networking rut manual routes without leaving a redirect)
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Template: Networking_rutos_manual_fw_disclosure
 +
| fw_version = {{#switch: {{{series}}}
 +
  | RUT2XX = {{{series}}}_R_00.01.13
 +
  | RUT850 = {{{series}}}_R_00.01.04
 +
  | RUT9XX = {{{series}}}_R_00.06.07}}
 +
}}
 
==Summary==
 
==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.
+
The <b>Routes</b> page displays the ARP table and active IPv4/IPv6 routes.
 +
 
 +
This chapter of the user manual provides an overview of the Routes page for {{{name}}} devices.
  
 
==ARP==
 
==ARP==
Line 7: Line 15:
 
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 <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 is used to maintain a correlation between each MAC address and its corresponding IP address. ARP provides the protocol rules for making this correlation and providing address conversion in both directions.
+
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:
  
When an incoming packet destined for a host machine on a particular local area network arrives at a gateway, the gateway asks the ARP program to find a physical host or MAC address that matches the IP address. The ARP program looks in the ARP cache and, if it finds the address, provides it so that the packet can be converted to the right packet length and format and sent to the machine. If no entry is found for the IP address, ARP broadcasts a request packet in a special format to all the machines on the LAN to see if one machine knows that it has that IP address associated with it. A machine that recognizes the IP address as its own returns a reply so indicating. ARP updates the ARP cache for future reference and then sends the packet to the MAC address that replied.
+
[[File:Networking_rutxxx_manual_routes_arp_v2.png]]
  
[[File:{{{file_arp}}}]]
+
<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 vie the ARP cache via shell using the <b>arp</b> or <b>ip neigh</b> commands, depending on which output your prefer:
+
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>
 
  root@Teltonika-{{{name}}}:~# <b>arp</b>
Line 24: Line 55:
 
  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.
 +
 +
The figure below is an example of the Active IP routes section:
 +
 +
[[File:Networking_rutxxx_manual_routes_active_ip_routes_v1.png]]
 +
 +
<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>
  
==Active IP routes==
 
  
[[File:{{{file_ipv4_routes}}}]]
+
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.1.179.213 dev wwan0
 +
10.1.179.208/29 dev wwan0  proto static  scope link  metric 10
 +
10.1.179.213 dev wwan0  proto static  scope link  src 10.1.179.212  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==
  
[[File:{{{file_ipv6_routes}}}]]
+
The <b>Active IPv6 routes</b> section displays the router's IPv6 routing table.
 +
 
 +
The figure below is an example of the Active IPv6 routes section:
 +
 
 +
[[File:Networking_rutxxx_manual_routes_active_ipv6_routes_v1.png]]
 +
 
 +
<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>IP gateway</td>
 +
        <td>ip6; default: <b>none</b></td>
 +
        <td>Indicates the IPv6 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 -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>
 +
fe80::/64 dev wwan0  proto kernel  metric 256
  
[[Category:{{{name}}} WebUI]]
+
[[Category:{{{name}}} Status section]]

Revision as of 15:42, 17 November 2020

Template:Networking rutos manual fw disclosure

Summary

The Routes page displays the ARP table and active IPv4/IPv6 routes.

This chapter of the user manual provides an overview of the Routes page for {{{name}}} devices.

ARP

The Address Resolution Protocol (ARP) 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 ARP cache (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:

Networking rutxxx manual routes arp v2.png

Field name Value Description
IP address ip; default: none IP address of a local host.
MAC address mac; default: none MAC address of a local host.
Interface string; default: none Interface through which the router is associated with the host.

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

root@Teltonika-{{{name}}}:~# arp
IP address       HW type     Flags       HW address            Mask     Device
192.168.1.103    0x1         0x2         ac:e2:d3:00:00:00     *        br-lan
192.168.1.151    0x1         0x2         18:d6:c7:00:00:00     *        br-lan
root@Teltonika-{{{name}}}:~# ip neigh
192.168.1.103 dev br-lan lladdr ac:e2:d3:00:00:00 REACHABLE
192.168.1.151 dev br-lan lladdr 18:d6:c7:00:00:00 REACHABLE

Active IP routes

The Active IP routes section displays the router's routing table. 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:

Networking rutxxx manual routes active ip routes v1.png

Field name Value Description
Network string; default: none Associated network interface name.
Target ip | ip/netmask; default: none Destination network address.
IP gateway ip; default: none Indicates the IP address of the gateway through which the target network can be reached.
Metric integer [0..4,294,967,295]; default: none 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.


You can also view the routing table via shell using the route or ip route commands, depending on which output your prefer:

root@Teltonika-{{{name}}}:~# route
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}}}:~# ip route
default via 10.1.179.213 dev wwan0
10.1.179.208/29 dev wwan0  proto static  scope link  metric 10
10.1.179.213 dev wwan0  proto static  scope link  src 10.1.179.212  metric 10
192.168.1.0/24 dev br-lan  proto kernel  scope link  src 192.168.1.1

Active IPv6 routes

The Active IPv6 routes section displays the router's IPv6 routing table.

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

Networking rutxxx manual routes active ipv6 routes v1.png

Field name Value Description
Network string; default: none Associated network interface name.
Target ip6 | ip6/netmask; default: none Destination network address.
IP gateway ip6; default: none Indicates the IPv6 address of the gateway through which the target network can be reached.
Metric integer [0..4,294,967,295]; default: none 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.

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

root@Teltonika-{{{name}}}:~# ip -6 route
fe80::/64 dev wwan0  proto kernel  metric 256

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