-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
This program converts file with list of subnets (like 172.17.9.0/24, one per line) to windows batch file with 'route add' commands. | ||
|
||
Required parameters: | ||
-i <file with subnets> - Input file | ||
-if - Interface id (as listed by 'route print' command) | ||
-gw - Gateway address | ||
-m - Metric | ||
|
||
Output parameters (at least one is required): | ||
-of <output file name> - Output commands to the specified file | ||
-oc - Output commands to console | ||
|
||
Optional parameters: | ||
-p - Add 'pause' after each 'route' command |