윈도우 CMD 이용해서 IP 변경하기


1. 아이피를 확인한다.

ipconfig


2. 변경할 인터페이스를 찾는다 

netsh interface ip show interfaces 입력


3. 아이피를 변경한다.

netsh -c int ip set address name="인터페이스 이름" static 아이피 넷마스크 게이트웨이

netsh -c int ip set address name="Ethernet0" static 192.168.11.10 255.255.255.0 192.168.11.2


4. DNS를 변경한다..

netsh -c int ip set dns name="인터페이스 이름" static DNS IP

netsh -c int ip set dns name="Ethernet0" static 8.8.8.8


5. 변경된 아이피를 확인한다.

ipconfig


+ Recent posts