Checked : Windows 7 Professional with SP1, Windows 8.1 Professional.
(1) 명령 프롬프트 (MS-DOS창) 실행후, 명령어 실행 (배치 파일로 작성해서 사용)
> netsh interface ip show interfaces // IP 주소를 설정하기 위한 장치 색인 번호 확인 (랜카드)
※ 입력값
%NIC% : 장치 색인 번호 ( 2 )
%IP% : IP주소 ( 192.168.xxx.xxx )
%SUBNET% : 서브넷 마스크 ( 255.255.255.0 )
%GATEWAY% : 게이트웨이 ( 192.168.xxx.1 )
%WINS% : WINS 주소 ( 192.168.xxx.yyy )
> netsh interface ip set address name=%NIC% source=static address=%IP% mask=%SUBNET% gateway=%GATEWAY%
> netsh interface ip set dnsservers name=%NIC% source=static address=%DNS1% register=none validate=no
> netsh interface ip add dnsservers name=%NIC% address=%DNS2% index=2 validate=no
> netsh interface ip set winsservers name=%NIC% source=static address=%WINS%
'Windows' 카테고리의 다른 글
Windows XP 에서 explorer.exe 손상으로 오류 발생시 (0) | 2015.04.07 |
---|---|
[route] 랜카드가 2개 이상일 경우 우선 Gateway 설정하기 (0) | 2015.03.13 |
[netsh] 한방에 IP주소 설정하기 - Windows XP (0) | 2015.03.11 |
남은 Windows 라이선스 초기화 횟수 (0) | 2015.03.04 |
윈도우 8.1에서 탐색기 실행시 원하는 폴더를 바로 열기 위한 설정 (0) | 2015.01.22 |