Windows 7 DHCP Default Gateway not Overridden by manual Default Gateway
Posted
by
dgwilson
on Super User
See other posts from Super User
or by dgwilson
Published on 2012-11-09T15:18:10Z
Indexed on
2012/11/09
17:05 UTC
Read the original article
Hit count: 493
We have recently installed Windows 7 for student computers. All student computers must be routed through our content filter which is located at 192.168.0.63. This was done in WinXP by adding a Default Gateway in the network adapter settings > TCP/IP Properties > Advanced > Default Gateway. All teacher computers are routed through the DHCP assigned Default Gateway of 192.168.0.1.
In WinXP the dhcp default gateway was correctly overridden by this manual setting. In Win7 it appears that the dhcp default gateway is retained and the manual one is added to the list so that there are two with the dhcp one having the primary metric.
I have tried several ways to remove the dhcp default gateway such as, running the "route delete 0.0.0.0 192.168.0.1" command. Doing this from an administrator command prompt works but it just resets upon reboot. I've tried adding this command to the registry's Run section but it seems to run as a non-administrator and therefore will not complete successfully.
Is there any way to prevent this and force the manual default gateway to override the dhcp one? Or to remove the dhcp assigned one automatically on boot/login?
HELP! We CANNOT allow student computers to connect to the internet without going through the content filter.
© Super User or respective owner