Currently Being ModeratedJun 24, 2011 9:04 PM (in response to kinesis1)
There are many, many possibilities here, and I'm not sure where to start.
For one, your configuration is... suspect, to say the least.
You say you're using 192.168.1.1 as the 'public' interface address. This is not a public IP address and can not be valid unless you're using another NAT device in your network. If you are, you should try to avoid using another NAT device (e.g. the Mac Mini) since double-NAT is just a bad, bad thing. It can be done, but some protocols will break.
Beyond that, it's not clear that you've setup the Internet Gateway correctly... how did you do this?
Additionally, you say you've configured the IP address and DNS server address on the client (the laptop). What about the default gateway address?
For clients on the internal LAN their gateway/router address should be set to the 'internal' address of the Mac Mini. In that way the Mini can NAT the traffic (assuming internet gateway is configured/running) out to the public internet (or, in this case, to another router which can NAT it out).
I highly recommend re-evaluating your network topology. Why do you think you need to use the Mini as a gateway device, rather than just adding the laptop as another client on the 192.168.1.x LAN?Mac OS X (10.6.6)
Currently Being ModeratedJun 24, 2011 10:02 PM (in response to Camelot)
The laptop has linux and yes i did route add default gw 192.168.0.1 (the ip of the Mac Server)
Well, it's out of my control. Due to this environment, the property owners have a wireless router installed that gives '192.168.1.x' to the LAN.
so if we just don't use the mac mini as a gateway, and go with an 8 port switch instead of a 5 port, saving the ethernet adapter for later - can we set NAT sharing later on if we get a dedicated internet connection or do we have to install the whole server over again?
Currently Being ModeratedJun 25, 2011 9:37 AM (in response to kinesis1)
I use a mac mini server (Running SL) at Home and as a Gateway . This is really my test device for the office, (Xserves, 50 clients) One thing that is important, (and please anybody correct me, ) is that you should have a static IP. (Not neccessary but easier to setup)
Here is my setup, : Comcast SMC Business Router set as a PASS THROUGH, En 1 on mini conected there with staic IP of 70.16.xxx.xxx
usb Ethernet going into LAN of Airpot Basestation, NAT is enabled on SERVER (Set on Bridge mode) DHCP on server hands out 192.168.1.1
to all clients. You also have set the firewall rules on the SERVER to allow pass through.
You mentioned that the wireless gateway is sending out 192 addresses, this can be a problem and what your conflict is.
Everything is working fine on my end, but if i had to do it all over again, I would use the Airport as the gateway, and put the server behind it. (If the server goes down you're dead in the water until you re-config your gateway)
Hope this helps ! And on another note, 10 years ago, a server for under 1K was impossible !!