Template:Networking rut manual routes: Difference between revisions
(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...") |
No edit summary |
||
Line 7: | Line 7: | ||
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 | 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:{{{file_arp}}}]] | [[File:{{{file_arp}}}]] | ||
You can also | 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> |
Revision as of 13:43, 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}}}]]
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]]