0

I am working on creating a cluster configuration demo. I have three devices, one will be the head-node, two will be the compute-nodes. I am interested in using an unmanaged switch and have the two compute-nodes look to the head-node to get an IP address. Is it possible to configure my DHCP server (isc-dhcp-server) so that any device that connects always gets the same IP?

0

In your dhcpd configuration file (typically /etc/dhcp/dhcpd.conf) you can set persistent IP leases for specific machines by MAC address with stanzas as

host foobar {
    hardware ethernet 08:01:02:03:04:05;
    fixed-address 192.168.17.34;
}

Of course, the IP addresses must be consistent with the remainder of your network configuration and dhcpd.conf as per the dhcpd.conf manual page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.