Created
May 1, 2012 13:26
-
-
Save knalli/2567890 to your computer and use it in GitHub Desktop.
Adding an additional route via a gateay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Routing the 192.168.1.0/24 net via the gateway at 192.168.0.101 | |
sudo route -n add 192.168.1.0 192.168.0.101 255.255.255.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment