svn commit: r196550 - in head: etc/defaults etc/rc.d
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Aug 26 10:19:58 UTC 2009
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
> > Log:
> > Add a new rc.d script, static_arp, which enables the administrator to
> > statically bind IPv4 <-> MAC address at boot time.
> > In order to use this, the administrator needs to configure the following
> > rc.conf(5) variable:
> > - 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.
> > Example:
> > static_arp_pairs="gw"
> > static_arp_gw="192.168.1.1 00:01:02:03:04:05"
> > See the rc.conf(5) manual page for more details.
> Thanks for it!
> 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.
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20090826/eeb2511f/attachment.pgp
More information about the svn-src-all