Os X Lion Server, NAT and DHCP.
Hi *,
for month now, I'm using a Mac Pro with Mac Os X Server Snow Leopard as the default gateway for my "Apple" subnet.
With the Lion release, I upgrade my Mac.
First of all, I was really disappointed to see the migration totally screwed up my configuration. During the install, the Installer told me migration failed or was skipped.
Indeed, after the first boot, all my servers settings where gone. Hum.
So I made a reinstall, and configured everything from scratch.
I followed the Apple documentation for Lion Server but with this Mac Os release, I'm unable to configure DHCP or NAT with my network settings.
All the time I start Internet Sharing, NAT or simply IP forwarding, the server change his ip settings for the internal interface and use 192.168.2.x/24 address.
My whole subnet is in 172.16.84.0/27. How can I fix it and force Os X Server to use _my_ ip settings and not default one?
Is this a way to get "advanced" configuration instead of "3click-and-make-it-run" ?
I can see in the Preferences Panel that all my IP settings are fine, but an ifconfig in cli only returns me an IP in the wrong range and there is no connectivity with my real network.
The problem is the same for DHCP.
If I configure the DHCP service with my subnets, I declare my ranges,... exactly as I did in Snow Leopard (and which was working perfectly).
But, from times to times, the configuration is erased (even if I don't use the Gateway Setup Assistant).
I often see a new range added in the 192.168.2.0/24 subnet, which keep coming even if I remove it.
Even with all references removed to this range, service restarted, the server continues granting leases in the 192.168.2.0/24. And nothing for the subnets I declared.
This server is also the DHCP server for Time Capsule client. Indeed, my TC is bridged on the network and there is no DHCP running except on the Server.
I also tried to let the Gateway Setup Assistant do his work and after, edit settings by hands via Server Admin, same problem.
The Server doesn't care about my settings and NAT/DNS/DHCP doesn't work.
A little quick draw to make things more obvious :
--- Internet ---- Firewall ---- DMZ ---- Mac Pro ---- Apple_Lan --- TimeCapsule
Mac Pro en0 : 172.16.83.1/29
Mac Pro en1 : 172.16.84.30/27
Does anybody has anything in mind to help me ? any tracks ? feedback ?
Cheers,
Yggdrasill.
Mac Pro, Mac OS X (10.7), Mac Os X 10.7 Server