靜態 IP 設定適用於伺服器、列印伺服器、需固定 IP 的裝置,或排除 DHCP 故障時暫時指定。






192.168.1.100255.255.255.0(自動填入)192.168.1.1(路由器 IP)
114.114.114.114 / 8.8.8.8 / 路由器 IP114.114.115.115 / 8.8.4.4

netsh interface ip set address "區域連線" static 192.168.1.100 255.255.255.0 192.168.1.1netsh interface ip set dns "區域連線" static 114.114.114.114 primarynetsh interface ip add dns "區域連線" 8.8.8.8 index=2