Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 09:40:06 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Dany Cayouette <danyc@playground.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Changing ARP cache timeout
Message-ID:  <20010220094006.B25414@sunbay.com>
In-Reply-To: <3A91B703.87E015AF@playground.net>; from danyc@playground.net on Mon, Feb 19, 2001 at 07:14:59PM -0500
References:  <3A91B703.87E015AF@playground.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 19, 2001 at 07:14:59PM -0500, Dany Cayouette wrote:
> Greetings,
>   is there an easy way to modify the ARP cache timeout on FreeBSD?  The
> reason is:  I am connected via cable modem (Rogers@home).  I have a
> static IP address assigned.  The cable gateway seems to be aggresive in
> the ARP cache timeout.  If my system doesn't generate any traffic, the
> gateway seems to loose the ARP entry.  Since the ARP cache is not timed
> out on my system, I still transmit packet but don't receive anything.
> As soon as I forced an ARP request, 'arp -ad' command, things work
> again...
> 
sysctl -w net.link.ether.inet.max_age=<timeout_in_seconds>

Default value is 20 minutes.


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010220094006.B25414>