수안이의 컴퓨터 연구실

  • Mainpage
  • About Me
  • Tags
  • Metapage
  • Notice
  • Location
  • Keywords
  • Guestbook
  • Admin
  • Write an Article
  • Total | 1620902
  • Today | 282
  • Yesterday | 482

Network2007/05/31 10:25

netsh을 이용한 윈도우상에서의 IP 변경

1. 윈도우에서 Command(cmd)를 이용해 IP를 변경하는 방법 (Windows 2000 이상)


[고정 IP]

netsh interface ip set address "[Network Interface Name]" static [IP Address] [Subnet Mask] [Default Gateway] [Metric]

* Metric - 라우팅 경로가 여러개일 경우 우선순위를 나타냄.

ex) netsh interface ip set address "로컬 영역 연결" static 210.115.33.110 255.255.255.0 210.115.33.1 1


[유동 IP]

netsh interface ip set address "[Network Interface Name]" dhcp

ex) netsh interface ip set address "로컬 영역 연결" dhcp


[DNS 입력]

netsh interface ip add dns "[Network Interface Name]" static [DNS]

ex) netsh interface ip add dns "로컬 영역 연결" static 168.126.63.1


[DNS 추가 입력]

netsh interface ip add dns "[Network Interface Name]" [DNS]

ex) netsh interface ip add dns "로컬 영역 연결" 168.126.63.2


[WINS Server 입력]

netsh interface ip set wins "[Network Interface Name]" static [WINS Server IP Address]


[유동 DNS]

netsh interface ip add dns "[Network Interface Name]" dhcp


[유동 WINS]

netsh interface ip set wins "[Network Interface Name]" dhcp


[WINS 설정 삭제]

netsh interface ip set wins "[Network Interface Name]" none



2. 윈도우에서 배치(bat)파일을 이용해 IP를 변경하는 방법 (Windows 2000 이상)


[고정 IP]

netsh interface ip set address
name="[Network Interface Name]"
static [IP Address] [Subnet Mask] [Gateway] [Metric]
netsh interface ip set dns name="[Network Interface Name]" static [DNS1] primary
netsh interface ip set dns name="[Network Interface Name]" [DNS2] index=2


[유동 IP]

netsh interface ip set address
name="[Network Interface Name]"
source=dhcp
netsh interface ip set dns name="[Network Interface Name]" source=dhcp

* 위 내용을 텍스트파일에 기입한 후, 확장자를 bat로 변경하여 배치파일로 만들어 사용하세요.


[예제 파일]

Dynamic_IP_Setting.bat Static_IP_Setting.bat

※ 예제 파일은 제 환경에 맞게 구현된 배치 파일 이므로 알맞게 변경하여 이용하세요.
"Network" 카테고리의 다른 글
  • Dynagen / Dynamips 사용하기 (0)2007/10/07
  • 네트워크 프로토콜 참고 사이트 (RFC) (0)2007/08/08
  • netsh을 이용한 윈도우상에서의 IP 변경 (0)2007/05/31
  • TCP 자세히 보기 (0)2007/05/14
  • ROUTER(시스코) 명령어 모음 (0)2007/05/02
2007/05/31 10:25 2007/05/31 10:25
Posted by webdizen
No Trackback No Comment

Trackback URL : http://www.webdizen.net/blog/trackback/3039

Leave your greetings.

[로그인][오픈아이디란?]

«Prev  1 ... 206 207 208 209 210 211 212 213 214 ... 2998  Next»

RSS HanRSS
Blog Image
webdizen
이 곳은 컴퓨터에 대해 연구하고, 공유하고, 소통하기 위한 연구실입니다. 개인적으로는 OLAP, Data Mining, Semantic Web, Data Modeling에 대해서 연구하고 있습니다.

Categories

전체 (2998)
Webdizen (134)
Life (6)
Diary (16)
Blog (9)
IDEA (1)
Travel (10)
Book (14)
Photo (7)
Movie (7)
Music (13)
Leisure Sports (10)
Funny (5)
Hardware (119)
Software (120)
Windows (5)
Unix & Linux (119)
Installation (4)
Kernel (10)
System (34)
Develop (22)
X-Window (0)
Applicaton (31)
Security (4)
Framework (2)
Hadoop (2)
Programming (805)
Algorithm & Data Structure (1)
Assembly (38)
UNIX/Linux C (95)
C++ (128)
STL (4)
Java (38)
Win32 API (92)
ATL/COM (44)
MFC (151)
.NET (26)
WCF/WPF (4)
C# (28)
Network Programming (17)
Database Programming (12)
OpenGL / DirectX (13)
Multimedia Programming (0)
Game Programming (21)
Parallel Distributed Progra... (0)
Reverse Engineering (0)
Debugging (9)
Python (1)
Ruby (1)
Ruby on Rails (1)
QT (4)
GTK (0)
JSP (0)
PHP (6)
ASP.NET (6)
ASP (3)
Development (28)
Useful Library (2)
Data Modeling (0)
Database (105)
Oracle (4)
MSSQL (41)
MySQL (2)
Data Warehouse (2)
Data Mining (3)
Network (66)
Web (78)
DHTML (4)
XHTML (1)
Javascript (1)
CSS (1)
AJAX (9)
XML (11)
Flex (1)
Silverlight (3)
Security (91)
DoS (1)
Kernel (10)
Scanning (3)
Sniffing (0)
Spoofing (4)
Overflow (28)
Web (11)
Shell (10)
Format String (14)
Window (2)
Embedded (70)
Multimedia (27)
Mobile (14)
Graphic (24)
Management (633)
Knowledge (581)
Hadoop (0)

