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.6.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.6.tar.gz.
File metadata
- Download URL: netsplit-0.3.6.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.12.3 Linux/6.14.0-29-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0917fbfaba7d17aedb7d2edf6e526c3cd63350e65783a9bba90ccfd5aa9fbdf0
|
|
| MD5 |
d27d835a912ce8edd9426264d0578842
|
|
| BLAKE2b-256 |
863f20bda2a94e5bc6cc04734da1ff84ccd6eaac99b1f4f9a45a38360e27b0e3
|
File details
Details for the file netsplit-0.3.6-py3-none-any.whl.
File metadata
- Download URL: netsplit-0.3.6-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.12.3 Linux/6.14.0-29-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60abb4de1da68fb6db18c6f532f659d3b5e7fa8396c174447f728e9cd46fd673
|
|
| MD5 |
62889fc7367b024fa3dadb7a9f06f625
|
|
| BLAKE2b-256 |
1be01d6ca8184b9eb6c16171540272b325428bbd5d7f20566fa0fbe3e85e342b
|