Skip to main content

Check for conflicts between network subnets

Project description

ipconflict

Downloads ipconflict Python version

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


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.5.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

ipconflict-0.5.0-py2.py3-none-any.whl (16.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ipconflict-0.5.0.tar.gz.

File metadata

  • Download URL: ipconflict-0.5.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for ipconflict-0.5.0.tar.gz
Algorithm Hash digest
SHA256 918e009f9e2fa9b8ac60c2f48b1e5da0993dfdf24d90cf068db5b3972903cce9
MD5 fd6ed2fc0cab146b122e3b601dbede5b
BLAKE2b-256 6f150180407f09f667fff7c64c983d1e69224a4342e00c222a92c39580a02030

See more details on using hashes here.

File details

Details for the file ipconflict-0.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: ipconflict-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for ipconflict-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a5e058ce4b5eda7f2d239e286730d0bb656278d24a0187ccbd8dc0fe6e9a5619
MD5 76acead2c40518f65cea13036bee402a
BLAKE2b-256 043a1b0aaf2d1b21540b5d9d41f96e265a7be4422d2729b6ec04087245a2359e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page