Check for conflicts between network subnets
Project description
# ipconflict
[![ipconflict](https://img.shields.io/badge/ipconflict-0.3.1-green.svg)](https://pypi.org/project/ipconflict/) [![Python version](https://img.shields.io/badge/python-2.6%20%7C%202.7%20%7C%203.4%20%7C%203.5%20%7C%203.6%20%7C%203.7-blue.svg)](https://www.python.org/downloads/release/python-370/)
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
The tools 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
Built Distributions
Hashes for ipconflict-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 506d25a8681a325b79a788639d9717ac4f7bee3533f85e87890755441b42afdb |
|
MD5 | 6859dcd6183340379067f65108a4e7d3 |
|
BLAKE2b-256 | 2dec2b0eabf6aee6b0d92c586fea18b7eefc08e7ff493f6779bbeef3b9811416 |
Hashes for ipconflict-0.3.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a529f9d25c73cf5b998b7c156edf8d62b4770c5672697fdef8d961dc605ac7c |
|
MD5 | fa30248c9272dc7674c8d0cbf49a707a |
|
BLAKE2b-256 | 531a877fc318e7750bda926ae6e2bf727b0dc802f5441c2389c2029909177065 |