Date: Thu, 8 Aug 2013 08:55:38 -0700 From: Michael Sierchio <kudzu@tenebras.com> To: Mark Felder <feld@freebsd.org> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: how calculate the number of ip addresses in a range? Message-ID: <CAHu1Y715hvbFC=pTm-DGQrvzUohxoGEhCia8-e9WGVKFm=i%2B6w@mail.gmail.com> In-Reply-To: <1375977240.3930.7571559.74F89736@webmail.messagingengine.com> References: <CAA_1SgEEeyCOk%2Bi9Zp725RfQ9s0tpELXL0SSBeiN%2B60z%2BxqYUg@mail.gmail.com> <20130808133055.15e53b94@davenulle.org> <1F113410-18DE-47CF-96C1-5EE4E8BC4980@dataix.net> <1375977240.3930.7571559.74F89736@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <feld@freebsd.org> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y715hvbFC=pTm-DGQrvzUohxoGEhCia8-e9WGVKFm=i%2B6w>