Dhcp Server development

Discussion to talk about software related topics only.
sulliwk06
Posts: 118
Joined: Tue Sep 17, 2013 7:14 am

Re: Dhcp Server development

Post 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.
sblair
Posts: 162
Joined: Mon Sep 12, 2011 1:54 pm

Re: Dhcp Server development

Post 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
User avatar
mx270a
Posts: 80
Joined: Tue Jan 19, 2010 6:55 pm

Re: Dhcp Server development

Post by mx270a »

-----
Last edited by mx270a on Mon Oct 13, 2014 9:05 am, edited 1 time in total.
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: Dhcp Server development

Post 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
Dan Ciliske
Project Engineer
Netburner, Inc
sblair
Posts: 162
Joined: Mon Sep 12, 2011 1:54 pm

Re: Dhcp Server development

Post by sblair »

Cool! Thanks Dan!
Post Reply