微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

windows-server-2003 – Windows 7不遵守DHCP的首选路由器顺序

多年来,我们一直在我们的域上使用Microsoft的DHCP服务器.我们推送到客户端的一个选项是认网关.在“范围选项”对话框中,它显示
003 Router   Array of router addresses ordered by preference

目前我们分配了2个路由器,我们的主要和备份使用不同(较慢)的互联网连接.在此设置下运行的Windows XP一切正常.

我们最近开始测试Windows 7(RTM)客户端,因为在可用时开始部署新操作系统的压力很大.问题是它不尊重在DHCP中推送的“首选订单”.虽然路由表显示它的设置与XP客户端上的路由表一样,但它使用第二个网关而不是第一个网关.到目前为止,使用第一种方法的唯一方法是手动运行route CHANGE命令,将第一个网关的度量值设置为较低的值.由于这必须以提升的用户身份完成,因此这将是有问题的.

这只是Windows 7中的一个错误,还是我们无法找到其他一些DHCP选项,这也会让我们推出每个网关的指标?

不确定这是否是Windows XP / 2003特定的,但我敢打赌,这可能会帮助你…

如果这对您没有帮助,id建议创建一个在启动时运行的脚本并设置一个持久路由(route -p …)

无论如何,这是微软所说的……

http://technet.microsoft.com/en-us/library/bb878104.aspx

Default route metric

TCP/IP for Windows XP and Windows
Server 2003 by default automatically
calculates a metric for the default
route that is based on the speed of
the adapter to which the default
gateway is configured. For example,
for a 100 megabit per second (Mbps)
Ethernet adapter,the default route
metric is set to 20. For a 10 Mbps
Ethernet adapter,the default route
metric is set to 30.

To override this behavior for DHCP-assigned default gateways,use the Default Router Metric Base Microsoft-specific DHCP option. To override this behavior for manually configured default gateways,clear the Automatic metric check Box on the TCP/IP Gateway Address dialog Box for the configured default gateways on the IP Settings tab in the advanced properties of the Internet Protocol (TCP/IP). The TCP/IP Gateway Address dialog Box is shown in the following figure.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