Subject: Re: Attack of the clones: turning sl*, strip*, ppp* into cloners.
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
From: Nick Amato <naamato@nexthop.com>
List: tech-net
Date: 02/26/2002 15:19:04
On Tue, Feb 26, 2002 at 03:10:06PM -0500, Michael Richardson wrote:
> 
> >>>>> "Andrew" == Andrew Brown <atatat@atatdot.net> writes:
>     >> But, I can say:
>     >> 
>     >> pseudo-device ppp 2
>     >> 
>     >> and have ppp0/ppp1 as I do now?
> 
>     Andrew> not currently, no, because in the kernel code that supports ppp,
>     Andrew> it used to check to see how many (possibly zero) interfaces of a
>     Andrew> specific type ( in this case ppp) you wanted, but cloning
>     Andrew> interfaces simply check to see if you want it or not.
> 
>   Ah.
> 
>     Andrew> that said, adding such a facility for automatic pre-creation of
>     Andrew> cloning interfaces ought not to be very hard.
> 
>   Yes, it would be good to do that for awhile so that people aren't confused.
> ("How come I do not have any PPP devices. Look, I compiled them into the
> kernel!")

It's worth noting that the configuration of cloning interfaces at
boot precludes the use of 'auto_ifconfig' in rc.conf(5),  since
the interfaces must be created first, e.g. 'net_interfaces' must
list them explicitly.

Nick Amato