Netbox IP Calculator
Project description
IP Calculator
The calculator is JavaScript based and refreshes as you type. It will calculate the
- IP Address
- Network mask
- Wildcard
- Network address
- Broadcast address
- First Host IP
- Last Host IP Number of Hosts in the network
Both IPv4 and IPv6 are supported
The IP Calculator is added to the views of
- Aggregate
- Prefix
- IP Address
In addition the plugin adds the ability to visualize and share the subnetting of a prefix into smaller subnets
Installation
IPCalculater Version | NetBox version | Remarks |
---|---|---|
v0.0-1.3 | Netbox <=3.7 | |
v1.4.x | Netbox >=3.7 | compatible with v3 and v4 |
Update the /opt/netbox/local_requirements.txt with (referenced with a dash)
netbox-ipcalculator
Edit the /opt/netbox/netbox/netbox/configuration.py and add the plugin (referenced with an underscore)
PLUGINS = ['netbox_ipcalculator']
Install the plugin
/opt/netbox/venv/bin/python3 -m pip install netbox-ipcalculator
or run the ./upgrade.sh script (takes longer, but assures it will work after upgrades)
cd /opt/netbox ./upgrade.sh
restart nextbox
sudo systemctl restart netbox
Thanks to DavidC for the idea and the javascript code of the Prefix join/split https://github.com/davidc/subnets
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for netbox_ipcalculator-1.4.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca8e1c94b79b4ea483887e09f62276a86580a6be25fd0ad554de88ca330823c9 |
|
MD5 | eaac4901751aea4137540aab93cb73eb |
|
BLAKE2b-256 | eff0556aee5bd810cc0de5e55a4f3d579d797927a938ba3c1a47fdeb985ba049 |
Hashes for netbox_ipcalculator-1.4.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c66dd0585c62ebd899be9c51e7e07aafe29dcf99bcb202b80c15a04fd5464a5 |
|
MD5 | 0a9f52710834d5f6dc4376b055528cd1 |
|
BLAKE2b-256 | 8840c64d67aca921f8d8174b2f9731f2d0c5deefa5fa513405f841f9888e5ad0 |