- 設定IP步驟
- 修復 (像重新整理)然後存成bat檔 自己整理後如下
@echo off
echo 設定安內IP address...
netsh interface ip set address "區域連線" static 172.16.15.60 255.255.255.0 172.16.15.254 1
echo 慣用DNS伺服器...
netsh interface ip set dns "區域連線" static 172.16.10.4
echo 其他DNS伺服器...
netsh interface ip add dns "區域連線" 172.16.66.3 2
echo "更新 DHCP"
ipconfig /renew
echo "清除ARP快取"
arp -d *
echo "重新載入 NetBIOS 快取"
nbtstat -R
echo "更新 NetBIOS 名稱"
nbtstat -RR
echo "清除 DNS 快取"
ipconfig /flushdns
echo "DNS 名稱登錄"
ipconfig /registerdns
echo 設定完成!
echo. & pause