ip route show table all

Category: Local Network & Public Hosting

ip route show table all

Display routing tables including local and main

The kernel keeps several routing tables, and table all walks every one of them, from the local table of directly attached addresses to the main table holding default routes. Compare with plain ip route, which only shows the main table. Multiple tables are typically combined with policy rules from ip rule.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.