ipconfig 是 Windows 內建的網路設定查詢指令,加上 /all 參數可顯示完整的 TCP/IP 設定,包含 MAC 位址、IP 位址、子網路遮罩、預設閘道、DNS 伺服器、DHCP 租約資訊等,是網管疑難排解的基本工具。
cmd → Enter。ipconfig /all
00-1A-2B-3C-4D-5E。ipconfig:僅顯示 IP、子網路遮罩、閘道(精簡版)。ipconfig /release:釋放 DHCP 租約。ipconfig /renew:重新申請 DHCP 租約。ipconfig /flushdns:清除 DNS 快取(解決網頁解析異常)。ipconfig /displaydns:顯示 DNS 快取內容。