From owner-svn-src-all@FreeBSD.ORG Wed Aug 26 10:19:58 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19544106568C; Wed, 26 Aug 2009 10:19:58 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206049004.chello.pl [87.206.49.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4CE8C8FC19; Wed, 26 Aug 2009 10:19:56 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id ECB4845B36; Wed, 26 Aug 2009 12:19:54 +0200 (CEST) Received: from localhost (pdawidek.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 21C0C45684; Wed, 26 Aug 2009 12:19:50 +0200 (CEST) Date: Wed, 26 Aug 2009 12:19:53 +0200 From: Pawel Jakub Dawidek To: Gleb Kurtsou Message-ID: <20090826101953.GC3055@garage.freebsd.pl> References: <200908251907.n7PJ7QiO036868@svn.freebsd.org> <20090825194258.GB1471@tops> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0/kgSOzhNoDC5T3a" Content-Disposition: inline In-Reply-To: <20090825194258.GB1471@tops> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Xin LI Subject: Re: svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 10:19:58 -0000 --0/kgSOzhNoDC5T3a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 25, 2009 at 10:42:58PM +0300, Gleb Kurtsou wrote: > On (25/08/2009 19:07), Xin LI wrote: > > Author: delphij > > Date: Tue Aug 25 19:07:26 2009 > > New Revision: 196550 > > URL: http://svn.freebsd.org/changeset/base/196550 > >=20 > > Log: > > Add a new rc.d script, static_arp, which enables the administrator to > > statically bind IPv4 <-> MAC address at boot time. > > =20 > > In order to use this, the administrator needs to configure the follow= ing > > rc.conf(5) variable: > > =20 > > - static_arp_pairs: A list of names for static bind pairs, and, > > - a series of static_arp_(name): the arguments that is being passed = to > > ``arp -S'' operation. > > =20 > > Example: > > static_arp_pairs=3D"gw" > > static_arp_gw=3D"192.168.1.1 00:01:02:03:04:05" > > =20 > > See the rc.conf(5) manual page for more details. > Thanks for it! >=20 > Would you please add support for reading pairs from file, that should be > trivial. I've been using my own rc script for reading static arp entries > from file but can't find it right now. I put '/usr/sbin/arp -f /etc/arp.conf' into /etc/rc.local on almost all of my servers, which is very handy, indeed. And with your patch proposed in another e-mail to be able to remove entries defined in a file seems to be a complete solution. I'd also like to see support for it. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --0/kgSOzhNoDC5T3a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFKlQxJForvXbEpPzQRAlocAJ9f43hx7eH5+Eyd3t4f+UM9CVFXtACg8K6r pw0f5zn8fIRxM1FgOichzCQ= =x5xm -----END PGP SIGNATURE----- --0/kgSOzhNoDC5T3a--