Published by
Feb 17, 2013 (last update: Mar 2, 2013)

Subnet Calculator

Score: 4.0/5 (83 votes)
*****

If you want to determine the hosts per subnet for an IP address or see the binary representation of a subnet mask, IP class, and any other subnetting details, then this program will work great for you.


Download: [Source code (.cpp) and Executable in .zip file] or [Just Source Code (.cpp)]

Attached below, is the source code for a fully functioning subnet calculator I created for easy determination of subnet details needed when in any IT college class or IT related networking position. It's accurate and functional, so please feel free to use it.

Features of Subnet Calculator:

--------------------------------------
a.) Take a user IP Address and Subnet Mask
b.) Determine IP Address Class, as well as Private and Reserved address spaces.
c.) Shows Binary representation of both IP and Subnet Mask, stacked
d.) Shows the Network ID
e.) Shows the Network Increment value
f.) Shows usable host addresses for each subnet
g.) Shows amount of usable hosts per subnet
h.) Shows amount of subnets available for that each IP Class

Thanks to:

---------------------------------------
- Chervil

Download: [Source code (.cpp) and Executable in .zip file] or [Just Source Code (.cpp)]

Attachments: [subnetCalculator.cpp] [subnetCalculator.zip]

  • 1793521592 2018-02-23
  • 2864591591 2018-02-23
  • 6167231590 2018-02-23
  • 3669201589 2018-02-23
  • 7946381588 2018-02-23
  • 8957701587 2018-02-23
  • 3891941586 2018-02-23
  • 6039851585 2018-02-23
  • 2573991584 2018-02-23
  • 7728781583 2018-02-23
  • 3731582 2018-02-23
  • 1007451581 2018-02-22
  • 8908121580 2018-02-22
  • 141161579 2018-02-22
  • 9421578 2018-02-22
  • 2826901577 2018-02-22
  • 3647361576 2018-02-22
  • 5717551575 2018-02-22
  • 523811574 2018-02-22
  • 6439871573 2018-02-22