|Simply use DHCP, for getting ip settings automatically.|
So it doesn't matter whether you are at home or at work, you should get automatically the ip address, subnet mask, dns server and default gateway.
The original poster should always write the last response !!!
Let us know, if the problem is solved !!!