1. IP Auto Setup XP용

@echo off

netsh -c int ip show interfaces

netsh -c int ip set address name="로컬 영역 연결" source=static addr=192.168.0.50 mask=255.255.255.0 gateway=192.168.0.1 gwmetric=0
netsh -c int ip set dns name="로컬 영역 연결" source=static addr=16.12.6.1 register=PRIMARY

netsh interface ip show ip

echo 작업이 완료되었습니다. 창을 닫아주세요.
echo 문의: IT팀 이동엽
pause > nul
exit

2. IP Auto Setup Vista & Win7용

@echo off

netsh interface ip show interfaces

netsh interface ip set address name="로컬 영역 연결" static 192.168.0.50 255.255.255.0 192.168.0.1
netsh interface ip set dnsservers name="로컬 영역 연결" static 16.12.6.1 primary

netsh interface ip show ip

echo 작업이 완료되었습니다. 창을 닫아주세요.
echo 문의: IT팀 이동엽
pause > nul
exit


 


+ Recent posts