In Windows NT/2000/XP you can type

ipconfig /release
ipconfig /renew

to get a new IP, permitted that you don't have a static IP and you're using DHCP.