svn commit: r196550 - in head: etc/defaults etc/rc.d
gleb.kurtsou at gmail.com
Tue Aug 25 20:15:42 UTC 2009
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
> 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.
> 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.
More information about the svn-src-all