Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 03-07-2007, 01:30 AM
sampo_rasanen@hotmail.com
Newsgroup Contributor
 
Posts: n/a
How does DHCP work?

How does the computer choose the IP-address if there is multiple DHCP-
servers on the network? Is it best lease-time or what?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 03-07-2007, 01:30 AM
  #2 (permalink)  
Old 03-07-2007, 02:30 AM
Paul
Newsgroup Contributor
 
Posts: n/a
RE: How does DHCP work?

> How does the computer choose the IP-address if there is multiple DHCP-
> servers on the network? Is it best lease-time or what?


When you connect your computer to the network the computer sends out a
question to all the other computers on the network asking for an IP number.
The DHCP server on the network sends a reply saying something like " Ok, i
can give you an IP address" and so then your computer sends a request to that
server that answered the question first, to be given an IP address.

So if there are more than one DHCP server running on the network then often
your computer will get an IP number from the server that answers the question
fastest.

Hope this answers your question.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 03-07-2007, 04:45 AM
Pop
Newsgroup Contributor
 
Posts: n/a
Re: How does DHCP work?

Paul wrote:
>> How does the computer choose the IP-address if there is multiple DHCP-
>> servers on the network? Is it best lease-time or what?

>
> When you connect your computer to the network the computer sends out a
> question to all the other computers on the network asking for an IP number.
> The DHCP server on the network sends a reply saying something like " Ok, i
> can give you an IP address" and so then your computer sends a request to that
> server that answered the question first, to be given an IP address.
>
> So if there are more than one DHCP server running on the network then often
> your computer will get an IP number from the server that answers the question
> fastest.
>
> Hope this answers your question.



And... if you are using a router, it pretends to be a primitive DHCP server and does very well. Logging in to your
router allows you to configure settings.

pop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 03-07-2007, 05:45 AM
sampo_rasanen@hotmail.com
Newsgroup Contributor
 
Posts: n/a
Re: How does DHCP work?

Is it always the "fastest" server who gives the IP?
I thought that the PC choose from the the addresses (for example by
the best lease time), and then tell the other servers that "I already
made the decision and I got an IP now".
Am I wrong?



> So if there are more than one DHCP server running on the network then often
> your computer will get an IP number from the server that answers the question
> fastest.
>
> Hope this answers your question.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 03-07-2007, 06:15 AM
John John
Newsgroup Contributor
 
Posts: n/a
Re: How does DHCP work?

It's a bit of a mystery as to which lease the client accepts. Sometimes
it will accept less favorable lease even when better ones are available.

John

sampo_rasanen********.com wrote:

> Is it always the "fastest" server who gives the IP?
> I thought that the PC choose from the the addresses (for example by
> the best lease time), and then tell the other servers that "I already
> made the decision and I got an IP now".
> Am I wrong?
>
>
>
>
>>So if there are more than one DHCP server running on the network then often
>>your computer will get an IP number from the server that answers the question
>>fastest.
>>
>>Hope this answers your question.

>
>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 03-07-2007, 07:45 PM
NoConsequence
Newsgroup Contributor
 
Posts: n/a
Re: How does DHCP work?

On 7 Mar 2007 01:27:26 -0800, sampo_rasanen********.com wrote:

>How does the computer choose the IP-address if there is multiple DHCP-
>servers on the network? Is it best lease-time or what?


Ask in a networking group. This really doesn't have anything to do
with WinXP.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 03-08-2007, 01:00 PM
John Wunderlich
Newsgroup Contributor
 
Posts: n/a
Re: How does DHCP work?

sampo_rasanen********.com wrote in
news:1173274154.380854.301180@t69g2000cwt.googlegr oups.com:

>> So if there are more than one DHCP server running on the network
>> then often your computer will get an IP number from the server
>> that answers the question fastest.
>>
>> Hope this answers your question.


> Is it always the "fastest" server who gives the IP?
> I thought that the PC choose from the the addresses (for example
> by the best lease time), and then tell the other servers that "I
> already made the decision and I got an IP now".
> Am I wrong?


According to the Standard (RFC 2131):
3. The client receives one or more DHCPOFFER messages from one or more
servers. The client may choose to wait for multiple responses.
The client chooses one server from which to request configuration
parameters, based on the configuration parameters offered in the
DHCPOFFER messages. The client broadcasts a DHCPREQUEST message[..]

The key phrase is ... client *may* choose to wait...
The reality is usually that the first one offered is accepted.

<http://www.faqs.org/rfcs/rfc2131.html>

HTH,
John

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP Jaume Guasch Pocket PC General 1 07-25-2008 06:24 AM
DHCP !!!HELP!!! Robert Bowie Windows XP 6 12-28-2007 08:10 PM
wireless and DHCP Help!!! Candace Sparks Windows XP 0 12-14-2007 07:40 PM
DHCP Scopes Tariq Arsalayee Windows Vista 0 12-03-2007 12:40 PM
DHCP, IP confilicts XP gshakespeare@sgfl.org.uk Windows XP 3 11-19-2007 01:30 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 10:18 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0