From owner-freebsd-stable Wed Sep 11 8:11:33 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 D072937B400 for ; Wed, 11 Sep 2002 08:11:29 -0700 (PDT) Received: from Millions.Ca (h24-79-52-254.sbm.shawcable.net [24.79.52.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1216543E42 for ; Wed, 11 Sep 2002 08:11:29 -0700 (PDT) (envelope-from stacy@Millions.Ca) Received: (from uucp@localhost) by Millions.Ca (8.11.1/8.9.3) id g8BFBS671815; Wed, 11 Sep 2002 09:11:28 -0600 (MDT) (envelope-from stacy@Millions.Ca) Received: from Cedar.Millions.Ca(192.168.64.8) via SMTP by mail-gw-0.millions.ca, id smtpdh71813; Wed Sep 11 09:11:20 2002 Received: from millions.ca (Bonsai.Millions.Ca [192.168.64.4]) by cedar.millions.ca (8.12.2/8.12.3) with ESMTP id g8BFBJcM000824; Wed, 11 Sep 2002 09:11:20 -0600 (MDT) (envelope-from stacy@millions.ca) Message-ID: <3D7F5D17.50609@millions.ca> Date: Wed, 11 Sep 2002 09:11:19 -0600 From: Stacy Millions Organization: Millions Consulting Limited User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020612 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ivajlo Nikolov Cc: stable@FreeBSD.ORG Subject: Re: Static ARP table References: <3D7F3D34.9BB71DB6@mobikom.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit 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 Ivajlo Nikolov wrote: > Excuse me for this question - may be it's not for stable. > > 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 > > Any ideas, help ??? If I understand you correctly, you want to disable the arp protocol so that the only entries in your arp table are the static ones that you add. If that is the case, you want to use the -arp option to ifconfig to disable arp on the interface in qestion. Keep in mind, that disabling the arp protocol means your box will not respond to arp request, so all host on your network must be configured in this manner (I hope it is a small network :-) -stacy -- If they keep lowering education standards and raising the price of gasoline, there are going to be a lot of stupid people walking around. Stacy Millions stacy@millions.ca Millions Consulting Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message