From owner-freebsd-net@FreeBSD.ORG Thu Aug 8 15:55:46 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 02133B59 for ; Thu, 8 Aug 2013 15:55:46 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C06C02E53 for ; Thu, 8 Aug 2013 15:55:45 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id h1so5413078oag.24 for ; Thu, 08 Aug 2013 08:55:39 -0700 (PDT) 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=pMdx1HtpSMK9CIHxr1y9gviqM1etjjVcGZGomZxYBPw=; b=NmILy5epdzXnlTkJCF78hUAHD/BCnuXnQu0PmiF/agK6XuGAYA0mOn7eMQEJg+/gyl W1546TqL4l5bv4zUEVNXHHpGnQfU/N+ffHMfuxvDDNcOL4S3nJR5TouQUvjv/ApVXpgD xiJWf74UxsQqKSktmB2ZlejksU075CULRFyk+zI/YciCm3+z1Zo1Jyh3sNNCQo981Pnd jiLbv2NyucSss+QBXzLZNY/PFGaqxu1rXej4iaeXEghYxPp3PtwyR5GUsBjIVp6Ya4NY fE8xuiBCzaovcxfXL9YNv2O6M8nMnNobDMCCTtTkyVfgbNFAaCtXIwSNgOccl2YEXyp+ 2FBQ== X-Gm-Message-State: ALoCoQlKwg0/o9t0GfjWisW6pNS8st/rDfEvm1uCTFKV2K2lDpmoh0yGtVZwl+Mvo4pjkE1AsSuC MIME-Version: 1.0 X-Received: by 10.182.171.74 with SMTP id as10mr6687674obc.70.1375977338909; Thu, 08 Aug 2013 08:55:38 -0700 (PDT) Received: by 10.60.21.69 with HTTP; Thu, 8 Aug 2013 08:55:38 -0700 (PDT) In-Reply-To: <1375977240.3930.7571559.74F89736@webmail.messagingengine.com> References: <20130808133055.15e53b94@davenulle.org> <1F113410-18DE-47CF-96C1-5EE4E8BC4980@dataix.net> <1375977240.3930.7571559.74F89736@webmail.messagingengine.com> Date: Thu, 8 Aug 2013 08:55:38 -0700 Message-ID: Subject: Re: how calculate the number of ip addresses in a range? From: Michael Sierchio To: Mark Felder Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-net@freebsd.org" 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 15:55:46 -0000 pkg_add -r ipsc > ipsc -gch 10.80.128.0/27 Network class: A Network mask: 255.0.0.0 Network mask (hex): FF000000 Network address: 10.80.128.0 Subnet bits: 19 Max subnets: 524288 Full subnet mask: 255.255.255.224 Full subnet mask (hex): FFFFFFE0 Host bits: 5 Addresses per subnet: 32 Bit map: nnnnnnnn.ssssssss.ssssssss.ssshhhhh IP address: 10.80.128.0 Hexadecimal IP address: A508000 Host allocation range: 10.80.128.1 - 10.80.128.30 Full subnet mask: 255.255.255.224 Subnet mask: 0.255.255.224 Subnet ID: 0.80.128.0 Network ID: 10.0.0.0 Host ID: 0.80.128.0 CIDR notation: 10.0.0.0 /27 Supernet max: 0 Cisco wildcard: 0.0.0.31 Classful network: 10.0.0.0 /8 Route/Mask: 10.0.0.0 / 255.255.255.224 Hexadecimal route/mask: A000000 / FFFFFFE0 On Thu, Aug 8, 2013 at 8:54 AM, Mark Felder wrote: > On Thu, Aug 8, 2013, at 10:44, Jason Hellenthal wrote: >> Try subcalc, it's in ports. >> > > I always kept ipcalc installed, but it looks like there's another called > sipcalc, too. I'll have to check these out myself and see if any have > merits over each other. > _______________________________________________ > 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"