Date: Tue, 25 Aug 2009 22:42:58 +0300 From: Gleb Kurtsou <gleb.kurtsou@gmail.com> To: Xin LI <delphij@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5 Message-ID: <20090825194258.GB1471@tops> In-Reply-To: <200908251907.n7PJ7QiO036868@svn.freebsd.org> References: <200908251907.n7PJ7QiO036868@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Thanks, Gleb.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090825194258.GB1471>