From owner-freebsd-questions Tue May 18 20:47: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 9E25D14C0B for ; Tue, 18 May 1999 20:46:56 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id NAA05010; Wed, 19 May 1999 13:16:54 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id NAA05815; Wed, 19 May 1999 13:16:54 +0930 (CST) From: Greg Lehey Date: Wed, 19 May 1999 13:16:54 +0930 To: Tim Pushor Cc: questions@FreeBSD.ORG Subject: Re: Number of TUN devices Message-ID: <19990519131654.U89091@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <002901bea265$bf30de00$9801a8c0@blackthorn.com>; from Tim Pushor on Wed, May 19, 1999 at 08:09:09PM -0600 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Format recovered--see http://www.lemis.com/email/email-format.html] On Wednesday, 19 May 1999 at 20:09:09 -0600, Tim Pushor wrote: > On Tuesday, May 18, 1999 5:47 PM, Greg Lehey wrote: >> On Tuesday, 18 May 1999 at 12:31:44 -0600, Tim Pushor wrote: >>> Hello, >>> >>> Does anyone know how man tun devices I can run in the 3.x kernels? >>> I would like to run LOTS (as many as possible), so even if I had >>> to potentially modify the kernel... >> >> I don't know of any hard limit. Have you tried it? > > No, I havn't tried. > > Just because the kernel config may take a high number doesn't necessarily > mean it will work properly :) and I don't have the resources to test a high > number of TUN devices quite yet. > > I imagine I would have to tweak other configuration items to ensure proper > buffers, etc. Just hoping someone would have done it before and relay their > experience.. It depends entirely on what you're doing with all these tun devices, and you haven't divulged that. If it's (user) PPP, I don't think you'll have many problems. It would take a lot of tun connections to make the bandwidth of a 100 Mb/s Ethernet. If you're using it as a form of interprocess communication, things might look different. Any unusual application has the potential to expose configuration weaknesses, but you won't know until you try. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message