Link-Layer Resolution of a Network Next Hop
Translate a selected next-hop address into a local link destination and distinguish on-link delivery from sending through a router.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Resolve the next hop, not every remote destination
If the forwarding table says a destination is reached through a router on the local link, the frame must target that router’s link address. The packet retains its network-layer destination for forwarding beyond the first link. For an on-link destination, resolution can instead target the destination itself. IPv4 ARP and IPv6 Neighbor Discovery provide related mechanisms with different protocol details.
Cache entries need validity and refresh rules
Retaining recent mappings avoids repeating local resolution for every packet. A stale mapping can disrupt delivery until its state is refreshed, so implementations track lifetimes or reachability. An unresolved packet may wait only within a bounded queue. Prefix lookup provides the next-hop choice. Packet delay accounts for waiting before first delivery, including resolution time.[1]