IPNetwork icon

IPNetwork

  n/a
Certified 100% FREE Freeware   

Computes your netmask, cidr, subnet, supernet and network. #Netmask calculation  #Subnet calculation  #Cidr calculation  #Netmask  #Subnet  #Supernet  

Description

changelog

Free Download

The IPNetwork application was developed to be a small command line utility which will take care of complex network, ip, netmask,  subnet, cidr calculation. It works with IPv4, it is written in C# and has a light and clean API and is fully unit tested.

Usage: ipnetwork [-inmcbflu] [-d cidr|-D] [-h|-s cidr|-S|-w|-W|-x|-C network|-o network] networks ...

Print options -i : network -n : network address -m : netmask -c : cidr -b : broadcast -f : first usable ip address -l : last usable ip address -u : number of usable ip addresses

Parse options -d cidr : use cidr if not provided (default /32) -D : use default cidr (ClassA/8, ClassB/16, ClassC/24)

Actions -h : help message -s cidr : split network into cidr subnets -w : supernet networks into smallest possible subnets -W : supernet networks into one single subnet -x : list all ipadresses in networks -C network : network contain networks -o network : network overlap networks

networks : one or more network addresses (1.2.3.4 10.0.0.0/8 10.0.0.0/255.0.0.0 ...)

Example 1 Display ipnetwork informations :

c:\> ipnetwork 10.0.0.0/8

IPNetwork : 10.0.0.0/8 Network : 10.0.0.0 Netmask : 255.0.0.0 Cidr : 8 Broadcast : 10.255.255.255 FirstUsable : 10.0.0.1 LastUsable : 10.255.255.254 Usable : 16777214

Example 2 Split network into cidr

c:\> ipnetwork -s 9 10.0.0.0/8

IPNetwork : 10.0.0.0/9 Network : 10.0.0.0 Netmask : 255.128.0.0 Cidr : 9 Broadcast : 10.127.255.255 FirstUsable : 10.0.0.1 LastUsable : 10.127.255.254 Usable : 8388606 -- IPNetwork : 10.128.0.0/9 Network : 10.128.0.0 Netmask : 255.128.0.0 Cidr : 9 Broadcast : 10.255.255.255 FirstUsable : 10.128.0.1 LastUsable : 10.255.255.254 Usable : 8388606

Example 3 supernet networks into smallest possible subnets

C:\>ipnetwork -w 192.168.0.0/24 192.168.1.0/24

IPNetwork : 192.168.0.0/23 Network : 192.168.0.0 Netmask : 255.255.254.0 Cidr : 23 Broadcast : 192.168.1.255 FirstUsable : 192.168.0.1 LastUsable : 192.168.1.254 Usable : 510

Example 4 supernet networks into smallest possible subnets

c:\> ipnetwork -w 192.168.0.0/24 192.168.2.0/24

IPNetwork : 192.168.0.0/24 Network : 192.168.0.0 Netmask : 255.255.255.0 Cidr : 24 Broadcast : 192.168.0.255 FirstUsable : 192.168.0.1 LastUsable : 192.168.0.254 Usable : 254 -- IPNetwork : 192.168.2.0/24 Network : 192.168.2.0 Netmask : 255.255.255.0 Cidr : 24 Broadcast : 192.168.2.255 FirstUsable : 192.168.2.1 LastUsable : 192.168.2.254 Usable : 254

Example 5 supernet networks into smallest possible subnets

C:\>ipnetwork -W 192.168.0.0/24 192.168.129.0/24 IPNetwork : 192.168.0.0/16 Network : 192.168.0.0 Netmask : 255.255.0.0 Cidr : 16 Broadcast : 192.168.255.255 FirstUsable : 192.168.0.1 LastUsable : 192.168.255.254 Usable : 65534

Example 6 Split network into cidr, display full network only

C:\>ipnetwork -i -s 12 10.0.0.0/8 | grep -v \-\-

IPNetwork : 10.0.0.0/12 IPNetwork : 10.16.0.0/12 IPNetwork : 10.32.0.0/12 IPNetwork : 10.48.0.0/12 IPNetwork : 10.64.0.0/12 IPNetwork : 10.80.0.0/12 IPNetwork : 10.96.0.0/12 IPNetwork : 10.112.0.0/12 IPNetwork : 10.128.0.0/12 IPNetwork : 10.144.0.0/12 IPNetwork : 10.160.0.0/12 IPNetwork : 10.176.0.0/12 IPNetwork : 10.192.0.0/12 IPNetwork : 10.208.0.0/12 IPNetwork : 10.224.0.0/12 IPNetwork : 10.240.0.0/12

Example 7 Test if an ip is contained in a network

C:\>ipnetwork -C 10.0.0.1 10.0.0.0/8 10.0.1.0/24

10.0.0.1/32 contains 10.0.0.0/8 : False 10.0.0.1/32 contains 10.0.1.0/24 : False

Example 8 Test if a network overlap another network

C:\>ipnetwork -o 10.0.0.1/24 10.0.0.0/8 10.0.1.0/24

10.0.0.0/24 overlaps 10.0.0.0/8 : True 10.0.0.0/24 overlaps 10.0.1.0/24 : False

Example 9 remove one ip from a class and regroup them into the smallest possible network

C:\> ipnetwork -i -s 32 192.168.0.0/24 \ | grep -v \-\- \ | awk "{print $3;}" \ | grep -v 192.168.0.213/32 | xargs ipnetwork -i -w \ | grep -v \-\-

IPNetwork : 192.168.0.224/27 IPNetwork : 192.168.0.216/29 IPNetwork : 192.168.0.214/31 IPNetwork : 192.168.0.212/32 IPNetwork : 192.168.0.208/30 IPNetwork : 192.168.0.192/28 IPNetwork : 192.168.0.128/26 IPNetwork : 192.168.0.0/25

What's new in IPNetwork 1.2:

  • IPNetwork utility command line
Read the full changelog

IPNetwork 1.2

add to watchlist add to download basket send us an update REPORT
  runs on:
Windows All
  file size:
54 KB
  filename:
IPNetwork-1.3.zip
  1 screenshot:
IPNetwork - screenshot #1
  main category:
Network Tools
  developer:
  visit homepage

calibre

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

4k Video Downloader

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Bitdefender Antivirus Free

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

Windows Sandbox Launcher

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

Microsoft Teams

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

ShareX

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

7-Zip

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

IrfanView

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

Context Menu Manager

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

Zoom Client

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

% discount
IrfanView
  • IrfanView
  • Context Menu Manager
  • Zoom Client
  • calibre
  • 4k Video Downloader
  • Bitdefender Antivirus Free
  • Windows Sandbox Launcher
  • Microsoft Teams
  • ShareX
  • 7-Zip
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy