你的双网卡都配置了地址的话,在WINDOWS路由表中就会生成两条等值的默认路由,你可以用ROUTE PRINT命令看一下WINDOWS路由表,把其中一条你想要的出口路由留下,删除另外一跳默认路由,命令是:ROUTE DELETE 0.0.0.0 MASK 0.0.0.0 192.168.0.1就可以把所有未定义的网络流量都从一条路由走,两条默认路由是必须要删除一条的,如果你想要到特定地址的数据流经过不同的网卡,比如:去123.0.0.0网段的地址经过192.168.1.1出流量,你可以用ROUTE ADD 123.0.0.0 MASK 255.0.0.0 192.168.1.1这个命令定义流量的流向.如果你要保留两条默认路由,那就要重新定义一下两条路由的METRIC。这是WINDOWS路由表的各种参数和命令,自己研究一下吧:
Examples:
> route PRINT
> route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2
destination^ ^mask ^gateway metric^ ^
Interface^
If IF is not given, it tries to find the best interface for a given
gateway.
> route PRINT
> route PRINT 157* .... Only prints those matching 157*
> route CHANGE 157.0.0.0 MASK 255.0.0.0 157.55.80.5 METRIC 2 IF 2
CHANGE is used to modify gateway and/or metric only.
> route PRINT
> route DELETE 157.0.0.0
> route PRINT
C:\Documents and Settings\Administrator>