Jump to content

combine cidr block


Recommended Posts

I have 2 blocks such as 192.168.0.0/24 and 192.168.0.1/24, and I need to combine them into 192.168.0.0/23

 

Anyone know of any way to do this? or of any scripts for it?

 

for example in Ruby I can use NetAddr.merge

 

thanks

Link to comment
Share on other sites

Maybe you can try to explain how merging two subnets is working.

 

Found a Python script: http://nullege.com/codes/search/netaddr.ip.cidr_merge

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...