Solved

change ip adderss in win2k

Posted on 2001-06-10
4
370 Views
Last Modified: 2013-12-03
I would like to know if there is an api function in win2k
to change NIC's ip address without rebooting the computer.
Also to change from static ip to DHCP settings, again without rebooting.

Thanks.
0
Comment
Question by:dudil
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 6173931
See:

http://jwhance.elosoft.com/alcoholic_texts.htm

It's a copy of a now missing web page that describes a useful technique for this.  While it's targeted at NT4, this works on Windows 2000 (and so far on Windows XP) also.

There is an API in the IPHLPAPI.DLL starting in Win2000 called AddIpAddress() but you'll find that it is practically useless.  Further, an investigation of what Microsoft does in the Network Control Panel reveals that they use the DhcpNotifyConfigChange() call as described in the article.
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 10661722
PAQed - no points refunded (of 100)

CetusMOD
Community Support Moderator
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

729 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