From owner-freebsd-stable Fri Sep 1 0: 5:15 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 BB63137B422 for ; Fri, 1 Sep 2000 00:05:12 -0700 (PDT) Received: from port77.isd.to (port77.isd.to [195.7.129.77]) by server.raadinfo.net (8.9.3/8.9.3) with ESMTP id JAA11570 for ; Fri, 1 Sep 2000 09:02:11 +0200 Received: (qmail 1340 invoked by uid 1000); 1 Sep 2000 07:04:09 -0000 From: "Andre Goeree" Date: Fri, 1 Sep 2000 09:04:09 +0200 To: freebsd-stable@freebsd.org Subject: [Re: multiple tun devices while only 1 enabled in kernel] Message-ID: <20000901090409.A1333@freebee.attica.home> Reply-To: abgoeree@uwnet.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Sender: abgoeree@uwnet.nl Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Forwarded message from Andre Goeree ----- Subject: Re: multiple tun devices while only 1 enabled in kernel From: Andre Goeree To: Nick Slager 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