카테고리 없음
윈도우즈 콘솔에서 IP설정하기
냐옹이.
2012. 3. 23. 17:38
# show network interface card info. netsh interface ip show config # Static netsh interface ip set address name="Local Area Connection" static 192.168.0.2 255.255.255.0 192.168.0.1 netsh interface ip set dns name="Local Area Connection" static 8.8.8.8 # DHCP netsh interface ip set address "Local Area Connection" dhcp
"# netsh interface ip show config" 명령어로 네트워크 카드 이름을 확인하여 두번째 명령어의 'name'항목을 찾는다.