Gateway and DNS Value

  • Thread starter Thread starter Admin
  • Start date Start date
A

Admin

anyone know where are the exact parameter in Group policy for DNS and
Gateway should be added
 
You would define these settings in DHCP and your DHCP server would push the
settings out to your clients along with their IP address.

hth
DDS W 2k MVP MCSE
 
ok yes you are right but for any reason I do not want to use the DHCP Server
I have a fix IP
 
ok yes you are right but for any reason I do not want to use the DHCP
Server
I have a fix IP


You will have to manually type in the gateway on the client. If you are not
using DHCP and you give your computer a fixed IP address, you have to also
provide the DNS and gateway.

hth
DDS W 2k MVP MCSE
 
yes I know that, but my question was how can I destribute this over Group
policy
DNS and Gatway IP? this is my question where can I put the IP address for
Gateway and DNS in Group policy to apply it
to all employees
 
Good morning, Admin!

I am not sure that you are understanding what Danny suggested. This is not
a Group Policy question. There is no way - in WIN2000 - to distribute these
values via GPO. I am not saying that I know every setting like the back of
my hand. I am saying that I am pretty familiar with the settings and I can
not remember any setting for the DNS Server(s) and Default Gateway!

You might have to look for another solution.

Not super familiar with this utility but you might want to look at 'netsh'.
This jumped to mind although I have never used it!

HTH,

Cary
 
Cary Shultz said:
Good morning, Admin!

I am not sure that you are understanding what Danny suggested. This is
not a Group Policy question. There is no way - in WIN2000 - to
distribute these values via GPO. I am not saying that I know every
setting like the back of my hand. I am saying that I am pretty familiar
with the settings and I can not remember any setting for the DNS
Server(s) and Default Gateway!

You might have to look for another solution.

Not super familiar with this utility but you might want to look at
'netsh'. This jumped to mind although I have never used it!

It works fine. Just create a script with the following commands where x.x.x.x
and y.y.y.y are the addresses of your DNS server and default gateway
respectively.
(watch for line wrapping)

netsh interface ip set set dns name=Local source=static addr=x.x.x.x
register=PRIMARY
netsh interface ip set address name=Local gateway=y.y.y.y gwmetric=0


This will assign thoose values to any NIC thats name starts with the word
"Local". Put those in a batch file and assign it to a computer startup script
using a GPO (It won't work as a login script unless the user is a local
admin)
 
Andy,

Great info. This is what I thought but was too busy to investigate.
Feeding your 2 1/2 month old little boy is -ALWAYS- more important than
looking up netsh's syntax. Glad that I was at least on the right track with
this question. Sometimes I get lucky! ;-)

Cary
 
Back
Top