Page 2 of 2

Re: Dhcp Server development

Posted: Wed Aug 06, 2014 12:58 pm
by sulliwk06
mx270a wrote: Note that NNDK 2.6.7 has a tiny bug in the way it handles incoming UDP packets on port 67 (DHCP) which causes it not to pass them through to the user app. A fixed udp.cpp file is included, which will probably be included in future NNDK releases.
Thanks for this catch. I wrote my own DHCP server a while back and you probably just saved me a good bit of time debugging it.

Re: Dhcp Server development

Posted: Thu Sep 25, 2014 3:39 pm
by sblair
Dan,

I've already got a product in planning to use your DHCP server along with the dual interface MOD '417.

I had a couple questions here. We'll be using the '417 as dual-homed interfaces (i.e. not as a switch). In that mode is it possible to config your DHCP server to only hand out addresses on 1 interface and not the other? 1 interface would be a DHCP client and the other interface would be a DHCP server.

Also slight tangent, with the '417 operating in that mode, is it possible to access the webserver from both interfaces?

Thanks!
Scott

Re: Dhcp Server development

Posted: Thu Sep 25, 2014 5:54 pm
by mx270a
-----

Re: Dhcp Server development

Posted: Fri Sep 26, 2014 8:43 am
by dciliske
Scott,

Yes and yes. When creating the DHCP server, you add the interface numbers it's allowed to respond on. As for the Webserver, yes it will respond on both interfaces; we're currently working towards having an example that can do permission/access/'sites' segregation based on which port the request comes in on.

-Dan

Re: Dhcp Server development

Posted: Fri Sep 26, 2014 9:49 am
by sblair
Cool! Thanks Dan!