Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

stomer

macrumors 6502a
Original poster
Here's my problem and here's the solution. This might be useful for someone else in the future.

The problem:
I wanted to reserve specific IP addresses for all the machines in my LAN. I have a mix of Linux, Mac and Windows machines. I have an AEBSn and I can configure it to reserve an IP address for each machine. I like to specify Client IDs instead of MAC addresses since Client IDs are easy to change.

Assigning Client IDs to my Mac is easy, and it works. I tell the AEBSn to reserve address 192.168.1.XX for Client ID 'mymac' and 'mymac' will receive the specified IP address.

On Linux (Debian in my case), I have to configure the dhclient.conf file. The problem was that the AEBSn was ignoring the Client ID and therefore wasn't assigning my Linux machines with the desired IP address.

The solution:
$ sudo vi /etc/dhcp3/dhclient.conf

You'll see a line that looks something like: send dhcp-client-identifier "XYZ";
That needs to be changed to: send dhcp-client-identifier "\000XYZ";

$ sudo dhclient eth0

Now the AEBSn will assign the correct IP address to your Linux machines.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.