Solved

Enabling DHCP through registry

Posted on 2004-10-13
3
818 Views
Last Modified: 2012-06-21
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
Comment
Question by:milanche
  • 2
3 Comments
 
LVL 15

Assisted Solution

by:adamdrayer
adamdrayer earned 100 total points
ID: 12299161
Is the server leasing IP addresses in the same scope as the IP address of the NIC it's listening on?
0
 
LVL 5

Accepted Solution

by:
abu_deep earned 400 total points
ID: 12307182

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
 
LVL 5

Assisted Solution

by:abu_deep
abu_deep earned 400 total points
ID: 12307199
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Massive network latency 1 66
spf record 8 120
Windows 2016 firewall command question what is missing "One or more essential parameters were not entered" 4 73
RRAS AND DNS 15 61
Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question