The reason for this is simply DHCP (Dynamic Host Configuration Protocol), it is a method for automatically assigning IP/Netmask, Gateway, DNS and a variety of other settings - when you have not manually configured settings.
When you manually place IP settings, it basically uses them instead of querying DHCP servers.
When you plugged in your 3G modem, it would have set up its own device independently of other network connections as you can manually set a different address on each connection. It will itself most likely be using DHCP to your ISP's server or the installer would have manually set them.
![alt text](../../I/static/images/c8bc499c12fac8ff33865b47c8c312b97b7bd6267be8dc6d03d808b75646c287.png)
When you got home, obviously, you were connecting via the same connection as the site and their settings were taking preference over DHCP.
The way around this is to put the site settings as the "alternate configuration" and leave the main settings as DHCP, this will mean that you will always use DHCP but if it cannot find a DHCP server, it will use the settings present in the alternate configuration.
![alt text](../../I/static/images/9f90743c8241908d8b3a6b492e369aeeef5ebd2d3c103eb92eac9174bfc06f99.png)