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:
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.7.tar.gz
(7.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netsplit-0.3.7.tar.gz.
File metadata
- Download URL: netsplit-0.3.7.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.2.1 CPython/3.12.3 Linux/7.0.0-29-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
623d047ad36ba6dc2d669d37f44186d949f09cac55b8c6c971d9823599025c72
|
|
| MD5 |
4f9ce6b5ec06698814c9b387590cb37c
|
|
| BLAKE2b-256 |
aa9562ad3f43a45a9f7f4fbdc98599def43e9cabdf8dd27028bd0dddbc0589e1
|
File details
Details for the file netsplit-0.3.7-py3-none-any.whl.
File metadata
- Download URL: netsplit-0.3.7-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.2.1 CPython/3.12.3 Linux/7.0.0-29-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb2eca983f324517afb018ed99740270a696fe62b17102ca42f1ef8929dcdd14
|
|
| MD5 |
d0d7c5cd4adc045d062a5054e173c25d
|
|
| BLAKE2b-256 |
d7fbd63017c8e4a020bf6bea7fa5dfca44b328e35b055392320d465e7a1ad6f2
|