LoveUnix » 网络 & 安全 » 求证:这段话是否有问题?
让LU留住您的每

一天 让LU博客留住您的每一天
2004-6-20 17:07 larryh
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--># netstat -rn<br />Routing tables<br />Destination &nbsp; Gateway &nbsp; &nbsp;Flags &nbsp; &nbsp;Refs &nbsp;Use If PMTU Exp Groups<br /><br />Route tree for Protocol Family 2 &#40;Internet&#41;&#58;<br />10/24 &nbsp; &nbsp; &nbsp; 9.3.21.22 &nbsp; &nbsp;UGc &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp;0 tr1 - &nbsp; &nbsp;- &nbsp; &nbsp;=&#62;<br />10/23 &nbsp; &nbsp; &nbsp; 9.3.22.37 &nbsp; &nbsp;UGc &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp;0 en0<br /><!--c2--></div><!--ec2--><br />In the case where the destination address is the same but the netmask is<br />different, the most specific route that matches will be used. In the previous<br />example, packets sent to 10.0.0.1 - 10.0.0.255 would use the 10/24 route,<br />since it is more specific, while packets sent to 10.0.1.1 - 10.0.1.255 would use<br />the 10/23 route, since they do not match the 10/24 route but do match the<br />10/23 route.

2004-6-20 23:34 soccer_hou007
在这个例子中 目的地址相同 掩码不同, 最精确适合的路由(线路,表)会被选择<br />前一个例子中, 发往10.0.0.1 - 10.0.0.255 的packets(包)将会到应用10/24 路由,因为它是更精确的<br />而发往10.0.1.1 - 10.0.1.255 的packets(包)将会到采用10/23路由,因为(发往这个子网的路由)10/23路由是更精确的<br /> <!--emo&:awkard:--><img src='style_emoticons/default/awkard.gif' border='0' style='vertical-align:middle' alt='awkard.gif' /><!--endemo--> 胡乱说的。<br /><br />10.0.0.1?这不是未注册的,可供内网用的吗

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.