New
#1
Disabling default gateway assignment on selected NICs (Win7 / W2K8R2)
I'm new here, this is my first post, and I'm hoping someone can give me a useful answer...
I run a TV studio with a mixture of PC's and servers some running W2K3 server, and some running Win7 (both x86 and x64) and some running W2K8R2.
Each server, and most clients are connected via separate NICs to two distinct networks only one of which (intentionally) has an internet connection the idea being to provide a network for general administrative traffic and internet access separate from a network that is used for critical media applications. This approach has given good stability and security for 17 years.
It worked well in the XP, 2000 server, 2003 server days. Each server had its NICs configured on the OS not under DHCP) with the router/DHCP server assigning these referred IP addresses.
The problems came with Win7 and W2K8R2 both of which will only allow the user to cinfigure a etwork connection as a "work network" if the NICs are allowed to configure automatically via DHCP. If manually configured, the OS reports the network as "unidentified" anmd a Public network , which is untidy IMHO if it can be avoided. User intervention for the network identification anmd type (work/public/private) seems to be disabled if the nIC is configured manually in this weay.
Our previous reason for manual configuration (at least on the network that does not have internet connection) was to prevent the OS assigning a default gateway, which when set unnecessarily on a host which has two or more NICs installed can give conflicts.
Under Win7 and W2K8R2 such conflicts can still be avoided by manual configuration but at the expense of having the network defined as unidentified and Public.
I have tried to live with the tatus when onfiguring via DHCP but assigning a large (5000) metric to the respective network to jog the OS into trying the other network first. This works most of the time but not always.
I hjave also tried setting the registry paraneter
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters]
"DontAddDefaultGatewayDefault"=REG_WORD:00000001
To see if this will prevent the OS from assigning a gateway IP address when the nICs configure via DHCP, but it doesn't have any effect.
So the querstion is how can one allow automatic DHCP configuration of NIC's and prevent the OS from assigning a default gateway?
FYI, my routers (Netgear FVL328's) do not allow disabling a Default gateway configuration, even when here is no WAN connected to them.
Any help or advice would be welcome thanks!
Adrian