Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2009 12:19:53 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Gleb Kurtsou <gleb.kurtsou@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Xin LI <delphij@FreeBSD.org>
Subject:   Re: svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5
Message-ID:  <20090826101953.GC3055@garage.freebsd.pl>
In-Reply-To: <20090825194258.GB1471@tops>
References:  <200908251907.n7PJ7QiO036868@svn.freebsd.org> <20090825194258.GB1471@tops>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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