Template:Networking rut manual routes: Difference between revisions

From Teltonika Networks Wiki
No edit summary
No edit summary
Line 12: Line 12:


[[File:{{{file_arp}}}]]
[[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 view 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:

Revision as of 13:47, 8 March 2019

Summary

The Routes 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.

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:

[[File:{{{file_arp}}}]]

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

[[File:{{{file_ipv4_routes}}}]]

Active IPv6 routes

[[File:{{{file_ipv6_routes}}}]]

[[Category:{{{name}}} WebUI]]