Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

EX-1. The arp command: arp -s InetAddr EtherAddr allows you to manually add an e

ID: 3893513 • Letter: E

Question

EX-1. The arp command: arp -s InetAddr EtherAddr allows you to manually add an entry to the ARP cache that resolves the IP address InetAddr to the physical address Ether Addr. What would happen if, when you manually added an entry, you entered the correct IP address, but the wrong Ethernet address for that remote interface? E2. Whats the default amount of time that an emtry remains in your ARP cache before being removed. You can determine this empirically (by monitoring the cache contents) or by looking this up in your operation system documentation. Indicate how/where you determined this value.

Explanation / Answer

The command will make a static entry in the arp cache which will remain there
till the system reboots.

ARP cache has two kind of entries- static and dynamic entries. Dynamic entries have time out values.

The default time out on ubuntu sytems can be found out by

cat /proc/sys/net/ipv4/neigh/default/gc_stale_time

on debian it is

cat /proc/sys/net/ipv4/neigh/ethX/gc_stale_time

Basically on linux systems gc_stale_time contains those values

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote