Checked : Windows XP Professional with SP3
(1) 윈도우 서비스 : Routing and Remote Access
→ 시작 유형 및 서비스 상태 변경 : 자동, 시작됨
(2) 명령 프롬프트 (MS-DOS창) 실행후, 명령어 실행 (배치 파일로 작성해서 사용)
> netsh interface ip show interface // IP 주소를 설정하기 위한 장치 이름 확인 (랜카드)
※ 입력값
%NIC% : 장치 이름 ( 로컬 영역 연결 )
%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 addr=%IP% mask=%SUBNET% gateway=%GATEWAY% gwmetric=10
> netsh interface ip set dns name="%NIC%" source=static addr=%DNS1% register=none
> netsh interface ip add dns name="%NIC%" addr=%DNS2% index=2
> netsh interface ip set wins name="%NIC%" source=static addr=%WINS%
'Windows' 카테고리의 다른 글
[route] 랜카드가 2개 이상일 경우 우선 Gateway 설정하기 (0) | 2015.03.13 |
---|---|
[netsh] 한방에 IP주소 설정하기 - Windows 7, Windows 8.1 (0) | 2015.03.11 |
남은 Windows 라이선스 초기화 횟수 (0) | 2015.03.04 |
윈도우 8.1에서 탐색기 실행시 원하는 폴더를 바로 열기 위한 설정 (0) | 2015.01.22 |
Windows 7 정품인증후에도 계속 인증창이 뜰 경우 (0) | 2014.12.29 |