public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta•com>
To: Sri Ram Vemulpali <sri.ram.gmu06@gmail•com>
Cc: linux-netdev <netdev@vger•kernel.org>
Subject: Re: Question on DHCP
Date: Tue, 12 Oct 2010 18:45:43 -0700	[thread overview]
Message-ID: <20101012184543.55ebf503@nehalam> (raw)
In-Reply-To: <AANLkTikTKL2JzmHKUrraOoNdqV1=0e_r+EuvBTgURjUz@mail.gmail.com>

On Tue, 12 Oct 2010 21:33:25 -0400
Sri Ram Vemulpali <sri.ram.gmu06@gmail•com> wrote:

> Hi All,
> 
>    I have very basic stupid doubt. Can anyone help to resolve this.
> 
> DHCP, is used for dynamically configuring IP address, mask, MTU, DNS
> domain, .... for a host. DHCP is a application layer protocol, but the
> values it configures are related to IP layer. How come DHCP can
> configure when its data packet in embedded in to IP datagram, which
> are disparate layers. I am little confused. Please clarify. Thanks.
> 

DHCP client uses UDP to send broadcast packet and find the nearest
server.  The Linux DHCP client ends up using a AF_PACKET socket because
it wants to seem MAC address of server.

-- 

  reply	other threads:[~2010-10-13  1:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13  1:33 Question on DHCP Sri Ram Vemulpali
2010-10-13  1:45 ` Stephen Hemminger [this message]
2010-10-13  7:31   ` Stefano Salsano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101012184543.55ebf503@nehalam \
    --to=shemminger@vyatta$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=sri.ram.gmu06@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox