It's not uncommon in today's "connected" world where you find yourself using the same laptop to connect to a number of different networks, typically at home and at work. Sometimes you have to manually change network setting for a network connection.
Here's a way to automate changes to network settings.