Running a dhcp server, Netbeans Java

57 views
Skip to first unread message

Moheshini Rajaruthnam

unread,
Aug 6, 2015, 8:43:44 AM8/6/15
to jagornet-dhcpv6-users
Hi, I've been trying to find a way to run a dhcp server from netbeans and have it allocate IP addresses to devices on the network. The server should work within a specified range of IP addresses.
I came across Jagornet but not sure how to use it from the Netbeans platform or if that's even a good idea. Any advice would be appreciated :)

Thanks

Greg Rabil

unread,
Aug 6, 2015, 9:37:04 AM8/6/15
to jagornet-d...@googlegroups.com
Hi,
I am not sure why you want to run the DHCP server from Netbeans?  Netbeans is a development environment for developing Java applications.  The Jagornet DHCP server is written in Java, but is designed to run as a server on a machine running a JVM.  I do not recommend running it within Netbeans in an environment where it needs to allocate IP addresses to devices on the network.  The User Guide explains how to configure and run the server.

Regards,
Greg Rabil

--
You received this message because you are subscribed to the Google Groups "jagornet-dhcpv6-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jagornet-dhcpv6-...@googlegroups.com.
To post to this group, send email to jagornet-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/jagornet-dhcpv6-users.
For more options, visit https://groups.google.com/d/optout.

Moheshini Rajaruthnam

unread,
Aug 6, 2015, 12:24:50 PM8/6/15
to jagornet-d...@googlegroups.com
Hi Greg,

I am creating an application that needs to allocate Ip addresses to radios on the network so that the app may control these radios. I need the server to run to allocate address so I can retrieve these IP addresses.

--
You received this message because you are subscribed to a topic in the Google Groups "jagornet-dhcpv6-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jagornet-dhcpv6-users/LK-KQirwoXY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jagornet-dhcpv6-...@googlegroups.com.

To post to this group, send email to jagornet-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/jagornet-dhcpv6-users.
For more options, visit https://groups.google.com/d/optout.



--
Kind Regards
Moheshini Rajaruthnam




Greg Rabil

unread,
Aug 6, 2015, 1:39:21 PM8/6/15
to jagornet-d...@googlegroups.com
The Jagornet DHCP server can allocate IP addresses to radios that are running a compliant DHCP client.  You can retrieve the addresses from the database used by the server, or from the logs.

Jorge González

unread,
Aug 8, 2015, 9:28:22 AM8/8/15
to jagornet-d...@googlegroups.com
Hi Moheshini,
when you say "run a dhcp server from netbeans" you mean that from a script  you will execute leases or you will take those leases to make action ?

Jorge

--

Moheshini Rajaruthnam

unread,
Aug 11, 2015, 3:06:56 AM8/11/15
to jagornet-d...@googlegroups.com
Hi Jorge,
Thanks for the mail. No I did not mean running a script, I needed an API or java code that implements a dhcp server. I have found a jar file that allows me to run the server and allocate IP addresses. It basically uses the dhcp4java API to implement a DHCP server with IP ranges, and it seems to be doing the job. If you ever want to check it out, it is http://sourceforge.net/projects/jdhcpd/ 

Thanks for the help though

Mo


--
You received this message because you are subscribed to a topic in the Google Groups "jagornet-dhcpv6-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jagornet-dhcpv6-users/LK-KQirwoXY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jagornet-dhcpv6-...@googlegroups.com.

To post to this group, send email to jagornet-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/jagornet-dhcpv6-users.
For more options, visit https://groups.google.com/d/optout.

Greg Rabil

unread,
Aug 11, 2015, 12:18:41 PM8/11/15
to jagornet-d...@googlegroups.com
Hi Moheshini,
I'm curious why you decided to use jdhcpd?  The Jagornet DHCP server support everything that jdhcpd does, plus much, much more, including DHCPv6.

Regards,
Greg Rabil

Moheshini Rajaruthnam

unread,
Aug 12, 2015, 3:03:02 AM8/12/15
to jagornet-d...@googlegroups.com
Hi Greg,

Mostly because i could easily change the java code to suite my application. It now works as expected.
Reply all
Reply to author
Forward
0 new messages