From owner-freebsd-net@FreeBSD.ORG Mon Aug 12 09:08:17 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D61D050E for ; Mon, 12 Aug 2013 09:08:17 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-oa0-x236.google.com (mail-oa0-x236.google.com [IPv6:2607:f8b0:4003:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9A6D726A1 for ; Mon, 12 Aug 2013 09:08:17 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id o6so9469037oag.27 for ; Mon, 12 Aug 2013 02:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WVqT5iWA9wfTnA/Xs+rvTaOVIY2USuMF7W+OM0I8/3Y=; b=lt/Rn1oKO+8c/VRx9yB1XiFWjt6gWtt+hkqSgu47cdSgmZUZeGEMheN6mE/OWpZNH+ K93/XD712vwcSn3Us+lYjSkR5OIIUGa5AArMdtIYCwMNj1PZdFdswjvd64Gn1RQL8IYO jxsG7fr7zNIxbD4ops8aBnmaL+eN2uy6rWo1T3tDBP4QplUbAst/gzmVOOecCnrBl7+c PKlKfuW3EROsm64YBHJ0pGK82qp8tVYrOFPNiCp1hLM/DOkjUtEOVeqrarhkenogfeev zxHlrNkTTjx8Hy1jkI3lkVSLZLzMOXR1MetQT4EU9BbuL1qyERD/6wq3LExzmRalGPRo yDIg== MIME-Version: 1.0 X-Received: by 10.60.51.41 with SMTP id h9mr9988692oeo.49.1376298496700; Mon, 12 Aug 2013 02:08:16 -0700 (PDT) Received: by 10.76.108.143 with HTTP; Mon, 12 Aug 2013 02:08:16 -0700 (PDT) In-Reply-To: References: <20130812.071303.74723582.sthaug@nethelp.no> Date: Mon, 12 Aug 2013 11:08:16 +0200 Message-ID: Subject: Re: how define network with mask 8 for dhcp server? From: Andreas Nilsson To: s m Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Olivier Nicole , FreeBSD Net , Olivier Nicole , sthaug@nethelp.no 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 09:08:17 -0000 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 >> > >