www.subnet-calculator.com Open in urlscan Pro
185.52.24.14  Public Scan

URL: https://www.subnet-calculator.com/
Submission: On April 04 via manual from GB — Scanned from GB

Form analysis 1 forms found in the DOM

Name: calculatorGET rs_subnet.php

<form name="calculator" id="calculator" target="RemoteScripting" action="rs_subnet.php" method="get">
  <input type="hidden" name="field_change" id="field_change" value="1">
  <table class="calc">
    <tbody>
      <tr>
        <td colspan="2" class="title">
          <img src="images/p18.jpg" alt="Subnet Calculator" width="18" height="15" border="0">&nbsp;<b>Subnet Calculator</b>
        </td>
      </tr>
      <tr>
        <td class="left">
          <h2 class="element">Network Class</h2><br>
          <label> A <input type="radio" id="class_a" name="class_a" value="A" onclick="class_a_click()">
          </label>
          <label> B <input type="radio" id="class_b" name="class_b" value="B" onclick="class_b_click()">
          </label>
          <label> C <input type="radio" id="class_c" name="class_c" value="C" onclick="class_c_click()">
          </label>
        </td>
        <td class="right">
          <h2 class="element">First Octet Range</h2><br>
          <input type="text" id="oct_range" name="oct_range" value="192 - 223" size="20" readonly="" class="calc-output">
        </td>
      </tr>
      <tr>
        <td class="left">
          <h2 class="element">IP Address</h2><br>
          <input type="text" id="ip_addr" name="ip_addr" class="calc-input-addr" value="192.168.0.1" maxlength="15" onchange="valueChange('0');">
        </td>
        <td class="right">
          <h2 class="element">Hex IP Address</h2><br>
          <input type="text" id="hex_addr" name="hex_addr" value="" size="20" readonly="" class="calc-output">
        </td>
      </tr>
      <tr>
        <td class="left">
          <h2 class="element">Subnet Mask</h2><br>
          <select id="subnet_mask" name="subnet_mask" onchange="valueChange('1');">
            <option value="0">255.255.255.0</option>
            <option value="1">255.255.255.128</option>
            <option value="2">255.255.255.192</option>
            <option value="3">255.255.255.224</option>
            <option value="4">255.255.255.240</option>
            <option value="5">255.255.255.248</option>
            <option value="6">255.255.255.252</option>
          </select>
        </td>
        <td class="right">
          <h2 class="element">Wildcard Mask</h2><br>
          <input type="text" name="inverted_mask" id="inverted_mask" value="" size="20" readonly="" class="calc-output">
        </td>
      </tr>
      <tr>
        <td class="left">
          <h2 class="element">Subnet Bits</h2><br>
          <select name="subnet_bits" id="subnet_bits" onchange="valueChange('2');">
            <option value="0">0</option>
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
            <option value="4">4</option>
            <option value="5">5</option>
            <option value="6">6</option>
          </select>
        </td>
        <td class="right">
          <h2 class="element">Mask Bits</h2><br>
          <select id="mask_bits" name="mask_bits" size="1" onchange="valueChange('3');">
            <option value="0">24</option>
            <option value="1">25</option>
            <option value="2">26</option>
            <option value="3">27</option>
            <option value="4">28</option>
            <option value="5">29</option>
            <option value="6">30</option>
          </select>
        </td>
      </tr>
      <tr>
        <td class="left">
          <h2 class="element">Maximum Subnets</h2><br>
          <select id="max_subnets" name="max_subnets" size="1" onchange="valueChange('4');">
            <option value="0">1</option>
            <option value="1">2</option>
            <option value="2">4</option>
            <option value="3">8</option>
            <option value="4">16</option>
            <option value="5">32</option>
            <option value="6">64</option>
          </select>
        </td>
        <td class="right">
          <h2 class="element">Hosts per Subnet</h2><br>
          <select id="max_hosts" name="max_hosts" size="1" onchange="valueChange('5');">
            <option value="0">254</option>
            <option value="1">126</option>
            <option value="2">62</option>
            <option value="3">30</option>
            <option value="4">14</option>
            <option value="5">6</option>
            <option value="6">2</option>
          </select>
        </td>
      </tr>
      <tr>
        <td colspan="2" class="left">
          <h2 class="element">Host Address Range</h2><br>
          <input type="text" id="host_range" name="host_range" value="" size="30" readonly="" class="calc-output">
        </td>
      </tr>
      <tr>
        <td class="left">
          <h2 class="element">Subnet ID</h2><br>
          <input type="text" id="subnet_id" name="subnet_id" value="" size="20" readonly="" class="calc-output">
        </td>
        <td class="right">
          <h2 class="element">Broadcast Address</h2><br>
          <input type="text" id="broadcast_addr" name="broadcast_addr" value="" size="20" readonly="" class="calc-output">
        </td>
      </tr>
      <tr>
        <td colspan="2" class="left">
          <h2 class="element">Subnet Bitmap</h2><br>
          <div id="subnet_bitmap" name="subnet_bitmap" value="" size="40" readonly="" class="calc-output"><span class="red_text">110nnnnn</span>.<span class="red_text">nnnnnnnn</span>.<span class="red_text">nnnnnnnn</span>.<span
              class="green_text"></span><span class="green_text">hhhhhhhh</span></div>
        </td>
      </tr>
      <tr>
        <td colspan="2"><span class="base"></span></td>
      </tr>
    </tbody>
  </table> <!-- calc -->
