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.
- 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.
- Python 3.x
- pip (Python package installer)
- Clone the repository:
git clone https://github.com/smhuda/howmanyips.git
- Navigate to the cloned directory:
cd howmanyips
- Install the required packages:
pip install -r requirements.txt
To process a single CIDR notation, use the following command:
python checkmyips.py <192.168.1.0/24>
To process a file containing multiple CIDR notations, use the following command:
python checkmyips.py <ip-cidr-range.txt>
Contributions, issues, and feature requests are welcome!
If you liked this or it helped you in anyway