From owner-svn-src-all@FreeBSD.ORG Tue Aug 25 20:15:42 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 34207106568B; Tue, 25 Aug 2009 20:15:42 +0000 (UTC) (envelope-from gleb.kurtsou@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 273BB8FC22; Tue, 25 Aug 2009 20:15:40 +0000 (UTC) Received: by fxm6 with SMTP id 6so2303274fxm.43 for ; Tue, 25 Aug 2009 13:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=BDOGocis9bV+HC9nTR00zJFUu7U7Dk2StKRjSUeYRvw=; b=AkYxf/eiiEpYSvVkvGLcVNlcgkPQ/QIGCNR1CvtoF3Q60NhYWwDlGI1SspPlyUAIYl 9VTE0tbySIXw4BEjJAkKMT4UOZ+1nV/gKyvI/SUszqn0szpOAZDNRYClFHB0U1yLtkXE 7OIH4IM985gRQ+l15s+XkRfxRT57NrcC9H/6Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=ec30ceF+Z++aXjPlBgRcL8Vh0DdioGGm4JkjPbEnMY8fmmWWxLteOX0FCf8b2/GF3z 9vNtdh97TzHwTbqRBAUoVemO+UDt60ZSNRieeFnylrb4g6vGPqC+geI9rJV+3D4YYmEP zaK+UhUDmg7ur1yeQXGYSTLmCfakMXpdLkEtc= Received: by 10.103.86.13 with SMTP id o13mr2255068mul.6.1251229400732; Tue, 25 Aug 2009 12:43:20 -0700 (PDT) Received: from localhost (lan-78-157-90-54.vln.skynet.lt [78.157.90.54]) by mx.google.com with ESMTPS id y2sm3346805mug.12.2009.08.25.12.43.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Aug 2009 12:43:19 -0700 (PDT) Date: Tue, 25 Aug 2009 22:42:58 +0300 From: Gleb Kurtsou To: Xin LI Message-ID: <20090825194258.GB1471@tops> References: <200908251907.n7PJ7QiO036868@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <200908251907.n7PJ7QiO036868@svn.freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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 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: Tue, 25 Aug 2009 20:15:42 -0000 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.