发信人: se-t618(曾经..将来..) 
整理人: gzcsl(2003-08-15 22:01:00), 站内信件
 | 
 
 
    > 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.
 
 其实就係直接抄windows个route命令个帮助
 
 以我头先嘅命令为例:
 route add 220.0.0.0 mask 255.0.0.0 220.113.240.126 metric 1 
 
 220.0.0.0 係我个长宽ip所属嘅ip段
 mask 255.0.0.0 係指定指网掩码(唔知乜係子网掩码就去睇CCNA或者一啲基本嘅网络教程)
 220.113.240.126 係我个长宽嘅网关ip
 metric 1 跳跃节点数(哩个我都唔係好明,净係记得教主话果,哩个数值越小越优先)
 咁就添加咗一个路由规则:凡係属于220开头A类嘅ip,全部经由 220.113.240.126 哩个网关,并且作为最优先规则
 
  ---- You live in the real world...A world of work...of play... of travel...
 Sony adds life to your world,
 whether you're: At Home... At Work... On the Road... On the Go...
 Your world... Your Sony.        | 
 
 
 |