Jump to content

Recommended Posts

Posted

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 this

many thanks :)


Posted

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 ...

Posted

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 course

thanks sonic

Posted

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.

Posted
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 machine

would i be right in saying this?

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...