Re: How to change ARP cache timeout?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



See Documentation/filesystems/proc.txt and search for gc_stale_time.
The files in /proc you are interested in twiddling are in
/proc/sys/net/ipv4/neigh/eth0 or whatever ethernet adapters
you are interested in munging about with.

cheers
-mark

Mariano Korman <mkorman@mat.upc.es> [01/05/11 16:03]:
> 
> Hi guys.
> 
> I want to keep my ARP caches warm for, say, 2 minutes. So, that ARP
> entries do not expire until after 2 mins. How can I do that? writing
> something on /proc/net?
> 
> And can I keep them warm for 1 hour.?
> 
> TIA,
> 
> Mariano Korman
> -
> : send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux