File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes calculation of IPs and subnets based on Subnetmask in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "calculation of IPs and subnets based on Subnetmask in java" Watch "calculation of IPs and subnets based on Subnetmask in java" New topic
Author

calculation of IPs and subnets based on Subnetmask in java

Hemanth Bhat
Greenhorn

Joined: Mar 20, 2007
Posts: 3
Hi All,

Can any one please let me know if there is any such API in java or any Open Source API that Java Supports
where in i can find out the number of Subnets and the list of IPs in a particular Subnet based on the Subnet Mask

i.e to be more elaborate
i need some API (Open Source) where in if i pass the subnet mask it should return me the number of subnets which are in the particular subnet mask and the list of IPs in each Subnet for that particular subnet mask

Appreciate a Quick response on this

Thanks
Hemanth
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Apache commons Net might have something, don't know of anything else sorry.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calculation of IPs and subnets based on Subnetmask in java
 
Similar Threads
my understanding about subnet?
API For Finding Subnet and Ip addresses in JAVA
Enumerate computers on the local network
NetMask,IPAddress clarification
Are there any jar to check whether two ip address is in same network segment