Currently Being ModeratedSep 20, 2012 11:36 AM (in response to bonfire99)
First rule of network club; do not run multiple DCHP servers on one network.
You are only asking for trouble with this. If you already have a DHCP server, just use it. If you want these devices to always have the same IP address, then create a static DHCP scope in which you reserve an address based on the device's MAC address.
If you must use a second DHCP server because of some internal politics, then you can create a bootptab file on your server that contains the MAC addresses of the machines and the address assignment. Again, I caution against this as you will need to coordinate with the parent DHCP server to make sure you are not using addresses in its scope.
Currently Being ModeratedSep 20, 2012 8:58 PM (in response to Strontium90)
Yeah, I can see the problems that this is causing. The only reason that I am needing to do this is because I need my 8 macs to have IPs that fall in a range that I set (as the school's DHCP puts these behind a different firewall if they automatically assign one of their IPs). Basically, I know of a range that I can use that is not in their scope... I am gusessing that a bootptab is my primary option.
Instead of this, can I somehow assign static IPs to the 8 clients in my room? Would I do this on each machine and just shut down the DHCP server on my Lion Server box? IT Department has given me a range that doesn't sit behind their main firewall (10.16.0.200 to 10.16.0.300). They have told me to use 10.16.0.200 for my server ip (which I have done) and assign the remaining rnage to my clients.
Currently Being ModeratedSep 21, 2012 2:39 AM (in response to bonfire99)
There are two aspects to this. First as Stronium90 says it is normally a bad idea, i.e. more trouble than it is worth to have more than one DHCP server on same LAN.
The first issue you therefore need to address is to ensure that if you have two DHCP servers only one responds to these specific clients. This means you would need to set the Mac DHCP server to only respond to these devices and you would have to set the other DHCP server to respond to all others and ignore these specific devices. To tell the Mac DHCP server to do this you need to add settings manually to the /etc/bootpd.plist file. This is the main configuration file for Apple's DHCP server and is an XML format file. You can find instructions by doing man bootpd in the Terminal.app.
The second issue is if you want to use static IP addresses then you need to define them in the /etc/bootptab file. As standard this file does not exist but all you need to do is create one and the Mac DHCP server will start using it. The following may be helpful https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages /man5/bootptab.5.html