Linux main table
ip route (short for ip route show table main) prints the active forwarding table: default via gateway, more-specific prefixes, and on-link subnets. Use ip -4 route or ip -6 route when dual-stack noise obscures IPv4.
Policy routing
Corporate VPNs and multi-WAN setups add routing rules that select alternate tables based on source address, fwmark, or uid. Run ip rule list then ip route show table <name> for each non-main table. ip route get 203.0.113.5 from 192.0.2.10 shows which path the kernel would choose for a given tuple.
Windows
route print remains the quick ASCII view. PowerShell Get-NetRoute -AddressFamily IPv4 | Sort-Object RouteMetric highlights overlapping routes—lower metric wins for equal prefix length.
BGP and the internet
Host routing tables show your next hop, not the full internet. For provider-specific AS paths use a public looking glass after you confirm local defaults are sane.
Related: Linux ip route tables, diagnosing slow internet, ping vs traceroute vs mtr, DNS troubleshooting commands.