From owner-freebsd-net@FreeBSD.ORG Mon Aug 12 10:17:14 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0BF4680 for ; Mon, 12 Aug 2013 10:17:14 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-qa0-x22e.google.com (mail-qa0-x22e.google.com [IPv6:2607:f8b0:400d:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BE14A2C63 for ; Mon, 12 Aug 2013 10:17:13 +0000 (UTC) Received: by mail-qa0-f46.google.com with SMTP id bq6so912888qab.12 for ; Mon, 12 Aug 2013 03:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=hFRK022Vg9L4pvrvVK2w/pK4wIm/iDC8XQBEt10nT5Q=; b=XxlGz1uNUiyQkdLUMOo+REWR2fLEaVEw90yE6fkmqeYEGaaAIA4gsXA0oSNTPKA60F UqmRzPN3Jq70zTn+MiGt8dl2n//B8PXlFyGRwMV4qXO8djbUbVEaiWOSZ5v7ZmSbgF3l A7djfmxVamy5Ij28gTGB+W8OLHMkh36pdApbsZzx0MMX0Gt3dmf3yzdrtQ4d1r0hU+xE RF1MryAOusYfZBPaKjYNgbmWl/IiWTyc9oXTq59Z71ZDK1GvCExJ9PfaBvYH3ZUEUIJV NF1KHn4/YNY0CeXjCFhMtlrBimZsffglIx+C86/qyYg/x8MtYNADG6NgGI9vT4VQR9S+ FdkQ== MIME-Version: 1.0 X-Received: by 10.49.42.103 with SMTP id n7mr13319271qel.75.1376302632363; Mon, 12 Aug 2013 03:17:12 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.49.62.41 with HTTP; Mon, 12 Aug 2013 03:17:12 -0700 (PDT) In-Reply-To: References: <20130812.071303.74723582.sthaug@nethelp.no> Date: Mon, 12 Aug 2013 17:17:12 +0700 X-Google-Sender-Auth: nWFtLL9I7s0z4UBf7osxuvVFIeU Message-ID: Subject: Re: how define network with mask 8 for dhcp server? From: Olivier Nicole To: s m Content-Type: text/plain; charset=ISO-8859-1 Cc: Olivier Nicole , FreeBSD Net , sthaug@nethelp.no, Andreas Nilsson X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 10:17:14 -0000 Sam, > is there any way to improve performance??? do you have any suggestion? Unless it is on paper, do not even try to offer a /8 network, makes subnets out of it and have as many DHCP servers as you need. It is simply impossible to run a /8 network, so it make no sense offering such a thing. Limit your scripts to what makes sense. Best regards, Olivier > > > On Mon, Aug 12, 2013 at 1:38 PM, Andreas Nilsson wrote: > >> Well, thats another problem :) At least dhcpd doesn't crash and could >> deliver the full range of a /8 network. >> >> Best regards >> Andreas >> >> >> >> On Mon, Aug 12, 2013 at 11:00 AM, s m wrote: >> >>> thanks Andreas, but it can not help me. it uses all my RAM memory yet:( >>> >>> >>> On Mon, Aug 12, 2013 at 12:14 PM, Andreas Nilsson wrote: >>> >>>> >>>> On Mon, Aug 12, 2013 at 7:13 AM, wrote: >>>> >>>>> > you're right Olivier, but you know i have a user interface for dhcp >>>>> and i >>>>> > should handle all the network and ranges which are inserted by user >>>>> and >>>>> > logically are true. network with mask 8, logically is true and having >>>>> > million available ip address, too. >>>>> > i just wanna know if there is any solution to improve my performance >>>>> or not. >>>>> >>>>> There is no solution with ISC DHCP. I doubt you'll find other suitable >>>>> alternatives, but you're free to try of course. >>>>> >>>>> Steinar Haug, Nethelp consulting, sthaug@nethelp.no >>>>> >>>>> >>>> One thing to try is to have more range statements in the block, like: >>>> >>>> subnet 192.0.0.0 netmask 255.0.0.0 >>>> { >>>> range 192.0.0.1 192.127.255.255; >>>> range 192.128.0.0 192.255.255.255; >>>> } >>>> >>>> Best regards >>>> Andreas >>>> >>> >>> >> > _______________________________________________ > 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"