[X-Unix] ipcalc for OS X?
Larry Helms
lhelms at sonic.net
Fri Jul 16 08:50:38 PDT 2004
Gretchen,
I came across a perl script... At http://jodies.de/ipcalc (see lower right
hand corner).
Larr.
______________________________________________________________________
Huxley.local :: /Users/lhelms
lhelms > ipcalc.pl
Usage: ipcalc [-n|-h|-v|-help] <ADDRESS>[[/]<NETMASK>] [NETMASK]
ipcalc takes an IP address and netmask and calculates the resulting
broadcast,
network, Cisco wildcard mask, and host range. By giving a second netmask,
you
can design sub- and supernetworks. It is also intended to be a teaching tool
and presents the results as easy-to-understand binary values.
-n Don't display ANSI color codes
-b Suppress the bitwise output
-c Just print bit-count-mask of given address
-h Display results as HTML
-help Longer help text
-v Print Version
Examples:
ipcalc 192.168.0.1/24
ipcalc 192.168.0.1/255.255.128.0
ipcalc 192.168.0.1 255.255.128.0 255.255.192.0
ipcalc 192.168.0.1 0.0.63.255
> From: Gretchen Hayman <gretchen at sedl.org>
> Reply-To: "Mac OS X Unix" <X-Unix at lists.themacintoshguy.com>
> Date: Fri, 16 Jul 2004 10:12:58 -0500
> To: "Mac OS X Unix" <X-Unix at lists.themacintoshguy.com>
> Subject: [X-Unix] ipcalc for OS X?
>
> 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
>
More information about the X-Unix
mailing list