OS4 DepotLogo by McFly 
(anonymous IP: 23.22.76.170) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Sobjs site
   Crashlog site
   Bugs site
 
 Categories

   o Audio (307)
   o Datatype (46)
   o Demo (166)
   o Development (464)
   o Document (18)
   o Driver (77)
   o Emulation (125)
   o Game (722)
   o Graphics (384)
   o Library (58)
   o Network (160)
      o Browser (27)
      o Chat (12)
      o Email (12)
      o Ftp (10)
      o Misc (58)
      o News (4)
      o P2p (8)
      o Samba (11)
      o Server (18)
   o Office (43)
   o Utility (623)
   o Video (47)

Total files: 3240

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Network » Misc » ipcalc.lha

Description: ipcalc - IP Address Calculator
Download: ipcalc.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 9kb
Version: 0.2
Date: 07 Jun 10
Author: Urs-Jakob Rueetschi
Submitter: fanta
Homepage: http://www.geo.uzh.ch/~uruetsch/software/simple/ipcalc.html
Category: network/misc
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 5603
 
Comments: 0  [View]
Snapshots: 1  [View]
Downloads: 99  (Current version)
99  (Accumulated)

Show content Show crashlogs Replace file 
ipcalc - IP Address Calculator

Usage: ipcalc [-v] [-a|b|m|n|p] ip-addr

This program, given an IP address and optional netmask, shows the address,
netmask, network and broadcast address in dotted decimal and binary form.
Additionally, the value slash-n is printed and whether it is a private internet
address according to RFC 1918.

Using command line options, the output can be reduced to a very specific piece
of information being printed to standard output. This is useful for scripting.

The mandatory argument ip-addr is an IPv4 address in dotted decimal notation,
optionally followed by a slash (/) and a netmask in CIDR or dotted decimal
notation. Examples:

ipcalc 130.60.16.123
ipcalc 130.60.16.123/24              # CIDR notation
ipcalc 130.60.16.123/255.255.255.0   # address with netmask

The option -v makes ipcalc print its version number; the other options make
ipcalc print only very specific pieces of information about ip-addr to standard
output:

-a    address in CIDR notation
-b    broadcast address
-m    netmask
-n    network address
-p    return 0 if private internet address, otherwise return 1. 

Examples:

$ ipcalc -a 130.60.16.123
130.60.16.123/16
$ ipcalc -a 130.60.16.123/255.255.255.0
130.60.16.123/24


Copyright (c) 2004-2013 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment