From owner-freebsd-stable Thu Aug 31 23:56:32 2000 Delivered-To: freebsd-stable@freebsd.org Received: from server.raadinfo.net (smtp2.uwnet.nl [195.7.130.55]) by hub.freebsd.org (Postfix) with ESMTP id 7CF7B37B423 for ; Thu, 31 Aug 2000 23:56:29 -0700 (PDT) Received: from port236.isd.to (port14.isd.to [195.7.129.14]) by server.raadinfo.net (8.9.3/8.9.3) with ESMTP id IAA11506 for ; Fri, 1 Sep 2000 08:53:27 +0200 From: abgoeree@uwnet.nl Received: (qmail 1248 invoked by uid 1000); 1 Sep 2000 06:55:29 -0000 Date: Fri, 1 Sep 2000 08:51:37 +0200 To: Nick Slager Subject: Re: multiple tun devices while only 1 enabled in kernel Message-ID: <20000901085137.A1139@freebee.attica.home> Reply-To: abgoeree@uwnet.nl References: <20000901082925.A907@freebee.attica.home> <20000901173531.A94693@albury.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20000901173531.A94693@albury.net.au>; from nicks@albury.net.au on Fri, Sep 01, 2000 at 05:35:32PM +1100 X-Sender: abgoeree@uwnet.nl Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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