[Windows] 고정 IP 설정(CMD)






1. 개요

CMD에서 고정 IP 설정







2. 버전 및 사양

Windows11_22H2







3. 참고 링크





3-1. [Windows11] 고정 IP 설정(GUI)

BLOG
YouTube







4. 고정 IP





4-1. 설정

cmd
Ctrl+Shift+Enter(관리자 권한 실행)


> ipconfig /all


> netsh interface ip set address name=”Ethernet0″ static 192.168.204.246 255.255.255.0 192.168.204.254
> netsh interface ip set dns name=”Ethernet0″ static 168.126.63.1
> netsh interface ip add dns name=”Ethernet0″ 168.126.63.2 index=2


> netsh interface ip set address name=${이더넷 이름} static ${IP} ${Netmask} ${Gateway}
> netsh interface ip set dns name=${이더넷 이름} static ${DNS}
> netsh interface ip add dns name=${이더넷 이름} ${DNS} index=2




4-2. 확인

> ipconfig
> ping google.com



댓글 남기기