Tuesday, March 5, 2013

Set static ip address and dnsserver in server 2008 core

netsh interface ipv4 set address name="Local Area Connection" source=static address=192.168.10.60 mask=255.255.255.0 gateway=192.168.10.101


set dnsserver by

netsh interface ipv4 add dnsserver name="Local Area Connection" address=8.8.8.8 index=1   (index1 for primary,add secondary by index=2)   and you are done!!!

No comments:

Post a Comment