LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   After remove enthernet cable, what are the steps for linux to update the ARP table ? (https://www.linuxquestions.org/questions/linux-networking-3/after-remove-enthernet-cable-what-are-the-steps-for-linux-to-update-the-arp-table-4175439480/)

5883 11-30-2012 12:26 PM

After remove enthernet cable, what are the steps for linux to update the ARP table ?
 
in desktop linux,
if i pull out ethernet cable from any eth port,
this ARP entry gets removed right away.

my question is, what are the steps to make this happen under the hood ?
(all i know is device driver will report "eth0 is down".)

who detects it and removes the ARP entry ASAP ?


thanks !

jefro 11-30-2012 04:24 PM

My guess would be some issue tied to disconnect report.

How are you checking cache and I assume you mean locally?

Skaperen 12-09-2012 09:09 PM

I suspect what the OP is asking for is whether the kernel does the flushing of the ARP cache itself, or if some userland program does it as a result of discovering this interface status change.


All times are GMT -5. The time now is 08:49 AM.