On Tue, Mar 20, 2007 at 12:11:36PM +0000, Linux Looser wrote: > > Thanks, > > I mean, what is system policy for removing entries ? > > Barto The system policy for entry removal is documented on the arp man page, and is defined by the sysctl entries I mentioned below. It uses a garbage collector that sets: 1) a minimum number of arp entries (gc_thresh1) below which the garbage collector will not run 2) a soft maximum number of entries (gc_thresh2) above which the garbage collector will allow the arp table size to cross for a short period of time 3) a maximum number of hard entries (gc_thresh3) above which the garbage collector will forcibly remove entries to make room for new ones (using a least recently used algorithm IIRC). Neil > ---------- Forwarded Message ---------- > > Subject: Re: ARP > Date: Tuesday 20 March 2007 11:17 > From: Neil Horman <nhorman@xxxxxxxxxxxxx> > To: mbartolo <mb4rt0l0@xxxxxxxxx> > Cc: linux-net@xxxxxxxxxxxxxxx > > On Sat, Mar 17, 2007 at 07:27:15PM +0000, mbartolo wrote: > > Hello, > > > > How many ARP entries I can have in ARP table ? and can i set some limit ? > > And what is policy for removing ARP entries ? > > > > Thanks > > Barto > > man 7 arp > > see the entries for gc_thresh1, gc_thresh2 and gc_thresh3. They set the > minimum, soft maximum and hard maximum for the number of arp entries > respectively. > > arp entries can be removed by issuing an arp -d command. > > Regards > Nel > > ------------------------------------------------------- > - > To unsubscribe from this list: send the line "unsubscribe linux-net" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html