Check for conflicts between network subnets
Project description
ipconflict
Check if two or more network subnets are overlapping.
Install
pip install ipconflict
Quick Start
ipconflict 10.0.0.0/22 10.0.1.0/24
ipconflict 10.0.0.0/22 10.0.1.1-10.0.1.5
ipconflict 172.16.0.0/22 172.16.1.0/24 172.16.3.0/27
Print overlapping IP addresses
ipconflict -p 10.0.0.0/24 10.0.0.100-10.0.0.105
Subnets from file
ipconflict -f /path/to/subnets
Subnets from stdin
echo "10.0.1.0/24 10.0.0.0/22" | ipconflict -i
Subnets from everywhere
echo "10.0.0.0/16" | ipconflict -i -f /path/to/subnets 192.168.0.0/24 172.25.1.17
Subnet Definition
A subnet can be specified in several ways:
- CIDR notation
192.168.0.0/24
- Single IP address
10.0.1.2
- IP range
10.0.0.5-10.0.0.20
This tool works both with IPv4 and IPv6.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ipconflict-0.4.0.tar.gz
(3.2 kB
view hashes)
Built Distributions
ipconflict-0.4.0-py3-none-any.whl
(16.1 kB
view hashes)
Close
Hashes for ipconflict-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc7b61b8f3aa188f2dec08e511e5f38ffed5bd6ccbab39e79e33d7bcb064837b |
|
MD5 | 3e89f6282705fc200946ca9d8d0d6f79 |
|
BLAKE2b-256 | 0559995a030c15ddd79564143695e53c96ca5267cb4aceefa7b76e508cfed74a |
Close
Hashes for ipconflict-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16129f3fbc286d6ce5d236b7034378f7c085336dd971267799db3b156cd11bb6 |
|
MD5 | fc193bf4f05bbd0293943346a9184a2b |
|
BLAKE2b-256 | 5104c2f04ce67c8d4d7251650f21971ea14d00e9b2b5850e664cbcbb959c61c8 |