Results 1 to 8 of 8

Threaded View

  1. #1

    Thread Starter
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Pointless Forest 38.517,-92.023

    Subnet Calculator / Planner

    The previous link was dead. The updated code can be found here (if you just want the end product download the Install file):


    How to use the IPv4 Subnet Calculator

    Getting Started

    The first step is to enter a valid IPv4 (IP) address into the IP Address field.

    Next, create the mask. This can be done by specifying the size of the mask (CIDR) into the number box, after the "/", or use the track bar. All mask related controls on the form will stay synchronized.

    At this point you have defined the base network and will see the other fields. On the right you will see the binary representation of the fields.

    Tree View

    In the tree view you will see the base network and the first two possible subnets.

    Clicking on a plus sign will expand that network showing its subnets.

    Clicking on a network will show the binary representation for that network and will be indicated by a highlight change.

    Right clicking a network will make it the base network.


    Once you have a base network defined an automatic subnet plan of the base network can be created by clicking the ‘Plan’ button.
    This will bring up a new form.

    The plan is a list of network sizes (number of hosts in a network) entered into the list. The planner will take care of the broadcast address and whether or not to use the network address as a host. You can also use a growth factor if desired.

    When the list is completed click ‘CreatePlan’ and the sub-netting of the base network will be done. If ‘Watch’ is checked you will see the process. If ‘Copy Plan on Close’ is checked the plan will be copied to the clipboard when the plan form is closed. If the base network is not large enough for the list a message will be shown.

    Dewayne Basnett

    2.0 released December 12th, 2013

    Last edited by dbasnett; Dec 11th, 2013 at 10:39 AM.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.