mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Kernel Level DHCP Versus udhcp
@ 2002-03-15 19:22 Abdij Bhat
  2002-03-15 19:42 ` Justin Carlson
  2002-03-15 20:04 ` Alan Cox
  0 siblings, 2 replies; 3+ messages in thread
From: Abdij Bhat @ 2002-03-15 19:22 UTC (permalink / raw)
  To: linux-kernel

Hi,
 I am deploying a Linux Network Stack. I am supposed to use a stable, fully
featured, RFC compliant, small memory foot-print DHCP client for an embedded
system. We had converged on udhcp for the client. But I have found that
there is a DCHP client implemented in the Linux Kernel ( Version 2.2.x or
later ). This I believe can be configured by choosing the "Kernel level
autoconfiguration".
 I have however practically no documentation on the Kernel DHCP Client. I do
not know how buggy it is, is it a fully featured DHCP client or is it just a
boot level DHCP client used for remote booting etc.
 Can some body help me with this. I believe it is used only for the remote
booting, with the documentation currently available to me. How correct am I?
Can I replace the udhcp client with this one? How much of a change will I
need to do for the replacement?
 I am totally confused....
 Please help...
Thanks and regards,
Abdij







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel Level DHCP Versus udhcp
  2002-03-15 19:22 Kernel Level DHCP Versus udhcp Abdij Bhat
@ 2002-03-15 19:42 ` Justin Carlson
  2002-03-15 20:04 ` Alan Cox
  1 sibling, 0 replies; 3+ messages in thread
From: Justin Carlson @ 2002-03-15 19:42 UTC (permalink / raw)
  To: abdij.bhat; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1651 bytes --]

On Fri, 2002-03-15 at 14:22, Abdij Bhat wrote:
> Hi,
>  I am deploying a Linux Network Stack. I am supposed to use a stable, fully
> featured, RFC compliant, small memory foot-print DHCP client for an embedded
> system. We had converged on udhcp for the client. But I have found that
> there is a DCHP client implemented in the Linux Kernel ( Version 2.2.x or
> later ). This I believe can be configured by choosing the "Kernel level
> autoconfiguration".
>  I have however practically no documentation on the Kernel DHCP Client. I do
> not know how buggy it is, is it a fully featured DHCP client or is it just a
> boot level DHCP client used for remote booting etc.
>  Can some body help me with this. I believe it is used only for the remote
> booting, with the documentation currently available to me. How correct am I?
> Can I replace the udhcp client with this one? How much of a change will I
> need to do for the replacement?

It sounds like the kernel DHCP client is not what you want.  It's really
intended for situations where you need to get dynamically assigned IP
information for a machine before you're far enough in the bootstrap to
do it in userland.

The most common situation for this that comes to mind is mounting your
root filesystem over NFS.  At least, that's the only situation for which
I've needed it.

If, as you imply, you really need a full-featured DHCP client, you
should be using something in userland.  The kernel-level one doesn't
(last I checked) handle DHCP details like temporarly IP address leases
and such; that's not the intention of having that option in the kernel.

-Justin


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel Level DHCP Versus udhcp
  2002-03-15 19:22 Kernel Level DHCP Versus udhcp Abdij Bhat
  2002-03-15 19:42 ` Justin Carlson
@ 2002-03-15 20:04 ` Alan Cox
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Cox @ 2002-03-15 20:04 UTC (permalink / raw)
  To: abdij.bhat; +Cc: linux-kernel

>  Can some body help me with this. I believe it is used only for the remote
> booting, with the documentation currently available to me. How correct am I?
> Can I replace the udhcp client with this one? How much of a change will I
> need to do for the replacement?

its just used in kernel for booting a diskless box. Nothing else

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-15 19:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-15 19:22 Kernel Level DHCP Versus udhcp Abdij Bhat
2002-03-15 19:42 ` Justin Carlson
2002-03-15 20:04 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®