Router – ARP packet’s destination IP sent by routers

arprouter

I figured out that ARP table for hosts is a little bit different from those for routers.
Routers ARP table only map MAC addresses to IP addresses belonging to the subnets witch router is connected to with its interfaces.
for example if router is connected to 2 subnets: 200.1.1.0 255.255.255.0 and 200.1.2.0 255.255.255.0, you can only find IPs 200.1.1.xxx and 200.1.2.xxx in its ARP table whereas in hosts you can find every possible IP address.

My question is: when a router is forwarding a packet if it needs to find MAC address of next-hop, which IP will fill the destination IP of ARP packet?
next-hop IP or Original packets destination IP?

Best Answer

Routers doesn't do arp for each packet they forward, instead they rely on the routing table (or fib table for cef) in order to find the correct gateway for each destination. They only do arp for gateway addresses for the very first packet or when entries are removed from arp table due to aging.