Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a macbook running OS X 10.6.2. I would like to be able to use DHCP when roaming, but automatically switch to a static IP when my macbook is in range of my home router. Right now I must manually switch between network locations in order to use either the static or DHCP settings.

Unfortounately DHCP IP address reservation, which would solve this problem nicely, is not an available option on my router (Linksys WRT54G v8).

share|improve this question
Wow, I couldn't believe that the WRT54G doesn't support IP address reservation (infinite IP leases), but you're right...… – Arjan Nov 15 '09 at 9:26
You can trade it in for a GL and flash it with Tomato which will do everything you need. – Hasaan Chop Nov 16 '09 at 4:06
up vote 6 down vote accepted

Check out MarcoPolo, you can configure just about anything depending on your location, including network settings.

share|improve this answer
Yep, for me it's the best thing about having a Mac! – Rich Bradshaw Nov 15 '09 at 10:37
That program is awesome, I can't believe I never heard of it. – Marcin Nov 16 '09 at 6:38
Thanks. I'll try it out as soon as I get a chance -- there seems to be a problem with the wifi settings using snow leopard but there is a patch at for anyone interested. – csnullptr Nov 16 '09 at 8:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .