TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Routing Table Lookup?

1 pointsby miki_tyleralmost 2 years ago
I often find myself struggling with my network configuration. I wonder if there is an easy way or tool to "debug" my routing table by providing an IP address and receiving information about which rule is being applied and why, ideally for Macos or Ubuntu.

1 comment

LinuxBenderalmost 2 years ago
The best starting points for this would be the iproute2 man page [1], superuser [2] and serverfault [3]. There are potentially also Linux namespaces to consider. There are some youtube videos that can walk you through the &#x27;ip&#x27; command and debugging routes. Start with &quot;debug route linux iproute2&quot; in their search. That&#x27;s a topic probably too big for HN I think.<p>[1] - <a href="https:&#x2F;&#x2F;manpages.ubuntu.com&#x2F;manpages&#x2F;focal&#x2F;en&#x2F;man8&#x2F;ip-route.8.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;manpages.ubuntu.com&#x2F;manpages&#x2F;focal&#x2F;en&#x2F;man8&#x2F;ip-route....</a><p>[2] - <a href="https:&#x2F;&#x2F;superuser.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;superuser.com&#x2F;</a><p>[3] - <a href="https:&#x2F;&#x2F;serverfault.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;serverfault.com&#x2F;</a>