Notice

  • 메타 블로그 사이트에 등록
  • 새해 맞이 블로그의 변화
  • 블로그 명칭 변경
  • 도메인(www.webdizen.net) 구...
  • TEXTCUBE 1.6.1로 업그레이드...

Tags

  • Portable Executable
  • firefox2.0
  • 컨디션
  • 데이터 전달
  • CSS
  • LastError
  • 프레임워크
  • 포인터 변수
  • Handling
  • 데이터베이스 이동
  • 동의어
  • 페스티발 샴페인
  • 강력한 이름
  • join
  • 블로그
  • 게스트하우스
  • 메모리 누수
  • 에너지 버스
  • OLTP
  • Brand

Recent Articles

  • ASCII Code의 CRLF 제거 방법.
  • Hadoop 에서 c++ API 이용시....
  • Ubuntu Linux에서 Hadoop 구....
  • 내 심장을 한껏 뛰게한 "국가....
  • 스타 스키마 데이터베이스 설....

Recent Comments

  • ■ 온라인카지노 ▶ http://L....
    asdf 11/21
  • 그리고 혹시 해외여행자보험....
    kim 11/05
  • ★★실제 바다게임장과 똑같....
    asdf 11/04
  • sbsyama.co.to← 짱5000만당....
    asdf 11/04
  • ♡KicaZ??o(???) 바카라사....
    fdsf3fass 11/03

Recent Trackbacks

  • 파일 열기/저장하기 CFileDialog.
    은마군의 나태블록 02/11
  • World IT Show 2008.
    상우 :: Oranzie's BLOG 2008
  • cvs서버 설치하기.
    3인3색 2008
  • 속속 공개되는 Google Chart....
    PHP와 Web 2.0 2007
  • 마방진을 구하는 프로그램.
    Oranzie's BLOG 3 2007

Archive

  • 2009/09 (3)
  • 2009/08 (1)
  • 2009/03 (1)
  • 2009/02 (9)
  • 2009/01 (13)

Calendar

«   2009/11   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

Bookmarks

    • Administration
      • IIS.NET
      • NTFAQ
      • OS의 모든 것
      • 리눅스포털
    • Database
      • SQL Server Central
      • SQL Team
    • Development
      • .NET Heaven
      • ASP Alliance
      • ASP.NET 2.0
      • Bullog.net
      • C# Corner
      • C++ (C PlusPlus.com)
      • C++ Reference
      • CodeGuru
      • CodePlex
      • DebugLab
      • Dev Articles
      • Devpia
      • DotNet Junkies
      • DotNet Zone
      • Driver Online
      • GOSU.NET
      • HOONS 닷넷
      • Joinc 팀블로그
      • KOSR
      • MSDN Home Page
      • OSR Online
      • Sky.ph - 개발자 커뮤니...
      • TAEYO.NET
      • The Code Project
      • WindowsClient.net
      • 김상욱의 개발자 Side
      • 조인시 위키
    • Human Networks
      • belief21c's e-space
      • I think I can
      • Invisible Rover's Blog :D
      • Rodman®
      • ■ Feel So Good~! ■
      • 까만 나비
      • 나를 가꾸는 시간.
      • 나만의 즐거움~~!
      • 단녕
      • 상우 :: Oranzie's BLOG
    • Information Technology
      • Microsoft TechNet
      • 지디넷코리아 - 글로벌...
    • Security
      • FoundStone
      • milw0rm
      • NewOrder
      • OpenRCE
      • Phrack.org
      • Reverse Engineering b1...
      • Reverse Engineering Team
      • RootKit
      • SecurityFocus
      • SecurityXploded by Nag...
      • Wow Hacker
      • Zone-H
Textcube
Louice Studio Inc.
Powered by Textcube. Original designed by Tistory.