Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2001 14:35:30 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        net@FreeBSD.ORG, arch@FreeBSD.ORG
Subject:   Re: review request: creating cloneable interfaces at boot
Message-ID:  <20010914143530.E12915@sunbay.com>
In-Reply-To: <20010913200221.A11788@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Thu, Sep 13, 2001 at 08:02:21PM -0700
References:  <20010913200221.A11788@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 13, 2001 at 08:02:21PM -0700, Brooks Davis wrote:
> I'd like to commit something like the following patch to create clonable
> interfaces at boot so they can be configured the normal way.  Any one
> have comments or suggestions?
> 
Umm, how about extending the ${network_interfaces} functionality as follows.
For each ${network_interfaces} argument,

1.  if the value is `auto', add `ifconfig -l' to the list of interfaces
2.  for every other argument which is not in the `ifconfig -l' list
    (ifconfig -l | grep -wq ${ifn} returns non-zero), but in the
    list of cloners (ifconfig -L) creates the corresponding interface.


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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