Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2004 17:35:30 +0400
From:      Alex Semenyaka <flist@jabberwock.rinet.ru>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        Peter Pentchev <roam@ringlet.net>
Subject:   Re: [RFC] ifconfig: match by link-level address
Message-ID:  <20040521133530.GA1403@qqmore.rinet.ru>
In-Reply-To: <20040520171833.GA22494@Odin.AC.HMC.Edu>
References:  <20040520162919.GA1971@straylight.m.ringlet.net> <20040520171833.GA22494@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 20, 2004 at 10:18:38AM -0700, Brooks Davis wrote:
>> This could be the first step towards teaching rc.conf about something like
>> network_interfaces_rename="hw-00:03:0d:08:dc:a7 sis0int"
> I don't really like the idea of adding magic values to the interface
> namespace that only work with ifconfig.  If you want ifconfig to match

I agree, but there is another option: make such things not ifconfig-specific.
I mean that it could be done though renaming the interface into the some
lladdr-dependent name with fixed format. For example,

ifconfig fxp0 llname

will rename fxp0 into hw-00-90-27-35-ca-0c. As far as we know the format and
MAC-address we could then do

ifconfig hw-00-90-27-35-ca-0c name pppoeint

This could be implemented easely right now and then automated though /etc/rc*

Actually the discussing feature is long time expected one, so it would be nice
to have it implemented finally :)

Sincerely,
Alex Semenyaka



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