aspose 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
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.
 
wood burning stoves
 
subject: calculation of IPs and subnets based on Subnetmask in java