Skip to content

smhuda/howmanyips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HowManyIPs

Overview

HowManyIPs is a simple, yet powerful tool designed to calculate the total number of hosts in IP ranges specified in CIDR notation. It allows users to input either a single CIDR address or a file containing multiple CIDR entries.

Features

  • Single CIDR Processing: Input a single IP range in CIDR notation to get the total number of hosts.
  • Bulk CIDR Processing: Input a file containing multiple CIDR notations for bulk processing.

Installation

Prerequisites

  • Python 3.x
  • pip (Python package installer)

Setup

  1. Clone the repository:
git clone https://github.com/smhuda/howmanyips.git
  1. Navigate to the cloned directory:
cd howmanyips
  1. Install the required packages:
pip install -r requirements.txt

Usage

Single CIDR Notation

To process a single CIDR notation, use the following command:

python checkmyips.py <192.168.1.0/24>

File Containing Multiple CIDR Notations

To process a file containing multiple CIDR notations, use the following command:

python checkmyips.py <ip-cidr-range.txt>

Contributing

Contributions, issues, and feature requests are welcome!

If you liked this or it helped you in anyway

"Buy Me A Coffee"

About

IP Range Host Calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages