Andrew Gray (Gil) wrote:

Why not just use the MAC Address and have dhcp always assign that machine the
same address.   That way all other settings from dhcp will be applied to the
machine every time and changes to the settings applied by dhcp will also be
picked up by that machine.   This method has been working for me for several
years now on one of my servers.

Just add the following to the end of the /etc/dhcpd.conf and you are away:

host computername{
   hardware ethernet 00:00:00:00:00:00;
   fixed-address 192.168.x.x;
}

Don't forget to change the relevant variables to suit your network first.
What is the difference between that and putting the line
"dhcp-host=00:50:BF:xx:xx:xx,hannibal,192.168.xxx.xxx"
in to /etc/dnsmasq.conf?

-M


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to