How to configure macOS Network settings per connection

I'm using macbook air with Mavericks. I'm connecting so many wireless network, I could set up TCP/IP settings per network which I connected. How can I do this in Mavericks?

example: I have a router in my home and I want connect this router with manual TCP/IP settings like ip, dns, etc. and I have a router in my office too, but I want connect this router with DHCP. In Linux OSes, network settings setting per network. I'm using Mac OS X now and How can I do that in Mavericks?


Solution 1:

The feature you are asking for is called Locations, found in System Preferences > Network > Location pop-up menu.

Example

ss#1

NOTE: Once you have created and set additional network locations, you can then use the Location menu item from the Apple menu to switch to a different location.

References

  • http://www.cultofmac.com/242667/add-network-locations-and-switch-among-them-in-the-apple-menu-os-x-tips/
  • http://macs.about.com/od/networking/qt/networklocation.htm