Set a Static IP Address on a Mac

Set a Static IP Address on a Mac

If you want to set your Mac to always have the same IP address (a static IP), you can easily do so in the Network settings. Here’s how to do this in Mac OS X:

1- Launch System Preferences

2- Click on “Network”

3- Click on the protocol you are using, let’s say we’re using AirPort with a wireless connection so click on “AirPort” and then click on “Advanced” in the lower right corner

4- Click on the “TCP/IP” tab

5- For the sake of this exercise, let’s assume you want to maintain DHCP but set a manual static IP address, so click on the drop-down menu next to “Configure IPv4″ and select “Using DHCP with manual address” (you can also use full manual mode)

6- Select a static IP that will not conflict with anything else on the network. It’s best to pick a number far out of the normal range of assigned IP’s, in the example below we chose 192.168.0.255 because most of the machines on this network stop at 192.168.0.150

7- After you have selected your static IP address, click on “OK” in the corner

8- Click on the “Apply” button in the lower right corner

9- Your IP will now manually set to the static address you provided, you will briefly disconnect from the network while this occurs

10 Close Network settings and System Preferences

Now your Mac has a static IP address. There’s other ways to achieve this, and ideally you would set a static IP to your hardware from the router itself by determining it’s MAC address, but that is a more advanced solution and also varies from router to router, making it impractical to cover here.

Source