DHCP assigned metrics with Windows 7 clients
Posted on 2011-03-09
I have 100 Windows 7 laptops that, when docked, have an active wired and wireless connection at the same time. Our Windows Server 2008 R2 AD server issues DHCP addresses on a different subnet for for wired connections versus wireless connections.
I'm trying to configure a Metric for the wireless DHCP addresses using the scope option of "Microsoft Default Router Metric Base" and assigning a value of 0x1F4 (or 500 in decimal). This is to ensure that when laptops are docked with active wired and wireless connections that the wired connection will take priority. However, the scope option doesn't seem to be taking effect on the wireless adapter settings.
After renewing the DHCP addresses, running "ROUTE PRINT" on the laptop shows that the wired metric is 266 and the wireless is 276 - just as before. All other scope options are fine (router, gateways, etc.).
Manually changing the adapter and bindings settings on each laptop by moving the "Local Area Connection" to the top of the list is not feasible in this situation.