</form>

Text Content

IP SUBNET CALCULATOR

 * Subnets
 * CIDR
 * Wildcard





IP Subnet Calculator

The IP Subnet Mask Calculator enables subnet network calculations using network
class, IP address, subnet mask, subnet bits, mask bits, maximum required IP
subnets and maximum required hosts per subnet.

Results of the subnet calculation provide the hexadecimal IP address, the
wildcard mask, for use with ACL (Access Control Lists), subnet ID, broadcast
address, the subnet address range for the resulting subnet network and a subnet
bitmap.

For classless supernetting, please use the CIDR Calculator. For classful
supernetting, please use the IP Supernet Calculator. For simple ACL (Access
Control List) wildcard mask calculations, please use the ACL Wildcard Mask
Calculator.

Note:
These online network calculators may be used totally free of charge provided
their use is from this url (www.subnet-calculator.com).

 Subnet Calculator


NETWORK CLASS


A B C


FIRST OCTET RANGE



IP ADDRESS



HEX IP ADDRESS



SUBNET MASK


255.255.255.0 255.255.255.128 255.255.255.192 255.255.255.224 255.255.255.240
255.255.255.248 255.255.255.252


WILDCARD MASK



SUBNET BITS


0 1 2 3 4 5 6


MASK BITS


24 25 26 27 28 29 30


MAXIMUM SUBNETS


1 2 4 8 16 32 64


HOSTS PER SUBNET


254 126 62 30 14 6 2


HOST ADDRESS RANGE



SUBNET ID



BROADCAST ADDRESS



SUBNET BITMAP


110nnnnn.nnnnnnnn.nnnnnnnn.hhhhhhhh





 * Resources

Notes about the Subnet Calculator

 1. The subnet calculator implements a classful / classed IP addressing scheme
    where the following rules are adhered to:
    
    
    * Class A addresses have their first octet in the range 1 to 126 (binary
      address begins with 0).
      
      
    * Class B addresses have their first octet in the range 128 to 191 (binary
      address begins with 10).
      
      
    * Class C addresses have their first octet in the range 192 to 223 (binary
      address begins with 110).
      
      
 2. The subnet calculator allows the use of a single subnet bit - for example, a
    class C address with a subnet mask of 255.255.255.128 is permitted.
    
    
 3. The subnet calculator allows a subnet ID to have its final octet equal to
    the final octet of its subnet mask - for example, a class C network address
    of 192.168.0.192 with a subnet mask of 255.255.255.192 is permitted.
    
    

The above is generally accepted as being 'normal', however, certification
students should keep in mind that, in some certification programs, the final two
points are regarded as inacceptible.

For classless subnetting, you can use the CIDR calculator.





© 2004 - 2023 Clive Porter - All rights reserved.