Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2009 02:01:34 +0200
From:      Adrian Penisoara <ady@freebsd.ady.ro>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-rc@freebsd.org, d@delphij.net
Subject:   Re: [RFC] script for binding ARP <-> IP pairs
Message-ID:  <78cb3d3f0908101701o6ea649cfk6a7d5e721d079866@mail.gmail.com>
In-Reply-To: <78cb3d3f0908101113s412021adk8956dd083a8fed72@mail.gmail.com>
References:  <4A7B2792.4090803@delphij.net> <4A7B487B.8060303@FreeBSD.org> <4A7F948A.2040602@delphij.net> <4A7F9EC6.9090605@FreeBSD.org> <4A7FAA42.4030607@delphij.net> <alpine.BSF.2.00.0908092234390.50801@qbhto.arg> <78cb3d3f0908101113s412021adk8956dd083a8fed72@mail.gmail.com>

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

On Mon, Aug 10, 2009 at 8:13 PM, Adrian Penisoara <ady@freebsd.ady.ro>wrote:

> Hi,
>
> On Mon, Aug 10, 2009 at 7:34 AM, Doug Barton <dougb@freebsd.org> wrote:
>
>> On Sun, 9 Aug 2009, Xin LI wrote:
>>
>>  Hi, Doug,
>>>
>>> Doug Barton wrote:
>>>
>>>> Xin LI wrote:
>>>>
>>>>  Thanks for your comments, I have put together the revised patch, along
>>>>> with rc.conf.5 and defaults/rc.conf changes.
>>>>>
>>>>
>>>> Glad to help. This looks fine except that you need an entry for
>>>> static_arp_enable in defaults rc.conf and rc.conf.5.
>>>>
>>>
>>> This script does not require the enable knob.  If the static_arp_pairs
>>> is not empty then the script would add the entries, otherwise it will
>>> not do that.  Do you think we need an "enable" knob for it?  I can add
>>> it but I don't feel strongly for the idea, since it would make a
>>> redundant entry to represent the same semantic.
>>>
>>
>> I missed the fact that you're not using rcvar. I'm sort of ambivalent
>> about that, as I prefer things to be
>
>
> I guess you could compare this to the cloned_interfaces rcvar...
>
>

I stand corrected: it's rather more similar to the "static_routes /
route_xxx" concept. I guess we have an entire class of such rc subroutines
which are not $name_enable'd.

Regards,
Adrian.



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