[OmniOS-discuss] [PATCH] isc-dhcp to work with VNIC's via DLPI

Dan McDonald danmcd at omniti.com
Mon Dec 1 16:19:50 UTC 2014


> On Dec 1, 2014, at 10:28 AM, Alex McWhirter <alexmcwhirter at mojovapes.net> wrote:
> 
> As of now, the network/service/isc-dhcp package uses UDP sockets. The build.sh file is using the options “—enable-use-sockets” and “—enable-ipv4-pktinfo”. More details on this workaround can be found here. https://kb.isc.org/article/AA-01040/0/Building-ISC-DHCP-on-Solaris-11.html

Got it.

> The problem with using UDP sockets is that unicast clients cannot correctly obtain an IP without a relay, which really isn’t ideal. I’ve sent this patch to the isc-dhcp team, but i figured it might be found more quickly useful here.
> 
> I’ve created two patches for isc-dhcp that allow dhcpd to use DLPI with VNIC’s and other vanity named interfaces. the modified files are “./configure.ac” and “./common/dlpi.c” Below is the diff info.

Thank you!

BTW, it's just "illumos" not "illumos 11", but that's a tiny nit.

My question for you is this:  Are you suggesting OmniOS build ISC DHCP using the DLPI method/configure-flags instead, provided your fixes are in place?  If so, I have a followup question:  What testing have you performed?  I'm not saying no, but I just want to know what all you've tested alongside these fixes.

Thanks, I really appreciate the contribution!
Dan



More information about the OmniOS-discuss mailing list