It appears you or your system administrator has been in a coma for over 5 years and you are still using IE7

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 –nocolor  Don’t display ANSI color codes.
-b –nobinary Suppress the bitwise output.
-c –class    Just print bit-count-mask of given address.
-h –html     Display results as HTML (not finished in this version).
-v –version  Print Version.
-s –split n1 n2 n3
Split into networks of size n1, n2, n3.
-r –range    Deaggregate address range.
–help     Longer help text.

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

ipcalc <ADDRESS1> – <ADDRESS2>  deaggregate address range

ipcalc <ADDRESS>/<NETMASK> –s a b c
split network to subnets
where a b c fits in.

! New HTML support not yet finished.

ipcalc 0.41
root@bt:~# ipcalc 192.168.0.1/24
Address:   192.168.0.1          11000000.10101000.00000000. 00000001
Netmask:   255.255.255.0 = 24   11111111.11111111.11111111. 00000000
Wildcard:  0.0.0.255            00000000.00000000.00000000. 11111111
=>
Network:   192.168.0.0/24       11000000.10101000.00000000. 00000000
HostMin:   192.168.0.1          11000000.10101000.00000000. 00000001
HostMax:   192.168.0.254        11000000.10101000.00000000. 11111110
Broadcast: 192.168.0.255        11000000.10101000.00000000. 11111111
Hosts/Net: 254                   Class C, Private Internet

root@bt:~#

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s