Wonder how to set windows 's TCP setting instead of being on GUI. Let's use this text command do the magic. If you are server administrator, most probably you need to add this command into user login script file which is located in netlogon folder.
to set DHCP :
netsh interface ip set address "local area connection" DHCP
to set static:
netsh interface ip set address "local area connection" static "IP" "subnet mask" "Gateway" "metric"
Eg:
netsh interface ip set address "local area connection" static 192.168.123.101 255.255.255.0 192.168.123.254 1
to set DNS:
netsh interface ip set dns "local area connection" static "DNS"
to set WINS
netsh interface ip set wins "local area connection" static "WINS"
hope it would help..
to set DHCP :
netsh interface ip set address "local area connection" DHCP
to set static:
netsh interface ip set address "local area connection" static "IP" "subnet mask" "Gateway" "metric"
Eg:
netsh interface ip set address "local area connection" static 192.168.123.101 255.255.255.0 192.168.123.254 1
to set DNS:
netsh interface ip set dns "local area connection" static "DNS"
to set WINS
netsh interface ip set wins "local area connection" static "WINS"
hope it would help..
No comments:
Post a Comment