Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I’ve been trying to set up Lion Server on a Mac Pro with it acting as the router/gateway/firewall/DNS/NAT and DHCP. I’ve been trying to setup an internal-only network named mycompany.something. After having a lot of problems with that I switched to using mycompany.private (as recommended in Mac OS X Lion Server for Dummies).

When I was using mycompany.private and I turned on DHCP for the 192.168.2.x side of things it would distribute addresses and machines behind the server could get to the outside world.

I then noticed that every time I went back to the DHCP settings Subnets panel in Server Admin the subnets were either gone or different.

Looking at the logs it became apparent that the DHCP server was basically losing the settings file (which I assume is created/altered via Server Admin) and was putting a default one in its place.

Any idea what causes this to happen and how I can cajole the DHCP server into retaining my settings?

share|improve this question
    
I'm also having this problem - very frustrating. I'm wondering whether it has anything to do with losing track of our gateway switch (say after a power outage or the switch has a problem).. –  glenstorey Dec 6 '11 at 6:22
    
Just thought I’d leave a note that I never was able to get DHCP and NAT working on Lion Server, even on 10.7.3 (the latest version at the time of this writing). I ended up leaving DHCP off and using an Airport Extreme to handle DHCP. –  crazyj Apr 27 '12 at 0:20

1 Answer 1

Just shooting a few ideas here: a router on your network that has a DHCP server activated. Permissions on the settings files are wrong. Deleting all settings and prefs and starting from scratch. Make sure the OS is up-to-date.

And you say the logs only show that the settings files disappeared? Nothing else?

share|improve this answer
    
No other DHCP servers active. This is a fresh install of Lion +Server (with all updates) so I assume permissions are good and I’ve wiped and reinstalled it 4 times now. –  crazyj Nov 22 '11 at 3:11
    
Hum. Ok. So can't be that. Can you post a copy of the logs around the time you believe it reverts to defaults, if possible? –  Fred Nov 22 '11 at 4:24
    
I assume you created a pool of DHCP subnets for your computers on the network. And I also assume that your setup is a home network with lion server connected to your modem and sharing the Internet connection via DHCP, correct? –  Fred Nov 22 '11 at 4:32
    
And did you set the log detail levels for DHCP to high? Just to get a bit more info... –  Fred Nov 22 '11 at 4:34
    
Changing the log level would not “stick” so they only have default detail. I don’t have access to the at the moment but will post a snippet later. –  crazyj Nov 22 '11 at 17:22

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.