mirror of https://github.com/CrimsonTome/tldr.git
Show a line with /24 subnet
parent
efc526f61b
commit
be239f7a9f
|
@ -7,6 +7,10 @@
|
|||
|
||||
`sudo route add {{dest_ip_address}} {{gateway_address}}`
|
||||
|
||||
- add a route to a /24 subnet through a gateway
|
||||
|
||||
`sudo route add {{subnet_ip_address}}/24 {{gateway_address}}`
|
||||
|
||||
- run in test mode (does not do anything, just print)
|
||||
|
||||
`sudo route -t add {{dest_ip_address}}/24 {{gateway_address}}`
|
||||
|
|
Loading…
Reference in New Issue