在命令提示字元 (系統管理員) 使用 netsh 將指定 IP 與 MAC 位址寫入鄰居快取,防止 ARP 攻擊與 IP 衝突。
netsh interface ipv4 show interfacesnetsh interface ipv4 add neighbors 16 "192.168.1.100" "00-11-22-33-44-55"arp -a 查看靜態項目。netsh interface ipv4 delete neighbors 16此為靜態 ARP 綁定,重開機後失效,需寫入啟動腳本或使用第三方工具持久化。