New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't allocate IP #12
Comments
Source IP of 0.0.0.0 is invalid for non-broadcast packets. |
I do some test about the source code. used the TP-LINK.
And the File:DhcpV4ChannelHandler.java line 94
` after change the source code , it works ,The iphone can get the ip address. Of cause the changes are limited,because not understand all of the business. |
What options did you use to start the server? What platform is the server running on? Please provide the server's logfile for the test you describe. |
Can you provide an email for sending the detail info? |
You may attach the files in your reply to this Github issue. Please include the information regarding what startup parameters were specified on the command line, or if running as a Windows Service, then include the JAGORNET_DHCP_HOME\bin\yajsw-stable-11.0\conf\wrapper.conf file along with the log files. |
jinfo.txt I thought the issue could not upload attachments~ nice function~ |
This is a configuration issue. The DHCP client(s) are on the same subnet as the Jagornet DHCP server. In order to service those clients, the server must be configured to listen for broadcast messages from the interface for that subnet. Your configuration does not specify any broadcast interfaces, as evidenced by this log message: As indicated in the comment in the JAGORNET_DHCP_HOME\conf\dhcpserver-sample.xml file:
Your dhcpserver.xml file indicates that the server's IP is 10.10.156.100: And the server's local subnet is configured in this link: Please refer to this [http://www.jagornet.com/products/dhcp-server/docs#id1026846] section of the documentation to configure the -4b parameter and value based upon the name of the interface configured with the server's IP address. If you are unsure of the interface name, you can use the server's built-in function to list all of the interfaces on the system:
Once you have determined the name of the interface associated with the server's IP address (10.10.156.100), then you can specify it in the wrapper.conf file as follows:
|
Thank you & Try again ~ |
add code
Thank you again~ |
It is not recommended to modify the code to use hard-coded interface names. Please use the wrapper.conf file to configure the interface name using the -4b option as described in the documentation. |
get it |
If in vlan ,the server can't allocate ip addr.Because the server drop the package that source ip is 0.0.0.0
The text was updated successfully, but these errors were encountered: