eyeball Posted November 24, 2005 Posted November 24, 2005 hi all i have a question i wonder if anyone can help me when a client machine has received the DHCP Acknowledgement from a dhcp server and initializes the ip address it is offered, where is this data stored? there must be a cache either in memory or on disk or something. please can anyone tell me where it is stored? im curious about thismany thanks
Sonic Posted November 24, 2005 Posted November 24, 2005 Windows XP stores information about IP & DHCP in registry in[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{B8088F46-3AD1-4CE3-A0AD-6BC9C1E6DB54}\Parameters\Tcpip]The CLSID can be diffrent from me perhaps ...
eyeball Posted November 25, 2005 Author Posted November 25, 2005 thank you so if i i restart the machine the registry is checked and if there is an IP in there that was previously leased the machine will re-request that IP unless it has expired of coursethanks sonic
laltoofan Posted November 25, 2005 Posted November 25, 2005 %systemroot%\system32\dhcp\dhcp.mdb on the server hosting the DHCP service.
Bezalel Posted November 25, 2005 Posted November 25, 2005 During a normal shutdown the IP address is released by the client. During startup most DHCP servers will grant the same IP adress if it is still available.
eyeball Posted November 25, 2005 Author Posted November 25, 2005 During a normal shutdown the IP address is released by the client. During startup most DHCP servers will grant the same IP adress if it is still available.oh so its more of a server side thing?i guess the DHCP server checks the MAC address of the computer requesting a lease, see's that its previously had 192.168.1.5 for example and then re offers it to the client machinewould i be right in saying this?
Bezalel Posted November 25, 2005 Posted November 25, 2005 The document that describes the DHCP protocol is RFC2131 you can read the document at http://www.ietf.org/rfc/rfc2131.txt. Are you trying to determine the current IP, previous IP, or trying to get a specific IP from the server?
eyeball Posted November 25, 2005 Author Posted November 25, 2005 i didnt ask this question for any reason at all, i just wanted to further my understanding so thank you everyone that has offered help and thanks for the link to the rfc, cant believe i didnt think to just read that in the first place lol thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now