Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 1999 13:16:54 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Tim Pushor <timp@orion.ab.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Number of TUN devices
Message-ID:  <19990519131654.U89091@freebie.lemis.com>
In-Reply-To: <002901bea265$bf30de00$9801a8c0@blackthorn.com>; from Tim Pushor on Wed, May 19, 1999 at 08:09:09PM -0600

next in thread | previous in thread | raw e-mail | index | archive | help
[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 <grog@lemis.com> 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




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