Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In my other question, I was trying to set up my mac as a server, and the thing they suggested after is setting it to a static local ip outside of the DHCP range so I could port forward to that and it would never change.

I know how to see/change the DHCP range through the airport utility. How do I go choosing the ip address and making it static? The Airport Extreme already always tries to give the same IP Addresses, but they recommended that I do this anyway as it is possible that it could change, with multiple devices connected.

Do I need to do it through the Airport utility? Or through system preferences? In the network section of system preferences, clicking on advanced, and under the TCP/IP tab "Configure IPv4", "Using DHCP" is selected. There is also a selected for "Using DHCP with manual address", which on selected makes "Renew DHCP Lease" button disappear, and make's the IPv4 address editable. Is this what I'm looking for? Thanks.

I'm also going to be using a DynDns account and the client application for a free domain name and to keep the global ip updated.

I think I figured it out -- My router's IP is 10.0.1.1. It's DHCP range is 10.0.1.2-10.0.1.200. "Using DHCP with manual address" keeps the router, dns, etc settings all the same, but it just lets you pick your own ip. So I set it to 10.0.1.201, just outside the range. And when I reboot its still always 10.0.1.201. So as far as I can tell it will do what I want, allow me to forward port 80 to my mac's IP without having to update when the mac's local IP changes. Now I realize why by default when I made the port map for "personal web sharing" it selected IP 10.0.1.201, because its the first outside of the range. Is this good?

EDIT: I followed Benjamin Schollnick's instructions instead.

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

Make Life easy for yourself.

Leave everything the way it is right now. Set your client computer to use DHCP. Click on Advanced --> Ethernet and write down the Mac Address for the client/server computer...

  1. Open Airport Utility.....
  2. Open your Airport Extreme
  3. Click on Internet
  4. Click on DHCP
  5. Click on + under DHCP Reservations
  6. Add a description (eg Server), and click on Reserve Address By Mac Address
  7. Click on Continue
  8. Add the Mac Address, and type in the IP Address you want to assign it.

This will cause the computer to always get the same IP Address through DHCP. You are literally reserving the IP for that computers use.

share|improve this answer
    
+1 Worked perfectly! Thanks for step-by-step instructions. –  Mk12 Oct 16 '09 at 1:36
add comment
  1. De-select "Use DHCP"
  2. Choose an IP address outside the range of IP addresses that the airport is assigning.

So, if the airport DHCP is issuing 192.168.1.100 - 192.168.1.150, set the local address to 192.168.1.95. You will also need to set your DNS addresses - copy these down before you disable DHCP.

share|improve this answer
    
If I deselect Use DHCP, what do I select? –  Mk12 Oct 15 '09 at 20:59
    
Check my question I edited it. –  Mk12 Oct 15 '09 at 21:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.