Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Next hop

Direct answer

The RIB next hop is not necessarily the final Layer-2 neighbor shown in the FIB. Recursive routes can point to another routed address that must itself resolve until a connected adjacency is reached.

When to use this

Use it when a route is present but traffic is unresolved, static/BGP recursion fails, or RIB and CEF output appear to show different next-hop information.

First 30 seconds

1. The next hop must be resolvable via a connected or recursive route.

2. Recursive lookups resolve to an exit interface.

3. Unresolvable next hops are not installed.

4. Check ARP for the next hop.

5. Static routes to unreachable next hops stay in RIB if exit interface specified.

Operational verification

route → next hop → recursive resolution → exit interface → ARP

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Scope / prerequisiteUse it when a route is present but traffic is unresolved, static/BGP recursion fails, or RIB and CEF output appear to s…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational verification and known-good state Verify boundary

Perform an exact route lookup for the failing destination and write down its selected next hop. Lookup that next-hop address in the same VRF, repeating until a connected prefix is reached. Verify the corresponding interface is operational and the neighbor resolves in ARP/ND, then inspect CEF/FIB for the original destination. If ECMP exists, validate every programmed next hop, not just the first. Finally send the original traffic and confirm the return path. This chain distinguishes a control-plane route from a forwarding-ready adjacency.

Step 2 Failure signatures and troubleshooting branches Narrow the fault

A route can appear in the RIB while its next-hop adjacency is unresolved or gleaning, causing drops. Recursive next-hop changes can invalidate many dependent routes at once. Wrong VRF resolution, a missing connected route, incomplete ARP/ND or a recursive loop are common signatures. If the next hop resolves but traffic still fails, move to interface counters, MTU, policy and remote routing. Do not replace a recursive next hop with an exit interface blindly on multi-access networks; that can change ARP behavior and scalability.

Step 3 When the problem is really fixed Narrow the fault

Re-run the original destination lookup and demonstrate the full chain from selected RIB next hop through recursive dependencies to a stable ARP/ND adjacency and correct FIB egress. Test the original workload plus another destination sharing the recursive next hop to detect broader impact. If ECMP is used, exercise multiple flows. Captured RIB/FIB/neighbor output may become Evidence separately; the Topic itself does not claim the next hop is currently reachable.

Step 4 Common mistakes Narrow the fault
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

Route existence ≠ next-hop reachability ≠ adjacency. Follow recursion to the connected interface and ARP/ND entry; also keep VRF/table context consistent.

Key checks
  • show ip route <prefix> — via next hop
  • show ip cef <prefix> — resolved next hop and interface
  • ping <next-hop> — reachable
ReferenceHow it works1 section · depth on demand

Quick reference

The next hop is the IP address of the neighbor router that a route sends traffic to. The router must resolve the next hop to an outgoing interface (recursive lookup if needed) and to a Layer 2 address (ARP/ND) before forwarding.

Next hop issueEffect
Not reachableRoute not installed (or unusable for BGP)
Resolves via a default routePossible recursive routing problems
ARP incompleteRoute installed, forwarding fails
show ip route 10.60.0.0
show ip cef 10.60.0.0 detail
show ip arp 10.0.0.2

Documented example, not captured output.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Next hop: where the packet goes next

The next hop is the address of the neighbouring router a packet is sent to. Static routes name it directly in ip route ... {ip-address | interface} (Cisco IOS XE routing guide); dynamic protocols learn it from neighbours. The router then needs the outgoing interface and the next hop's MAC address before it can forward.

R1# show ip route 10.50.1.10
Routing entry for 10.50.0.0/16
  Known via "static", distance 1, metric 0
  Routing Descriptor Blocks:
  * 10.0.12.2
      Route metric is 0, traffic share count is 1
R1# show ip route 10.0.12.2
Routing entry for 10.0.12.0/30
  Known via "connected", distance 0, metric 0 (connected, via interface)
R1# show ip arp 10.0.12.2
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  10.0.12.2              12   a4bb.6d20.1201  ARPA   GigabitEthernet0/0/1

The static route gives a next hop; a second lookup (recursion) finds that 10.0.12.2 is on a connected subnet, and ARP supplies the MAC address.

Next-hop types

TypeExampleNotes
Directly connected neighbourOSPF, EIGRP, eBGP next hopsResolved through the connected route
Recursive next hopiBGP next hop (a loopback in another part of the network)Needs an IGP route to reach it
Exit interface without next hopip route 10.60.0.0 255.255.0.0 GigabitEthernet0/0/1Router ARPs for each destination on Ethernet
Null0Summary discard routesPackets dropped

When a next hop is invalid (routing guide)

Static routes are removed from the table when there's no valid next hop or the interface goes down. A next hop that's reachable but not responding (an upstream fault) doesn't remove a static route; use tracking.

ECMP

When several equal routes exist, the entry lists several next hops, and CEF load-shares across them per flow.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Mechanics and state ownership

Many routes store a next-hop IP address rather than a directly attached destination. The router recursively resolves that next hop through the routing table until it reaches an outgoing interface and a directly reachable neighbor, at which point ARP for IPv4 or Neighbor Discovery for IPv6 can produce a data-link adjacency. Some platforms optimize or flatten this into CEF/FIB structures, so the forwarding display may show an adjacency that differs from the first next-hop address printed in the RIB. VRFs and recursive dependencies are critical: resolution must occur in the correct table and circular or missing dependencies prevent usable forwarding.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Routing → Routing Table → Next hop. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Embedded reference data

Quick lookup tables

Next hop operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

CheckKnown-goodFailure signatureNext boundary
RIB next hopSelected address knownUnexpected next hopRoute selection
RecursionResolves in same VRFMissing/looping dependencyRIB
Connected edgeUsable outgoing interfaceInterface/prefix absentLocal routing
ARP/NDNeighbor completeIncomplete/failedL2 adjacency
FIBProgrammed usable adjacencyDrop/unresolvedForwarding plane
Confirmation

Confirm action

Continue?