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 Question

Started by beggers359, September 13, 2013, 01:16:55 AM

Previous topic - Next topic

beggers359

I don't want to restart the DHCP server. How can I release both an active and static IP in 10.04?

coley

If it is static it hasn't come via DHCP server.
What exactly are you trying to achieve?

-Coley.
~ 12.04 Alpha: [url="http://linuxmce.iptp.org/snapshots"]http://linuxmce.iptp.org/snapshots[/url]
~ 10.04 Final: [url="http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso"]http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso[/url]
~ My setup: [url="http://wiki.linuxmce.org/index.php/User:Coley"]http://wiki.linuxmce.org/index.php/User:Coley[/url]

beggers359

That's odd because the DHCP server clearly changed the IP addresses of the PC-type devices on my network that were set up to receive a DHCP address and categorized them as "Static" on the LinuxMCE DHCP server's admin page. That may just be the vernacular, but it detected my Slingbox and assigned it a "Static"address. It was the only device on the network that had a static IP set before I installed MCE. The IP MCE tried to assign it conflicted with the IP assigned in the device. It caused me an issue that only a hard reset on the Slingbox would fix.

I've tried looking for the DHCP daemon, but I can't find it. That's really what I'm looking for. Thanks!

tschak909

Our provisioning happens via an interaction of the dhcpd-plugin, and the isc dhcp3 server. It's basically split with the rules outlined in the Advanced > Network > Network Settings page, with the following implicitly:

If a device is added to the device tree, that has an IP and MAC address (see the Advanced > configuration > network devices), then that MAC address is given that specific IP address via a static mapping. You should not modify the DHCP configuration file directly, as your changes may be overwritten when the router needs to be reloaded.

So if you need a device that absolutely needs a static IP mapping, then add a device to your tree. If there is no template, just make one, even if it is a "dummy" template with no device data, or pnp information.

-Thom