From owner-freebsd-net@FreeBSD.ORG Mon Aug 12 09:18:30 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 BFBE5C47 for ; Mon, 12 Aug 2013 09:18:30 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 319C2273E for ; Mon, 12 Aug 2013 09:18:30 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id n6so396822lbi.8 for ; Mon, 12 Aug 2013 02:18:28 -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=aw3y2Fhyx65UmW4m/USfBVZHgDGzC1SAuMHgwgUpYb0=; b=mt9F9D9IKZTdO8YKqlj3qZ/UOigVXJFAWH16gQegkfnxaZcTx2Tp5uLcD1pq9Bwkp2 RyapYtvLQmwx2ziKmZ+qlkevIgUYx2WZsR6feMzc9ASCVHY2knqy+gQqJ9Vy4dOsm/Xd GlXwgqPmCLNM1tuTNec1yrTZT6SzMVQrzXZDWH4lNoOvs5onVXl8i1Cu6lQlMBOAJzxg yjv4SSYCSxvkRBSJ2EpFXbM31TTtW/L3g039eVaCaUC5wf90c8sgYr2enW/kX8J97A8o 2PI9tA5Ql4Qd+iTxfaSaQqsa6fxGVucDaiE+awc8Ffkem9tglbL6tQbMfkwLbuV6N2HO b7+g== MIME-Version: 1.0 X-Received: by 10.112.14.102 with SMTP id o6mr9399242lbc.28.1376299108208; Mon, 12 Aug 2013 02:18:28 -0700 (PDT) Received: by 10.112.147.230 with HTTP; Mon, 12 Aug 2013 02:18:28 -0700 (PDT) In-Reply-To: References: <20130812.071303.74723582.sthaug@nethelp.no> Date: Mon, 12 Aug 2013 13:48:28 +0430 Message-ID: Subject: Re: how define network with mask 8 for dhcp server? From: s m To: Andreas Nilsson 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:18:30 -0000 yup, absolutely right:) is there any way to improve performance??? do you have any suggestion? 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 >>> >> >> >