Re: Understanding the DHCP Server Client conversation (very intresting subject)
- From: Neil <guess!!!@xxxxxxxxx>
- Date: Sat, 01 Mar 2008 14:12:17 -0800
did you hear "Weamfox" <weamfox@xxxxxxxxxxx> say in
news:0FF41841-B797-412C-A2B1-44D61270CF3E@xxxxxxxxxxxxx:
1) I understand that the Client is sending a broadcast message because
it doesn't know any concrete DHCP server in order to request an IP
address, but why the DHCP sends also a broadcast message to the client
(*) (**)?
OY! ok, who exactly would it be able to direct it to? Without the
specified DHCP server, I shout to everyone on the network (subnet) that I
can. This will go to all IPs that can acceptt it (255.255.255.255) and
all MAC adresses as well (FFFFFFFFFFFF). Think of it from human
perspectives. You walk into a pitch black room. If you aren't sure if
there is anyone in the room, You shout "ANYBODY THERE?" you don't specify
"hay Mike, are you there?". This is the DHCP DISCOVERY
So, when the DHCP server hears this it now knows a little comething. The
client (who doesn't yet have an IP address), has supplied it's MAC
address to the DHCP server. BUT, since the client doesn't have an
address, the DHCP server send the DHCP OFFER as a unicast, to the whole
network (since client is unassigned it goes to IP of 255.255.255.255) but
a specified MAC adress. From the human perspective, this is like the
other guy in the dark room responding "Dave, is that you? It's me Tom"
2) Let's agree that the DHCP server is broadcasting its offer, what
happen if there is more than one client (lets say 50 or more) is
getting same IP address that's suppose to be offered to a concrete
client at the same time? Doesn't this make a high traffic in the
network making all the clients go back and forth with the DHCPNACK,
DHCPDECLINE and the DHCPACK????? NOTE: I understand that the client
sends an ARP request with the offered IP address if it gets a reply
that means that this IP address is in use and the client sends
DHCPDECLINE, this is from the CLIENT side but what about the server
side and the whole network?? :-s
hold up, the DHCP server is simply listening. It's not continously
offering out addresses left right and center. Each OFFER is associated
with a specified MAC adress. There is actually an outside possibility
that with 2 DHCP Servers on the same subnet, the client may be offered
more than one address, but the DHCP servers will only offer one address
per request. The client will pick which it will use. That's the part of
the DHCP REQUEST.
3) Why don't the DHCP server cuts the crap and use the client MAC
address to send the DHCPOFFER and the DHCPACK instate of broadcasting
to all clients? PLEASE NOTE : That the MAC address is in the second
layer (Data Link layer) in the OSI model while the IP address is in
the third layer (Network layer) which make it more reasonable for the
DHCP server to use the the MAC address of the client that is
requesting the service to send him the IP address instate of
BROADCASTING the DHCPOFFER and the DHCPACK and making high traffic.
Um, dude, read this...
http://en.wikipedia.org/wiki/DHCP
too much typing...
--
The InterNeil "V2 w/tabbed browsing & decreased verbosity" MCNGP Triple X
- I feel much better now that I have given up Hope.
.
- Follow-Ups:
- References:
- Prev by Date: Re: OT: All the phuny poasts today
- Next by Date: Re: Understanding the DHCP Server Client conversation (very intresting subject)
- Previous by thread: Understanding the DHCP Server Client conversation (very intresting subject)
- Next by thread: Re: Understanding the DHCP Server Client conversation (very intresting subject)
- Index(es):
Relevant Pages
|