Can you explain why you need to create a net device? Linux (and many
other OSes) typically tie discovery of hardware resources to creating a
network device i.e the kernel creates it for you (this is true even when
the discovery is done post bootup). The only exception is things like
tun/ethertap as Stephen mentions. Things like allocation of ifindices
are also under the control of the OS - even when you are able to create.
cheers,
jamal
On Wed, 2005-03-02 at 14:26, Stephen Hemminger wrote:
> On Wed, 2 Mar 2005 14:38:28 +0100 (CET)
> BZ Benny <bennybbz@xxxxxxxx> wrote:
>
> > Hi
> >
> > I want to create a network interface from the user
> > space,
> > is it possible?
>
> No, you can't create a network interface from user space.
> You probably want to use tun/tap or ethertap device.
>
>
|