From owner-freebsd-net@FreeBSD.ORG Thu Sep 1 06:20:54 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21DC116A41F for ; Thu, 1 Sep 2005 06:20:54 +0000 (GMT) (envelope-from bikrant_ml@wlink.com.np) Received: from krishna.wlink.com.np (krishna.wlink.com.np [202.79.32.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40DD943D45 for ; Thu, 1 Sep 2005 06:20:53 +0000 (GMT) (envelope-from bikrant_ml@wlink.com.np) Received: from bikrant.org.np (bikrant.wlink.com.np [202.79.36.168]) by krishna.wlink.com.np (Postfix) with ESMTP id EC2F6625D6 for ; Thu, 1 Sep 2005 12:08:17 +0545 (NPT) From: Bikrant Neupane To: freebsd-net@freebsd.org Date: Thu, 1 Sep 2005 12:05:37 +0545 User-Agent: KMail/1.8.1 References: <200509011144.56768.bikrant_ml@wlink.com.np> In-Reply-To: <200509011144.56768.bikrant_ml@wlink.com.np> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509011205.37877.bikrant_ml@wlink.com.np> Subject: Re: Maximum tun devices X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2005 06:20:54 -0000 Well, I found the answer :) sh /dev/MAKEDEV tun256 tun500 Bikrant On Thursday 01 September 2005 11:44, Bikrant Neupane wrote: > Hi, > > I am using FreeBSD 4.9 as PPPoE Concentrator. This system has to server > 500+ pppoe clients. Initially there were only four tun devices in the > system. I added more tun devices. However I could not add more than 255 > tunnel devices. > > mknod /dev/tun256 c 52 256 > mknod: major or minor number too large > > Do I need to add support for more than 255 tun devices in kernel or do I > need to use some other major number for tunnels higher than 255 ? > Please suggest. > > Thanking you, > Bikrant > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"