diff --git a/tldr/linux/ip-route b/tldr/linux/ip-route index 72eb8ff2..28825e0c 100644 --- a/tldr/linux/ip-route +++ b/tldr/linux/ip-route @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > IP Routing table management subcommand. > More information: . -- Display the routing table: +- Display the `main` routing table: `ip {{[r|route]}}` @@ -35,3 +35,7 @@ source: https://github.com/tldr-pages/tldr.git - Show which route will be used by the kernel to reach an IP address: `ip {{[r|route]}} {{[g|get]}} {{destination_ip}}` + +- Display a specific routing table: + +`ip {{[r|route]}} {{[s|show]}} {{[t|table]}} {{table_number}}` diff --git a/tldr/linux/ip-route-show b/tldr/linux/ip-route-show index 277a9ad9..776da503 100644 --- a/tldr/linux/ip-route-show +++ b/tldr/linux/ip-route-show @@ -8,13 +8,13 @@ source: https://github.com/tldr-pages/tldr.git > Display subcommand for IP Routing table management. > More information: . -- Display the routing table: +- Display the `main` routing table: `ip {{[r|route]}} {{[s|show]}}` - Display the main routing table (same as first example): -`ip {{[r|route]}} {{[s|show]}} {{main|254}}` +`ip {{[r|route]}} {{[s|show]}} {{[t|table]}} {{main|254}}` - Display the local routing table: