Distribute default GW through group policy

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
 
N

Norbert Fehlauer [MVP]

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
 
K

Kurt

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top