Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2000 09:04:09 +0200
From:      "Andre Goeree" <abgoeree@uwnet.nl>
To:        freebsd-stable@freebsd.org
Subject:   [Re: multiple tun devices while only 1 enabled in kernel]
Message-ID:  <20000901090409.A1333@freebee.attica.home>

next in thread | raw e-mail | index | archive | help
----- Forwarded message from Andre Goeree <abgoeree@uwnet.nl> -----

Subject: Re: multiple tun devices while only 1 enabled in kernel
From: Andre Goeree <abgoeree@uwnet.nl>
To: Nick Slager <nicks@albury.net.au>
Date: Fri, 1 Sep 2000 08:51:37 +0200

On Fri, Sep 01, 2000 at 05:35:32PM +1100, Nick Slager wrote:
> Thus spake Andre Goeree (abgoeree@uwnet.nl):
> 
> > Huh?, thought i had only 1 tun device configured.......
> > At least it's not what i expected, it should say something like
> > "device tun0 not available" (like in 3.4-R, don't know exactly 
> > where it has been changed).
> 
> tun devices are dynamically generated in FreeBSD 4.0 and above. I
> believe bpf devices are the same.
> 

Ok, but what if i only want to use tun0 and don't care
for the other devices....

Why suggest LINT and GENERIC that you can configure a number
of these devices?

GENERIC:
# Pseudo devices - the number indicates how many units to allocated.
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
pseudo-device   tun             # Packet tunnel.
pseudo-device   bpf             #Berkeley packet filter

IMHO should this not be something like:

# Pseudo devices - Dynamically generated.
                   ^^^^^^^^^^^^^^^^^^^^^
pseudo-device   tun             # Packet tunnel.
pseudo-device   bpf             #Berkeley packet filter

Regards,

Andre
-- 
Ago
 abgoeree@uwnet.nl



----- End forwarded message -----

-- 
Ago
 abgoeree@uwnet.nl


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




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