Hi, I'm using the CLI version of WhatMask: whatmask v1.2, Copyright (C) 2001-2003 Joe Laffey <joe at laffeycomputer.com> This binary compiled on 12/10/03 at 16:07:24 Visit: http://www.laffeycomputer.com/software.html for updates. whatmask comes with ABSOLUTELY NO WARRANTY; for details see the COPYING file that accompained this distribution. This is free software, and you are welcome to redistribute it under the terms of GNU PUBLIC LICENSE. whatmask may be used two ways: Given a mask: whatmask <CIDR bits> - or - whatmask <subnet mask> - or - whatmask <hex subnet mask> - or - whatmask <wildcard bit mask> NOTE: whatmask will autodetect the input and show you all four. Given an ip/mask: whatmask <IP address>/<netmask> <netmask> may be one of the following: CIDR notation (e.g. "24") Netmask notation (e.g. "255.255.255.0") Hex Netmask notation (e.g. "0xffffff00") Wildcard bits notation (e.g. "0.0.0.255") NOTE: whatmask will autodetect the netmask format. Exsample outputs: jp% whatmask 24 --------------------------------------------- TCP/IP SUBNET MASK EQUIVALENTS --------------------------------------------- CIDR = .....................: /24 Netmask = ..................: 255.255.255.0 Netmask (hex) = ............: 0xffffff00 Wildcard Bits = ............: 0.0.0.255 Usable IP Addresses = ......: 254 jp% whatmask 10.0.0.34/29 ------------------------------------------------ TCP/IP NETWORK INFORMATION ------------------------------------------------ IP Entered = ..................: 10.0.0.34 CIDR = ........................: /29 Netmask = .....................: 255.255.255.248 Netmask (hex) = ...............: 0xfffffff8 Wildcard Bits = ...............: 0.0.0.7 ------------------------------------------------ Network Address = .............: 10.0.0.32 Broadcast Address = ...........: 10.0.0.39 Usable IP Addresses = .........: 6 First Usable IP Address = .....: 10.0.0.33 Last Usable IP Address = ......: 10.0.0.38 Hope it helps, ____________________________________________ Jakob Peterhänsel Network Consultant Tel: +45 7022 1014 Fax: +45 7022 1013 Mob: +45 22 68 49 61 jp at netpoint.com www.NetPoint.com On 16. jul 2004, at 17:12, Gretchen Hayman wrote: > Howdy, > > Does anyone know of any equivalent programs to ipcalc for Mac OS X? > Fink doesn't have ipcalc listed (or such that I can find it) and my > googling hasn't turned up a nice CLI replacement for OS X, so I > thought I would ask the crowd for recommendations. (CLI much > preferred over GUI apps, btw.) I have ipcalc available on my linux > systems and there are some web-based tools, but I'd like something for > OS X that I can use if I don't have access to my linux boxen or WWW > access. Of course, what I really want to hear is that "it's in there" > in OS X, just named stupidly so that's hard to find. ^_^ > > Many thanks for any suggestions. > > gretchen > > ---------- > Check out the Mac OS X email list FAQ > http://www.themacintoshguy.com/lists/X.html > > To unsubscribe, E-mail to: <X-Unix-off at lists.themacintoshguy.com> > To switch to the DIGEST mode, E-mail to > <X-Unix-digest at lists.themacintoshguy.com> > Need help from a real person? Try. > <X-Unix-request at lists.themacintoshguy.com> > > ---------- > $14.99 Unlimited Nationwide Mac Dialup and Mac Web Hosting from your > Mac ISP Serious Mac Internet Solutions From NineWire! > http://macinternetaccess.com > > DVIator | Run Dual ADC displays on your G4 or just one on an older > Mac! Dr. Bott | <http://www.drbott.com/prod/DVIator.html> > > Support | Support this list by clicking here before you buy! > this List | http://www.themacintoshguy.com/support.html > > OS X News, Dr.Mac, Forums, Tutorials, Tips, Hints, FAQ?s - > http://www.osxfaq.com