mufeedvh / SubCalc

A CLI utility to map out and calculate subnet ranges written in Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SubCalc

A CLI utility to map out and calculate subnet ranges written in Python.

Table of Contents

Installation

$ git clone https://github.com/srihariruttala/SubCalc.git
$ cd SubCalc/
$ pip3 install -r requirements
$ python3 subcalc.py --help

Features

  • Shows you all the basic required information for the IP with their respective labels after properly validating them.
  • It has the ability to calculte the subnets based on the number of subnets and based on the number of hosts per subnet.

Usage

Usage: Usage: subncalc.py --help

Options:
  -h, --help            show this help message and exit
  -i IP_ADDRESS, --ipadress=IP_ADDRESS
                        IP address
  -m SUBNET_MASK, --subnetmask=SUBNET_MASK
                        Subnet mask type IP(255.255.255.240) or decimal(26)
  -S NO_OF_SUBNETS, --no-of-subnets=NO_OF_SUBNETS
                        Minimum number of subnets to divide
  -H NO_OF_HOSTS, --no-of-hosts=NO_OF_HOSTS
                        Minimum number of hosts for each subnet

...

Screenshots

License

MIT License


About

A CLI utility to map out and calculate subnet ranges written in Python.

License:MIT License


Languages

Language:Python 100.0%