From owner-freebsd-net@FreeBSD.ORG Thu Aug 8 22:30:41 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 14B7615D for ; Thu, 8 Aug 2013 22:30:41 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-vc0-x235.google.com (mail-vc0-x235.google.com [IPv6:2607:f8b0:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C256927F3 for ; Thu, 8 Aug 2013 22:30:40 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id hz10so549249vcb.12 for ; Thu, 08 Aug 2013 15:30:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=819tV5gfItjgVWuY9uoqDFYwCbWz85uZzGhZwJTsy9Y=; b=UESf9Ynyf2957XosfD4HfT8GlRsOwT2+J6uDnQXGoyeEqCF7BULz2Y6tvnTHi9Dpd4 wrgHzf1wkL8mfysn6JrG+aA4UEdc9AYe1t0FJyB4HfB2AKhAjY3RPdhh454EBA0eRbfc SOwr/ZjG2EhgRa+2tf4hvCAdfJqrzlzNsYLwo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=819tV5gfItjgVWuY9uoqDFYwCbWz85uZzGhZwJTsy9Y=; b=FR2Vsug6B71kP3ME6FCcacGFBb+isCA8Io46rE1dZFw7PI5RiKkaTWpD88g+g7o9lk CJW6PZUeOP37VX+xheWDphI++kWHaSB6thElBNIaVOKT0gA6bwWMBY0P/9qHsCtTznzc BWnvEudHexTPGbK4laAnohWbgJExSYGxyG3JKum5l7VZkNtpRjtvpwcqxX8gu1Ki4DGF tK/rNT2bXCNqTKH+/MoB59c1GiJPiouTWojVONDryCGHqUuTpYAYtIVIkXHlWAn1IuHp z0g04OXc4x69km2aCsVs4eZyhzGlBr8wv1IvRHsS+ajUH3yis8VzvNWfa53tmGFk9K83 P4qA== X-Gm-Message-State: ALoCoQnkRY+PXy2ZDkddWCjh8aF+Sm1xZfp2mShlDBz6sPmpMs1pTWEdl+KX5l4bDkoT5TV5FhNE MIME-Version: 1.0 X-Received: by 10.220.50.10 with SMTP id x10mr3374544vcf.86.1376001039946; Thu, 08 Aug 2013 15:30:39 -0700 (PDT) Received: by 10.220.167.74 with HTTP; Thu, 8 Aug 2013 15:30:39 -0700 (PDT) In-Reply-To: <20130808214652.GZ34979@over-yonder.net> References: <20130808133055.15e53b94@davenulle.org> <1F113410-18DE-47CF-96C1-5EE4E8BC4980@dataix.net> <1375977240.3930.7571559.74F89736@webmail.messagingengine.com> <20130808214652.GZ34979@over-yonder.net> Date: Thu, 8 Aug 2013 15:30:39 -0700 Message-ID: Subject: Re: how calculate the number of ip addresses in a range? From: Peter Wemm To: "Matthew D. Fuller" Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-net@freebsd.org" , Michael Sierchio , Mark Felder 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: Thu, 08 Aug 2013 22:30:41 -0000 On Thu, Aug 8, 2013 at 2:46 PM, Matthew D. Fuller wrote: > On Thu, Aug 08, 2013 at 08:55:38AM -0700 I heard the voice of > Michael Sierchio, and lo! it spake thus: >> >> pkg_add -r ipsc > > For another, there's a "cidrcalc" program installed by devel/libcidr > (full disclosure: of which I'm the author) that does similar things I still suspect he was asking for somebody to do his homework for him. A third party tool doesn't work for that. He needs the math for it. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV UTF-8: for when a ' just won\342\200\231t do. ZFS must be the bacon of file systems. "everything's better with ZFS"