How to set hostnames to specific range of IP addresses on DHCP Server?
1
1
I'm working on Diskless Linux Clusters. I'm using Ubuntu Server 12.04( DHCP, TFTP and NFS servers installed and configured). When I boot slave machines via Live CD, all of them have same hostname but different IP addresses. I want to set hostname/ip address pair to slave machines via DHCP server without knowing slaves MAC addresses. For example: IP Hostname 192.168.1.200 slave1 192.168.1.201 slave2 ... 192.168.1.253 slave54 When a slave machine dynamically get 192.168.1.201 IP address from DHCP server, its hostname must be slave2 . I used this solution on client side to get hostname from DHCP Server. But I don't know how to do this matching " 192.168.1.201 slave2 " on server side. My DHCP config file: ... subnet 192.168.1.0 netmask 255.255.255.0 { r...