How can you manually add an entry to your system's ARP cache?
A. Directly edit /etc/arp-cache
B. Run add-arp hostname FF:FF:FF:FF:FF:FF
C. Run ping -a hostname
D. Run arp -s hostname FF:FF:FF:FF:FF:FF
E. Edit arp.conf and restart arpd
題解
位址解析協定(ARP, Address Resolution Protocol)可用IP位址來查詢對應到的MAC位址。「arp」指令可以用來管理系統的ARP快取。「-s」或是「--set」參數可以新增一個新的ARP對應項目。所以答案是選項D。