From owner-freebsd-stable Wed Sep 11 9:18: 6 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A49437B400 for ; Wed, 11 Sep 2002 09:18:04 -0700 (PDT) Received: from server.rucus.ru.ac.za (server.rucus.ru.ac.za [146.231.115.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 5C9B643E4A for ; Wed, 11 Sep 2002 09:18:01 -0700 (PDT) (envelope-from drs@rucus.ru.ac.za) Received: (qmail 23684 invoked from network); 11 Sep 2002 14:31:15 -0000 Received: from bashir.dsl.ru.ac.za (146.231.113.19) by server.rucus.ru.ac.za with SMTP; 11 Sep 2002 14:31:15 -0000 Received: (qmail 999 invoked by uid 1001); 11 Sep 2002 14:31:16 -0000 Date: Wed, 11 Sep 2002 16:31:16 +0200 From: David =?iso-8859-1?Q?Sieb=F6rger?= To: Ivajlo Nikolov Cc: stable@FreeBSD.ORG Subject: Re: Static ARP table Message-ID: <20020911143116.GB601@rucus.ru.ac.za> References: <3D7F3D34.9BB71DB6@mobikom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3D7F3D34.9BB71DB6@mobikom.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed 2002-09-11 (15:55), Ivajlo Nikolov wrote: > I want my arp table to be static and entries pushed with "arp -s > hostname ether_addr" to be the only in the table. How can I set my arp > table to be static. I read in a maling list that this can be made with > sysctl net.link.ether.inet.static_arp. But there is no such oid in my > box except this one: > > #> sysctl -a | grep arp > net.link.ether.inet.log_arp_wrong_iface: 1 See the "-arp" parameter in ifconfig(8). This PR has patches which will set up static ARP tables during the rc process quite neatly: http://www.freebsd.org/cgi/query-pr.cgi?pr=23063 -- David Siebörger drs@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message