Skip to content

Instantly share code, notes, and snippets.

@nicholashoule
Last active June 6, 2019 19:39
Show Gist options
  • Save nicholashoule/3477df6565f869a17f5ad4b6e1de7c57 to your computer and use it in GitHub Desktop.
Save nicholashoule/3477df6565f869a17f5ad4b6e1de7c57 to your computer and use it in GitHub Desktop.
Route command

Route command

route

route
Add route:
sudo route add -net 172.24.42.0 netmask 255.255.255.0 gw gateway
sudo route add -net 172.24.42.0 netmask 255.255.255.0 gw 10.10.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment