Try this:
**Computer connected directly to the modem.
Get to a command prompt. (Go to Start > Run > and type "cmd")
You should see a black window pop up.
Now, type "ipconfig /release" (Without the quotes)
And type "ipconfig /renew" (Without the quotes)
P.S. You can't change the ip this way if you've got a dynamically assigned IP address.