forger Posted September 22, 2006 Share Posted September 22, 2006 does anyone know how to convert a random/any ip range to as much cidr blocks necessary? there's ought to be some processing with a while loop but i just don't know how to process it. the idea is to make the ip into 4 binary octets and start comparing values :S but.. that's just about it from me Example: 76.0.0.1-85.0.2.50 into as much cidr blocks necessary (that'd be the result) Any ideas are welcome Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now