dhclient raw socket?

Schmidt, Jolynn Jolynn.Schmidt at nasdaq.com
Fri Jan 19 14:14:12 UTC 2007


Interesting, I compiled it using Gentoo but will be installing it in to
an initrd image.  I want to write a very simple dhclient-script and use
the dhclient.conf to request a few extra options.  We have a custom
Linux OS that we need to configure during a PXE build. udhcpc is pretty
much designed for this, is this doable with dhclient?  I have yet to see
a "simple" dhclient-script.

Thanks,

Jolynn

-----Original Message-----
From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On
Behalf Of David W. Hankins
Sent: Thursday, January 18, 2007 5:58 PM
To: dhcp-users at isc.org
Subject: Re: dhclient raw socket?

On Thu, Jan 18, 2007 at 05:21:25PM -0500, Schmidt, Jolynn wrote:
> I was wonder if dhclient uses a raw socket.  We found this to be the
> case for udhcpc, which causes problems in our environment.  We have a
> high volume UDP broadcast network.  When the raw socket is opened and
a
> port is not specified, the amount of UDP traffic on our network over
> whelms udhcpc and it can not get its lease.  I wanted to move to
> dhclient but this will require a lot of work to configure and I wanted
> to know up front if we would run in to the same problem.  Does anyone
> know?

What OS?

On FreeBSD for example the client uses BPF, and installs a filter so
only DHCP packets arrive.

Most other OS have a similar but different mechanism.

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		you'll just have to do it again."
Internet Systems Consortium, Inc.	-- Jack T. Hankins





More information about the dhcp-users mailing list