DHCP discover

Matt Zagrabelny mzagrabe at d.umn.edu
Fri Oct 19 18:32:28 UTC 2007


On Fri, 2007-10-19 at 16:21 -0200, Eduardo Fleury wrote:
> I'm not familiar with this code but AFAIK the request is not sent using
> sockets (which are point-to-point) but using ethernet broadcast.

Agreed, it also uses an IP of 0.0.0.0 in the broadcast.

> On 10/19/07, Arut Selvan <arut at techie.com> wrote:
> >
> > Hi Folks, I would like to know how a DHCP client could bind to a socket
> > without having an IP address. We can't use the IP stack without a
> > valid IP address, so is the socket layer bypassed until a valid IP
> > address is received ?Does the DHCP client build a DHCP message and
> > directly pass it layer 2 or something. Please explain. Thanks.
> > --
> > Want an e-mail address like mine?
> > Get a free e-mail account today at www.mail.com!
> >
> >
> >
> >
> 
> 
-- 
Matt Zagrabelny - mzagrabe at d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85  C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot



More information about the dhcp-hackers mailing list