From owner-freebsd-net@FreeBSD.ORG Thu Aug 8 19:23:47 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 026B5E36 for ; Thu, 8 Aug 2013 19:23:47 +0000 (UTC) (envelope-from bsd-lists@1command.com) Received: from udns.ultimateDNS.NET (ultimatedns.net [209.180.214.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C40722D8B for ; Thu, 8 Aug 2013 19:23:45 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id r78JO12o042978; Thu, 8 Aug 2013 12:24:07 -0700 (PDT) (envelope-from bsd-lists@1command.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id r78JNuIV042975; Thu, 8 Aug 2013 12:23:56 -0700 (PDT) (envelope-from bsd-lists@1command.com) Received: from udns.ultimatedns.net ([209.180.214.225]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Thu, 8 Aug 2013 12:23:56 -0700 (PDT) Message-ID: <66d93d2596e3eb463723c56c58756592.authenticated@ultimatedns.net> In-Reply-To: References: Date: Thu, 8 Aug 2013 12:23:56 -0700 (PDT) Subject: Re: how calculate the number of ip addresses in a range? From: "Chris H" To: "s m" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: FreeBSD Net 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 19:23:47 -0000 > hello guys, > > i have a question about ip addresses. i know my question is not related to > freebsd but i googled a lot and found nothing useful and don't know where i > should ask my question. > > i want to know how can i calculate the number of ip addresses in a range? > for example if i have 192.0.0.1 192.100.255.254 with mask 8, how many ip > addresses are available in this range? is there any formula to calculate > the number of ip addresses for any range? > > i'm confusing about it. please help me to clear my mind. > thanks in advance, > SAM Aside from many ports available in the ports/net* categories that provide calculators, and such. You can use an online version @: http://ultimatedns.net/netcalc HTH --chris > _______________________________________________ > 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" >