Template:Networking rut manual routes

From Teltonika Networks Wiki
Revision as of 11:53, 8 March 2019 by Dziugas (talk | contribs) (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...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

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

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

You can also vie 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]]