• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 834
  • Last Modified:

Enabling DHCP through registry

I want to change the IP address and DNS on the network card (Windows XP) from static to DHCP through registry. I changed ...Tcpip\Parameters\Interfaces\(ID for Adapter) EnableDhcp to 1 and I deleted the entry in NameServer string. When I restart the computer, everything seems to be OK - the computer collects dynamic IP address and other data from DHCP server. However, when the computer is restarted again, it can not obtain the same IP address from DHCP server, but it gets new one. At the DHCP server beside the old address there is a note "bad_address" and "This address is already in use". That is happening after each restart and old address can not be used (unless I delete them manualy). What should I do to cure this?
0
milanche
Asked:
milanche
  • 2
3 Solutions
 
adamdrayerCommented:
Is the server leasing IP addresses in the same scope as the IP address of the NIC it's listening on?
0
 
abu_deepCommented:

u may have a look at this sites :
19. Registry Parameters for DHCP Servers  (premium content)

http://premium.microsoft.com/msdn/library/winresource/dnwinnt/f1d/d1f/s7677.htm 



20. Registry Parameters for DHCP Clients  (premium content)

http://premium.microsoft.com/msdn/library/winresource/dnwinnt/f1d/d1f/s7680.htm 
0
 
abu_deepCommented:
also
Network Settings in the Registry  (premium content)

http://premium.microsoft.com/msdn/library/winresource/dnwinnt/f1d/d1e/s8458.htm 

Network Component Types in the Registry  (premium content)

http://premium.microsoft.com/msdn/library/winresource/dnwinnt/f1d/d1e/s8459.htm 
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now