Unable to set up a simple DHCPv6 configuration

81 views
Skip to first unread message

David Lee

unread,
Jun 19, 2016, 10:15:52 PM6/19/16
to jagornet-dhcpv6-users
Hi again.

My network setup is like this:


+------------------------------+         +----------------------------+
| Windows7 SP1 x64             |         | Debian Jessie x86          |
| Jagornet DHCP server 2.0.4   |         | DHCPv6 Client (dhclient)   |
|                              |         |                            |
| Local Area Connection (eth5) |         | eth0                       |
|                              |         |                            |
| IP addr: fd33:3333::1/64     |         | IP addr: via DHCPv6        |
| IP addr: 192.168.10.1        |         |                            |
| MAC addr 11-11-11-11-11-11   |         | MAC addr 22-22-22-22-22-22 |
+------------------------------+         +----------------------------+
              |                                        |
              +----------------------------------------+


DHCPv6 Server

  • "Local Area Connection" corresponds to "eth5" as reported via "dhcpserver.cmd -li"
  • DHCPv6 server is configured to give out leases from fd33:3333::100 to fd33:3333::250
  • DHCPv6 server is started via "dhcpserver.cmd -6m eth5 -6u fd33:3333::1"

Client

  • The client was supposed to get a lease from the DHCP server but couldn't. The error was:
java.lang.ClassCastException: java.net.Inet4Address cannot be cast to java.net.Inet6Address 


Attachment


  • The config file (dhcpserver.xml)
  • The log after typing the startup command but before giving out leases (dhcpserver-startup.log)
  • The log when the client attempts to get a IPv6 lease (dhcpserver.log).

Any help is appreciated.

David Lee.


dhcpserver.log
dhcpserver.xml
dhcpserver-startup.log

Greg Rabil

unread,
Jun 30, 2016, 9:24:08 AM6/30/16
to jagornet-dhcpv6-users
Hello,
Thank you for your detailed explanation of the problem.  This bug has been logged on the GitHub project as Issue #17.  A fix has been completed, and a new version of the Jagornet DHCP Server will be available soon.

Regards,
Greg Rabil

Greg Rabil

unread,
Jul 6, 2016, 10:56:41 PM7/6/16
to jagornet-dhcpv6-users
Jagornet DHCP Server v2.0.5 has been released to fix this Issue #17.  Binary packages can be downloaded here - http://www.jagornet.com/products/dhcp-server/download

Regards,
Greg Rabil

David Lee

unread,
Jul 8, 2016, 10:09:59 PM7/8/16
to jagornet-dhcpv6-users
Thanks for the reply. Tried v 2.0.5 but got another error (see line 107 of the attachment).

Regards,
David Lee


dhcpserver.log

Greg Rabil

unread,
Jul 9, 2016, 3:34:33 PM7/9/16
to jagornet-dhcpv6-users
Hi David,
This problem occurs with the Java 8 runtime and the thirdparty Java bean library used by Jagornet DHCP.  Please use Java 7 runtime as a workaround until these libraries are upgraded and a compatible Jagornet DHCP server is released.

Thanks,
Greg Rabil

David Lee

unread,
Jul 10, 2016, 10:26:45 PM7/10/16
to jagornet-dhcpv6-users
Hi Greg,

Thanks for the reply and I would like to confirm that Jagornet DHCP does indeed work under Java 7.

Regards

David Lee



Reply all
Reply to author
Forward
0 new messages