route_command
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| route_command [2016/09/20 13:18] – 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> | ||
| Line 6: | Line 25: | ||
| \\ | \\ | ||
| ==== 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) | ||
| \\ | \\ | ||
| Line 17: | Line 35: | ||
| 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). | ||
| \\ | \\ | ||
| Line 40: | Line 59: | ||
| default | default | ||
| </ | </ | ||
| + | Here we can see the default gateway is <color red> | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | testing... | ||
route_command.1474377496.txt.gz · Last modified: (external edit)
