Friday, March 12, 2010

Configuring Network Locations in Mac OSX.

December 3, 2009 by Greg Ferro · 5 Comments 

This Post is Part of a Series — click for list on Network Locations in Mac OSX»

This is one of the key reas­ons why my MAC has been much more use­ful than Windows because I can get a lot more done with a com­puter that is more use­ful.

Introduction

Mac OSX regards the cur­rent inter­faces as being con­figured with one or more LOCATIONS. You can have many loc­a­tions, and each can have com­pletely indi­vidual set­tings such as IPv6, DNS, and more.

Configuring Network Locatons in Mac OSX.

osx-network-location-1.png

Open the Network Preferences tab in the System Preferences and you will see the cur­rent seet­ing for your IP address.

These are not the set­tings for the Ethernet inter­face that you want to use so lets cre­ate a new Network Location by clikcing the Location drop down.

osx-network-location-2.png

As you can see I already have the default Automatic loc­a­tion plus two oth­ers that I use (a Guest wire­less net­work and home net­work). Lets cre­ate a new Network Location by press­ing the + button.

osx-network-location-3.png

Enter a name for the loc­a­tion into the dia­log box and click done.

osx-network-location-4.png

Changes do not take effect until you press the APPLY but­ton and that’s why it shows as a unknown state.

osx-network-location-5.png

Now the Ethernet is using DHCP to get its IP address, gate­way and DNS details.

Which is fine, but for most lab or test­ing envir­on­ments, you want to have mul­tiple pro­files. So lets con­fig­ure a manual address, DNS server and some of the other advanced net­work configuration.

First, make sure you have selec­ted the Ethernet port. I have dis­abled the Airport (wire­less) in this example.

Click ADVANCED to con­fig­ure the set­ings for the Ethernet port.

osx-network-location-6.png

We have quite a few options that can be con­figured from here. Let set a manual IP address, DNS server, and con­fig­ure the proxy server for this connection.

osx-network-location-7.png

Select the drop down menu to manu­ally con­fig­ure the IP address.

osx-network-location-8.png

Configure the IP address and the default gate­way that you want to use.

osx-network-location-9.png

Configure the DNS

osx-network-location-10.png

I haven’t tested the 802.1x con­fig­ur­a­tion, but this would be use­ful when test­ing dif­fer­ent 802.1x cli­ent configurations.

osx-network-location-11.png

And fill out your proxy con­fig­ur­a­tion. If you are test­ing for a new proxy deploy­ment this is hugely use­ful, since you can quickly switch pro­files for each of the proxy serv­ers in your cluster.

Click OK to apply these changes.

Switching Locations

You have now con­figured and applied the Network Profile. You can eas­ily switch between the Locations by open System Preferences, Network, and using the Location menu which is just a bit too manual for me.

This next sec­tion cov­ers a tool called Network Location from <a href=“http://networklocationapp.com/”>http://networklocationapp.com/</a> to help auto­mate the switch­ing of locations.

osx-network-location-12

You can always open the System Preferences, Network and change the con­figured loc­a­tions. But I use a piece of soft­ware call Network Location to provide me with a menu list from the Tool Bar of OSX and that will be the sub­ject of my next post which makes mul­tiple net­work pro­files even easier.

List of Posts in this series:
  1. Configuring Network Locations in Mac OSX.
  2. Switching Network Locations from the Menu Bar
Powered by Hackadelic Sliding Notes 1.6.4

Please rate this post:

  Why Rate Posts?
1 Star - It\\\'s Crud2 Stars - It\\\'s Tosh3 Stars - Something\\\'s missing4 Stars - Needs works5 Stars - Good Enough6 Stars - Good7 Stars - Excellent8 Stars - Brilliant9 Stars - Astonishing10 Stars - Awesomely Godlike? (3 votes, average: 7.67 out of 10)
Loading ... Loading ...

Comments

5 Responses to “Configuring Network Locations in Mac OSX.”
  1. Really nasty draw­back of using loc­a­tions shows its ugly head if you use built-​​in VPN cli­ent. VPN pro­files are not defined as “global” inter­faces, rather inter­faces local to the cur­rent location.

  2. … on the other hand, 802.1X defin­i­tions are “global” — go fig­ure :-)

  3. Zed says:

    Why would you need a tool to change loc­a­tion??? just click on the Apple sym­bol (top left of your screen), it’s there in the drop down

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!