|Date:||Fri, 12 Aug 2005 08:34:28 -0400|
|User-agent:||Mozilla Thunderbird 1.0.6 (Windows/20050716)|
Hello Everyone,I've got a project that needs to be able to use Static IP, DHCP, and BootP for network configuration. Static IP and DHCP are fine, but I'm having some trouble getting BootP working. I should make it clear that I'm only using BootP for configuration, I don't need to get a boot file, just the first packet with the IP address in it.
I can create a BootP request and send it to the server. The server sees that packet and sends a reply. I can see the reply being sent via Ethereal. The problem is that I never receive the reply packet in my application. From what I've been able to figure out lwIP is seeing the packet, and since DHCP is enabled the packet is being sent to the DHCP functions, which throw it away because it hasn't made a DHCP request. If I disable DHCP the packet is thrown away because the interface in unconfigured and therefore the packet couldn't be for us.
Can anyone tell me what I need to modify in the lwIP source to be able to send this packet on to my application so I can proceed with configuration? If anyone knows of some sort of work-around that doesn't involve modifying the lwIP source that would be an acceptable solution as well.
If anyone needs more information (Ethereal dump, etc) let me know and I can provide it. Thank you for your assistance.
|[Prev in Thread]||Current Thread||[Next in Thread]|