Simple console-based subnet/supernet calculator. Uses ipaddress module.
Allows you to subnet/supernet any given network, and provides different useful info about IPv4 address.
- Python 3.10.5 or above
git clone https://github.com/ExclMark/SubnetCalc.git
(or download .zip)cd SubnetCalc
(or just open the folder SubnetCalc)python3 main.py
(orpython main.py
if on Windows)
You can also run with arg keys:
-
python3 main.py -i 192.168.0.100/24 -s /26
-
-i
- IP address to subnet/supernet -
-s
- Netmask (binary or CIDR)
Use python3 main.py --help
to get more info