in Windows open the console or terminal thingy or whatever it is called: ipconfig /release
then type ipconfig /renew should work.
On a Mac open system prefs open network then hit "renew lease".
The windows one worse but i might be wrong on the syntex as i never use windows.