Why don't you configure DHCPd to assign ip addresses based on the MAC address of the machine that is requesting the lease? Eg: As taken directly from Peter's page http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch08_:_Configuring_the_DHCP_Server
Code:
<snip>
# You can also assign specific IP addresses based on the clients'
# ethernet MAC address as follows (Host's name is "laser-printer":
host laser-printer {
hardware ethernet 08:00:2b:4c:59:23;
fixed-address 192.168.1.222;
}
</snip>
This will only assign the address 192.168.1.222 and no other address to the printer. Change this to reflect your own MAC address and host name in your servers dhcp.conf (usually in /etc/ ). Also make sure users cannot change their MAC address on the machine they are using!
Cheers,
Mechdave
Bookmarks