Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2000 08:51:37 +0200
From:      abgoeree@uwnet.nl
To:        Nick Slager <nicks@albury.net.au>
Subject:   Re: multiple tun devices while only 1 enabled in kernel
Message-ID:  <20000901085137.A1139@freebee.attica.home>
In-Reply-To: <20000901173531.A94693@albury.net.au>; from nicks@albury.net.au on Fri, Sep 01, 2000 at 05:35:32PM %2B1100
References:  <20000901082925.A907@freebee.attica.home> <20000901173531.A94693@albury.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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?20000901085137.A1139>