How to force a workstation to acquire a different IP address

Using Windows Server 2003 and XP Professional workstations, how do you force a workstation to acquire a new and different IP address from the one it already has?  With DHCP, IP addresses already in use tend to renew on the same machine over and over again.  If I want to assign a specific workstation a different address I'm releasing the existing IP, then deleting the lease on the server under DHCP, then manually entering a new address on the workstation and rebooting.  That seems like too much work.  Is there an easier way?  
james_axtonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

exx1976Commented:
No, what you are doing is the correct way to do this.

Unless, of course, you assign a static IP to the workstation..
0
htowntechyCommented:
I assume that you have tried ipconfig /release
then ipconfig /renew  on the workstation?

If so, the Windows DHCP server should give the lease the workstation the next IP address that is not being used (microsoft servers default to low to high ips for lease renews) as long as the lease period has not expired.  You may want to lower your lease time if you do not want Windows DHCP to give the same NIC the same IP address.
0
james_axtonAuthor Commented:
I temporarily assign the workstation a Static IP so that it registers with DHCP.  After that I put it back on automatic.  That's really the right way to do it?
0
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

htowntechyCommented:
CORRECTION

If so, the Windows DHCP server should give the lease the workstation the next IP address that is not being used (microsoft servers default to low to high ips for lease renews) as long as the lease period HAS EXPIRED.  You may want to lower your lease time if you do not want Windows DHCP to give the same NIC the same IP address.
0
flebbiCommented:
Have you tried releasing it through the command prompt.
Start - Run - CMD OK
ipconfig /release then
ipconfig /renew
0
exx1976Commented:
htowntechy - DHCP will hand out the same IP again because that workstation is already in the DHCP database.  The /release switch only releases the IP on the workstation, it doesn't release it from the DHCP server.  The server will still show the lease.


OP - no, I think you misunderstood.  The way you are currently doing it is the correct way.  The only OTHER way to get a different IP on there, that I know of, would be to assign one statically.  And leave it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
exx1976Commented:
htown - agreed, the lease period must expire for Windows to give out a new lease.
0
Brian PiercePhotographerCommented:
WHY?
What are you trying to achive, Windows DHCP will always attempt to assign the same IP address unless there is no alternative.
What is the point in trying to make it use another
0
DonNetwork AdministratorCommented:

You can configure the client's DHCP lease to expire automatically when the client computer is shut down for Windows 2000-based DNS clients or for later versions of DNS clients. To do this, follow these steps:
 
1. Click Start, point to Administrative Tools, and then click DHCP.
2. Expand the scope for which you want to change the DHCP expiration lease, right-click Scope Options, and then click Configure Options.
3. Click the Advanced tab.
4. Click the list that is next to Vendor Class, and then click Microsoft Windows 2000 Options.
5. Click to select the 002 Microsoft Release DHCP Lease On Shutdown Option check box, and then click OK.
 
 
http://support.microsoft.com/kb/932464

0
EpicErrorCommented:
Are you wanting to create a static ip for the workstation?
Hence wanting to force a different ip?

If so open the dhcp snap in, expand the server, choose reservations.  You will need the MAC Address and the ip you want to assign.  

Once created you can either reboot, or use ipconfig /release, ipconfig /renew and it will obtain the new address.
0
james_axtonAuthor Commented:
dstewartjr, does that work for non-2000 clients as well (XP, Vista)?
0
DonNetwork AdministratorCommented:
Works for " Windows 2000-based DNS clients or for later versions "

0
DonNetwork AdministratorCommented:
We had a problem where if a user needed to take a laptop to a different location, they couldnt get a new ip address in the different Ip range without appyling this option(They had to shutdown of course).
0
james_axtonAuthor Commented:
I didn't catch that before, sorry.  Thanks dste for the help and the follow-up!  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.