LinuxMCE Forums
June 19, 2013, 07:29:32 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: DHCP and MAC addresses: How to Purge?  (Read 669 times)
seth
Guru
****
Posts: 478


A day w/o LinuxMCE is like a day w/o sunshine!


View Profile
« on: November 05, 2008, 01:32:13 pm »

 Smiley
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
Logged

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

http://wiki.linuxmce.org/index.php/User:Seth
atomic
Making baby steps

Posts: 3


View Profile
« Reply #1 on: November 06, 2008, 12:09:56 am »

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
Logged
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #2 on: November 06, 2008, 03:43:20 pm »

You could just try switching their IP addresses in the web-admin. 
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!