User Tools

Site Tools


route_command

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
route_command [2017/01/12 20:17] walkeradminroute_command [2023/03/09 22:35] – external edit 127.0.0.1
Line 1: Line 1:
-====== Route Command ====== +====== Route Command (now ip route) ====== 
-<color darkorange>2016</color>+<color darkorange>2016 - updated Jun 2017</color>
 \\  \\ 
 \\  \\ 
 +---
 +The <color #ed1c24>route</color> command has now been replaced. The command was deprecated some time ago, but continued to be used. The replacement is part of the <color #ed1c24>IP</color> command set.
 +\\ 
 +\\ 
 +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  proto static  metric 100
 +    10.0.0.0/8 dev ens513f0  proto kernel  scope link  src 10.0.222.2  metric 100
 +    11.0.0.0/8 dev ens513f2  proto kernel  scope link  src 11.0.222.4  metric 100
 +    192.168.27.0/24 dev enp4s0f0  proto kernel  scope link  src 192.168.27.222  metric 100
 +\\ 
 +\\ 
 +---
 \\  \\ 
 The <color red>route</color> command allows dynamic setting of a route from the command line, however using <color red>route</color> without any parameters will show the currently configured routes. The <color red>route</color> command allows dynamic setting of a route from the command line, however using <color red>route</color> without any parameters will show the currently configured routes.
Line 45: Line 62:
 \\  \\ 
 \\  \\ 
 +test
route_command.txt · Last modified: 2023/03/09 22:46 by walkeradmin