News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

DHCP and MAC addresses: How to Purge?

Started by seth, November 05, 2008, 01:32:13 PM

Previous topic - Next topic

seth

 :)
Hi there,

I have a question. I had a media director that had some hardware issues. I would like to keep it for testing, however, the IP address that it was assigned by the core, keeps referring to its MAC address. I would like to clear the questionable MAC address from getting the 192.168.80.5 IP address assigned to it.

What file or .conf piece do I need to modify to clear the offending MAC address, and give this IP to my new MD, rather than having it assigned to the old, testing MD's MAC address?

End result is that I want the new MD (which is working great as .6) to become .5

Thanks In Advance,

Regards,

Seth
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

[url="http://wiki.linuxmce.org/index.php/User:Seth"]http://wiki.linuxmce.org/index.php/User:Seth[/url]

atomic

Seth,

You can certainly add a host reservation in your dhcpd.conf file, just append after everything:

------------------------
host name-goes-here {
hardware ethernet (insert mac address here, without brackets)
fixed address x.y.z.w
}
------------------------

Also, dhcp stores the addresses it gives out in a leases file (/var/lib/dhcpd/dhcpd.leases), you can probably delete it, touch, and restart dhcpd (i am not sure if this will break something on a lmce system), or possibly, make offending address expire. Safest way though is to add a host reservation.

Best regards

Zaerc

You could just try switching their IP addresses in the web-admin. 
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]