RE: Converting an IP range to CIDR notation

2010-03-22 Thread Rick Bullotta
Would this work for you? http://labs.karmasphere.org/dp/javadoc/com/karmasphere/dp/type/CIDR.html -Original Message- From: Sai Pullabhotla [mailto:sai.pullabho...@jmethods.com] Sent: Monday, March 22, 2010 10:16 AM To: dev Subject: Converting an IP range to CIDR notation Does any one

Re: Converting an IP range to CIDR notation

2010-03-22 Thread Sai Pullabhotla
Does not look like it. What I'm looking for is - given a from and to IP addresses, it needs to generate corresponding Subnets using the CIDR notation. So, for example, if the from address is 192.168.1.1 and the to address is 192.168.1.12, the subnets should be - 192.168.1.1/32 192.168.1.2/31

RE: Converting an IP range to CIDR notation

2010-03-22 Thread Rick Bullotta
an IP range to CIDR notation Does not look like it. What I'm looking for is - given a from and to IP addresses, it needs to generate corresponding Subnets using the CIDR notation. So, for example, if the from address is 192.168.1.1 and the to address is 192.168.1.12, the subnets should

RE: Converting an IP range to CIDR notation

2010-03-22 Thread Rick Bullotta
Nope. Not going to work either. -Original Message- From: Rick Bullotta [mailto:rick.bullo...@burningskysoftware.com] Sent: Monday, March 22, 2010 2:15 PM To: dev@mina.apache.org Subject: RE: Converting an IP range to CIDR notation Hi, Sai. In that same package, there's a CIDRIterator