Distribute default GW through group policy

  • Thread starter Thread starter M K W
  • Start date Start date
M

M K W

Hello,

I have win 2000 server. I just want to know how to distribute the default
gatway through a group policy?
Note: I dont want to install DHCP, could it be done?
regards
 
M K W wrote:
Hi,
I have win 2000 server. I just want to know how to distribute the
default gatway through a group policy?

You can't. Exception if you want to use a computer start script with a netsh
command.

Bye
Norbert
 
You can with a script using the route delete and route add commands. Assign
the script as a startup script unless the user has the rights to change
their tcp/ip settings, in which case you could ase a logon script. I don't
know why you don't want to use DHCP, that would be the standard way. But
these two command lines should do it:

route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 <gateway address>

...kurt
 
Back
Top