Subnet Calculator
Introduction
This document provides background information on the purpose and usage of this subnet calculator. I created this subnet calculator while taking a Network Fundamentals course at Purdue University. The course included several “subnetting assignments” that required performing binary calculations using a host IP address, a major network mask, and a subnet mask.
Using these inputs, I then had to perform bitwise operations to determine several pieces of information, as outlined in Table 1.
Table 1 - Example Subnet Sheet
Variable | Example Value |
---|---|
Host IP Address (Provided) | 219.2.3.201 |
Major Network Mask (Provided) | 255.255.0.0 |
Major Network Address | 219.2.0.0 |
Major Network Broadcast Address | 219.2.255.255 |
CIDR Notation Major Network | 219.2.0.0/16 |
Number of Host Bits | 16 |
Number of Hosts | 65,534 |
Subnet Mask (Provided) | 255.255.255.192 |
Number of Subnet Bits | 10 |
Number of Usable Subnets | 1,023 |
Number of Host Bits per Subnet | 6 |
Number of Usable Hosts per Subnet | 62 |
Subnet Address for this Host | 219.2.3.192 |
First Host IP Address for this Subnet | 219.2.3.193 |
Last Host IP Address for this Subnet | 219.2.3.254 |
Broadcast Address for this Subnet | 219.2.3.255 |
Network Address of the 5th Usable Subnet | 219.2.1.0 |
Broadcast Address of the 5th Usable Subnet | 219.2.1.63 |