wood burning stoves 2.0*
The moose likes Java in General and the fly likes API For Finding Subnet and Ip addresses in JAVA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "API For Finding Subnet and Ip addresses in JAVA" Watch "API For Finding Subnet and Ip addresses in JAVA" New topic

API For Finding Subnet and Ip addresses in JAVA

Hemanth Bhat

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

Can any one please let me know if there is such any 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 and the list of IPs in each Subnet for that particular subnet mask

Appreciate a Quick response on this

Charbel Keyrouz
Ranch Hand

Joined: Jun 10, 2005
Posts: 46
check this site:

Lance Colton
Ranch Hand

Joined: Nov 25, 2010
Posts: 64

Sorry to necro, however on the off chance it is still relevant, or someone else might find it useful, I've been working on this exact thing for the last few days.

project: https://launchpad.net/subnettingapi
Wiki: http://wiki.tak11.info/index.php?title=Java_Subnetting_API
Javadoc: http://www.tak11.info/javadocs/subnettingapi/index.html
Implementation: http://www.tak11.info/tools/Gravity/ClassfulSubnetting.jnlp

irc.esper.net - tak, irc.freenode.com - tak11, irc.efnet.org - tak11
I agree. Here's the link: http://aspose.com/file-tools
subject: API For Finding Subnet and Ip addresses in JAVA
Similar Threads
NetMask,IPAddress clarification
Are there any jar to check whether two ip address is in same network segment
Enumerate computers on the local network
my understanding about subnet?
calculation of IPs and subnets based on Subnetmask in java