Skip to content

richvdh/cidr-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

cidr-merge

Takes a list of CIDR ranges or IP addresses, and removes duplicates and merges ranges.

Example

$ cat input.txt
10.0.0.1
10.0.1.0/24
10.1.0.0/16
10.2.0.0/24
10.0.0.0/16
fc00:123:456::/48
fc00:123:457::/48

$ ./cidr-merge.py < input.txt
10.0.0.0/15
10.2.0.0/24
fc00:123:456::/47

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages