mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
Show a line with /24 subnet
This commit is contained in:
parent
efc526f61b
commit
be239f7a9f
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue