Netsplit can help slice and dice your IP space
Project description
Netsplit: Slice and dice your IP space
Installation
Install and update using:
pip3 install --user --upgrade netsplit
Usage
Here is a very simple network plan:
[netsplit]
description = "Global / Subnet"
network = "192.168.0.0/24"
[plan]
options = { slots = 4 }
members = ["NetA", "NetB"]
We can render it with:
❯ netsplit plan -p examples/netsplit-simple.toml -r 2
╷ ╷ ╷ ╷
# │ Global / Subnet │ Subnet │ idx+ext/slots │ IPs
╶────┼───────────────────┼────────────────────────────────────┼───────────────┼─────╴
0 │ Global │ ................192.168.0.0/24 │ │ 256
1 │ Global / NetA │ ..................192.168.0.0/26 │ 1 / 4 │ 64
1 │ Global / NetB │ ..................192.168.0.64/26 │ 2 / 4 │ 64
1 │ Global / RESERVED │ ..................192.168.0.128/26 │ 3 / 4 │ 64
1 │ Global / RESERVED │ ..................192.168.0.192/26 │ 4 / 4 │ 64
╵ ╵ ╵ ╵
Make sure to check examples for complex network plans:
Similar projects:
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
netsplit-0.3.4.tar.gz
(7.4 kB
view details)
Built Distribution
File details
Details for the file netsplit-0.3.4.tar.gz
.
File metadata
- Download URL: netsplit-0.3.4.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-14-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68f1b6b16a888818590052eee627e043d5fabc16166c498b534a8a8c3a60ed3d |
|
MD5 | cc0986f464be195cd0654a73dd83cbd1 |
|
BLAKE2b-256 | dcfb8094144ccd6a63492cee5d251c395dbe6065558ebefe5f72397b1c718eed |
File details
Details for the file netsplit-0.3.4-py3-none-any.whl
.
File metadata
- Download URL: netsplit-0.3.4-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-14-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2ded1c8c5a277815a482c08b94a9ce88bc1aa0baf2d617e177ccf6bb74e1135 |
|
MD5 | 41199e8cbeea56bc0e348fe9eb6334ea |
|
BLAKE2b-256 | 58e337a3b96cc1fcad8889bc5e7b020ef340b942a654b923a9f318df3eabb0bd |