<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/arp-and-static-routes-ipspace-net-blog-obryjx7iw" -->

---
title: ARP and Static Routes « ipSpace.net blog | daily.dev
description: A hands-on exploration of how routers use ARP to resolve MAC addresses for different types of static route configurations. Using a virtual lab with two Linux...
canonical: https://daily.dev/posts/arp-and-static-routes-ipspace-net-blog-obryjx7iw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: ARP and Static Routes « ipSpace.net blog | daily.dev
og:description: A hands-on exploration of how routers use ARP to resolve MAC addresses for different types of static route configurations. Using a virtual lab with two Linux...
og:url: https://daily.dev/posts/arp-and-static-routes-ipspace-net-blog-obryjx7iw
og:image: https://api.daily.dev/og/posts/obryJX7iw.png
og:image:alt: ARP and Static Routes « ipSpace.net blog
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ARP and Static Routes « ipSpace.net blog

**[ipSpace.net Blog](https://daily.dev/sources/ipspace)** · 7 min read · 0 upvotes · 0 comments

## Summary

A hands-on exploration of how routers use ARP to resolve MAC addresses for different types of static route configurations. Using a virtual lab with two Linux hosts and an Arista vEOS switch, the post covers three static route scenarios: next-hop-only routes, interface-only routes (on unnumbered links), and combined interface+next-hop routes. It demonstrates how Arista EOS handles recursive next-hop resolution, what happens when a next hop is not in the routing table (route marked with '%', not installed in kernel), and how Cisco IOS-XE rejects ARP replies for such routes as 'wrong cable'. A bonus 'Baron Munchausen' trick shows that a static route's next hop can be within the same prefix it defines, and still work correctly on EOS.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.ipspace.net/2023/08/arp-static-routes>

## Questions this post answers

### What source IP does Arista EOS use in ARP requests when a static route points to an unnumbered interface?

When a static route points to an unnumbered interface on Arista EOS, the router sends an ARP request using the IP address of the loopback interface that is loaning its address to the outgoing interface. For example, with a route like 'ip route 10.1.0.5/32 ethernet 2', the ARP request shows 'who-has 10.1.0.5 tell 10.0.0.1', where 10.0.0.1 is the loopback address assigned to the unnumbered interface.

_Network engineers configuring unnumbered interfaces track ARP quirks like this on daily.dev._

### What happens on Arista EOS when a static route has a next hop that is not in the routing table?

Arista EOS accepts the static route configuration but does not install it in the Linux kernel routing table, marking it with a '%' symbol in 'show ip route' output along with a warning that some routes are not programmed in the kernel. EOS still attempts ARP resolution for the next hop, but because the route is absent from the kernel table, locally generated traffic (e.g., ping) does not work, though ASIC-forwarded packets might still be forwarded.

_Engineers troubleshooting static route installation issues on Arista EOS find edge cases like this on daily.dev._

### Can a static route's next hop be within the same IP prefix the route defines on Arista EOS?

Yes, on Arista EOS a static route's next hop can fall within the same prefix it defines — for example, 'ip route 10.1.0.5/32 ethernet 2 10.1.0.5'. This is technically equivalent to specifying only the outgoing interface without a next hop, so EOS installs it as a directly connected route in both the EOS routing table and the underlying Linux kernel, and connectivity works normally.

_Networking engineers exploring Arista EOS routing behavior find practical lab results like this on daily.dev._

## Similar posts on daily.dev

- [The Never-Ending IPv6 Loopback Prefix Saga « ipSpace.net blog](https://daily.dev/posts/the-never-ending-ipv6-loopback-prefix-saga-ipspace-net-blog-4nlhgh10l) · ipSpace.net Blog · 0 upvotes · 0 comments

---

Tags: [#networking](https://daily.dev/tags/networking)

[View this post on daily.dev](https://daily.dev/posts/arp-and-static-routes-ipspace-net-blog-obryjx7iw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"ARP and Static Routes « ipSpace.net blog","url":"https://daily.dev/posts/arp-and-static-routes-ipspace-net-blog-obryjx7iw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/arp-and-static-routes-ipspace-net-blog-obryjx7iw"},"datePublished":"2026-08-11T08:52:55.555Z","dateModified":"2026-08-11T09:04:48.817Z","description":"A hands-on exploration of how routers use ARP to resolve MAC addresses for different types of static route configurations. Using a virtual lab with two Linux...","image":"https://media.daily.dev/image/upload/s--0_ODbtD2--/f_auto/v1722860399/public/Placeholder%2008","thumbnailUrl":"https://media.daily.dev/image/upload/s--0_ODbtD2--/f_auto/v1722860399/public/Placeholder%2008","isAccessibleForFree":true,"articleSection":"ipSpace.net Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ipSpace.net Blog","logo":"https://media.daily.dev/image/upload/s--xS7E82MT--/f_auto,q_auto/v1786438303/logos/ipspace?_a=BAMAMicg0","url":"https://daily.dev/sources/ipspace"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/arp-and-static-routes-ipspace-net-blog-obryjx7iw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"networking","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ipSpace.net Blog","item":"https://daily.dev/sources/ipspace"},{"@type":"ListItem","position":3,"name":"ARP and Static Routes « ipSpace.net blog"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/arp-and-static-routes-ipspace-net-blog-obryjx7iw#faq","mainEntity":[{"@type":"Question","name":"What source IP does Arista EOS use in ARP requests when a static route points to an unnumbered interface?","acceptedAnswer":{"@type":"Answer","text":"When a static route points to an unnumbered interface on Arista EOS, the router sends an ARP request using the IP address of the loopback interface that is loaning its address to the outgoing interface. For example, with a route like 'ip route 10.1.0.5/32 ethernet 2', the ARP request shows 'who-has 10.1.0.5 tell 10.0.0.1', where 10.0.0.1 is the loopback address assigned to the unnumbered interface. Network engineers configuring unnumbered interfaces track ARP quirks like this on daily.dev."}},{"@type":"Question","name":"What happens on Arista EOS when a static route has a next hop that is not in the routing table?","acceptedAnswer":{"@type":"Answer","text":"Arista EOS accepts the static route configuration but does not install it in the Linux kernel routing table, marking it with a '%' symbol in 'show ip route' output along with a warning that some routes are not programmed in the kernel. EOS still attempts ARP resolution for the next hop, but because the route is absent from the kernel table, locally generated traffic (e.g., ping) does not work, though ASIC-forwarded packets might still be forwarded. Engineers troubleshooting static route installation issues on Arista EOS find edge cases like this on daily.dev."}},{"@type":"Question","name":"Can a static route's next hop be within the same IP prefix the route defines on Arista EOS?","acceptedAnswer":{"@type":"Answer","text":"Yes, on Arista EOS a static route's next hop can fall within the same prefix it defines — for example, 'ip route 10.1.0.5/32 ethernet 2 10.1.0.5'. This is technically equivalent to specifying only the outgoing interface without a next hop, so EOS installs it as a directly connected route in both the EOS routing table and the underlying Linux kernel, and connectivity works normally. Networking engineers exploring Arista EOS routing behavior find practical lab results like this on daily.dev."}}]}
```

