arp

Milos Urbanek urbanek at openbsd.cz
Mon Mar 4 19:16:56 CET 2002


On Mon, Mar 04, 2002 at 12:00:38PM +0100, Miroslav Petricek wrote:
> On Mon, Mar 04, 2002 at 10:05:39AM +0100, Werner wrote:
> > Jak dlouho se udrzuje v pameti ARP cache, respektive ma obnova nejaka casova
> > pravidla?  Pokud tam je nejaky cas obnovy nastaveny, kde se to da zmenit? 
> 
> Na unixovych strojich maji ARP zaznamy platnost obvykle 15 minut.

napr. OpenBSD: minimalne 20 minut, maximalne 25 minut

/sys/netinet/if_ether.c

/* timer values */
int     arpt_prune = (5*60*1);  /* walk list every 5 minutes */
int     arpt_keep = (20*60);    /* once resolved, good for 20 more minutes
*/
int     arpt_down = 20;         /* once declared down, don't send for 20
secs */

Milos

-- 




More information about the Users-l mailing list