route_command
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| route_command [2016/09/20 13:17] – created walkeradmin | route_command [2023/03/09 22:46] (current) – walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Route Command ====== | + | ====== Route Command |
| + | <color darkorange> | ||
| \\ | \\ | ||
| + | \\ | ||
| + | --- | ||
| + | The <color # | ||
| + | \\ | ||
| + | \\ | ||
| + | Pre CentOS 7 you can still use route, but as of v7 the IP command should be used. | ||
| + | \\ | ||
| + | \\ | ||
| + | ip route | ||
| + | | ||
| + | | ||
| + | default via 192.168.27.254 dev enp4s0f0 | ||
| + | 10.0.0.0/8 dev ens513f0 | ||
| + | 11.0.0.0/8 dev ens513f2 | ||
| + | 192.168.27.0/ | ||
| + | \\ | ||
| + | \\ | ||
| + | --- | ||
| \\ | \\ | ||
| The <color red> | The <color red> | ||
| \\ | \\ | ||
| - | ==== Raspbian ==== | ||
| \\ | \\ | ||
| + | ==== Raspbian ==== | ||
| Raspbian Jessie on a Raspberry Pi 3 (LAN connected only, no wifi or bluetooth) | Raspbian Jessie on a Raspberry Pi 3 (LAN connected only, no wifi or bluetooth) | ||
| \\ | \\ | ||
| + | < | ||
| route | route | ||
| Line 14: | Line 34: | ||
| default | default | ||
| 137.58.68.0 | 137.58.68.0 | ||
| + | </ | ||
| + | Here we can see the default gateway is <color red> | ||
| \\ | \\ | ||
| - | ==== CentOS ==== | ||
| \\ | \\ | ||
| + | ==== CentOS ==== | ||
| CentOS 6.6 on a server with 6 network interfaces (only eth0 is physically connected). | CentOS 6.6 on a server with 6 network interfaces (only eth0 is physically connected). | ||
| \\ | \\ | ||
| + | < | ||
| route | route | ||
| Line 35: | Line 58: | ||
| link-local | link-local | ||
| default | default | ||
| + | </ | ||
| + | Here we can see the default gateway is <color red> | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | testing... | ||
route_command.1474377471.txt.gz · Last modified: (external edit)
