vpslijie / chnroutes

Automatically exported from code.google.com/p/chnroutes
0 stars 0 forks source link

Server2003 route命令无法成功运行 #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
单独运行route命令出现如下错误:
C:\Documents and Settings\Administrator>route add 1.12.0.0 mask 255.252.0.0 %gw%
 metric 5
route: bad gateway address %gw%

Original issue reported on code.google.com by shen.a...@gmail.com on 20 Oct 2011 at 3:36

GoogleCodeExporter commented 8 years ago
使用的是系统自带的PPTP拨号

Original comment by shen.a...@gmail.com on 20 Oct 2011 at 3:37

GoogleCodeExporter commented 8 years ago
%gw%是bat脚本里的一个变量. 其值为当前gateway. 
如果你想自己调用这命令, 必须要用实际gateway代替此变量.

Original comment by Numb.Maj...@gmail.com on 30 Nov 2011 at 3:53