DHCP Metric

Hewlett-packard Ms windows server 2003 r...
January 3, 2011 at 15:02:22
Specs: Windows Vista, Quad Core / 2Gig
Is there a way to set a metric on the gateways specified in the DHCP server? I know how to do it through the ROUTE command but I want to change which gateway to default to without having to go around to every computer. I could probably do it through a logon script but it seems like this should be done through the DHCP server.

See More: DHCP Metric

Report •

#1
January 3, 2011 at 21:17:36
dhcp doesn't go out a gateway without the router having a dhcp relay agent.

setting a metric on the router affects all routing traffic not just dhcp traffic.

might find this a interesting read
http://support.microsoft.com/kb/299540

if you go to tcp/ip properties/advanced you can change the gateway metric

Answers are only as good as the information you provide.
How to properly post a question:


Report •

#2
January 4, 2011 at 06:53:37
No you miss under stood. I am setting the CLIENT COMPUTERS' default gateways through DHCP.

I want to set the metric on the client computers to something other than 20. We have two redundant gateways one on 10.100.100.1 and one on 10.100.100.2 and I have put both in the DHCP's gateway stack on the server. I changed the order of the 10.100.100.2 above 10.100.100.1 thinking it would change the metric. The problem is when you look at the local workstations they show both gateways as having a metric of 20 and I want to make one have a higher metric than the other,

My guess it is yet another short coming of Microsuck and will have to do it through logon scripts. Or, I might just setup a Linux DHCP server.

P.S. Thanks for the info. I will try to turn off the automatic metrics through the GPO and see if that helps.


Report •

#3
January 4, 2011 at 08:55:40
You can't fail over gateways from my experience. You would have to reconfigure dhcp to the alternate gateway and have everyone restart.

Answers are only as good as the information you provide.
How to properly post a question:


Report •
Related Solutions


Ask Question