<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Culmination.org &#187; dhcp</title>
	<atom:link href="http://www.culmination.org/tag/dhcp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.culmination.org</link>
	<description>You are what you've become.</description>
	<lastBuildDate>Thu, 11 Mar 2010 19:32:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ISC DHCPD duplicate uid lease</title>
		<link>http://www.culmination.org/2008/10/28/isc-dhcpd-duplicate-uid-lease/</link>
		<comments>http://www.culmination.org/2008/10/28/isc-dhcpd-duplicate-uid-lease/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 19:45:58 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[Computer Stuff]]></category>
		<category><![CDATA[Non Fiction]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[dhcpd]]></category>
		<category><![CDATA[dhcpd.conf]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[isc]]></category>
		<category><![CDATA[leases]]></category>
		<category><![CDATA[leases.conf]]></category>
		<category><![CDATA[logs]]></category>
		<category><![CDATA[mnemosyne]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[warning]]></category>

		<guid isPermaLink="false">http://www.culmination.org/?p=304</guid>
		<description><![CDATA[Ever see this?
dhcpd: uid lease 192.168.1.150 for client xx:xx:xx:xx:xx:xx is duplicate on 192.168.1/24
or something like it, in your dhcp logs? Well I checked /var/log/messages today and saw that I had thousands of this message repeated over and over (so much so it was spamming my log  and making it harder to find what might be [...]]]></description>
			<content:encoded><![CDATA[<p>Ever see this?</p>
<p>dhcpd: uid lease 192.168.1.150 for client xx:xx:xx:xx:xx:xx is duplicate on 192.168.1/24</p>
<p>or something like it, in your dhcp logs? Well I checked /var/log/messages today and saw that I had thousands of this message repeated over and over (so much so it was spamming my log  and making it harder to find what might be important stuff). I searched around the &#8216;net and found some hints but nothing conclusive. The hints pointed toward a duplicate lease (duh) but more specifically lead me to check my leases file. Mine was located in /var/db/dhcpd/dhcpd.leases.</p>
<p>It turns out that what caused this error for me was that I had started the machine in question (the MAC address has been altered to protect the innocent haha) before I had the time to create a reservation for it. Then after it already had an address leased to it, I created a reservation for it (for internal DNS purposes, nothing more). Apparently because duplicates are allowed by default in isc dhcpd, when the machine&#8217;s networking was restarted and it got it&#8217;s new reserved IP, the server kept the original lease (which was that .150 address) and also got a lease from it&#8217;s reservation (.80 on my network). Since the .150 lease was still present in the leases file it caused the warning message (over and over and over for a month).</p>
<p>So if you are using isc dhcpd, and you use reservations, and you&#8217;re getting these error messages, you might want to check your leases file and make sure that you don&#8217;t have a lease for something that also has a reservation under a different IP.</p>
<p>The other pages I found on my search also suggested that you might have a reservation that hands out an address that is within your dynamic scope. You definitely don&#8217;t want to do that, so you may need to check that out as well in your dhcpd.conf.</p>
<p>For the curious, I run FreeBSD 7 on a Pentium 4 Dell desktop (I think it&#8217;s a dimension series, I haven&#8217;t looked at it in a while haha) that sits in my kitchen as a headless DNS/DHCP/Web/Random Unix Fun server. It&#8217;s actually making lots of bad noise lately and I think one of it&#8217;s fans might be going <img src='http://www.culmination.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  I&#8217;ll check that out and report back <img src='http://www.culmination.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.culmination.org/2008/10/28/isc-dhcpd-duplicate-uid-lease/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>DHCP Renaming your mac?</title>
		<link>http://www.culmination.org/2008/04/04/dhcp-renaming-your-mac/</link>
		<comments>http://www.culmination.org/2008/04/04/dhcp-renaming-your-mac/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 15:23:26 +0000</pubDate>
		<dc:creator>mike</dc:creator>
				<category><![CDATA[...And I Quote:]]></category>
		<category><![CDATA[Computer Stuff]]></category>
		<category><![CDATA[WTF?]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.culmination.org/?p=295</guid>
		<description><![CDATA[The DHCP server at my office was reconfigured yesterday and it started forcing my macbook pro to change it&#8217;s name. I like having my host name remain constant for various reasons, so I asked in #macosx and some kind user there pointed me to this blog post:
http://www.elharo.com/blog/software-development/web-development/2005/11/29/setting-a-permanent-host-name-in-mac-os-x/
It works on leopard, in case you&#8217;re wondering! Solved [...]]]></description>
			<content:encoded><![CDATA[<p>The DHCP server at my office was reconfigured yesterday and it started forcing my macbook pro to change it&#8217;s name. I like having my host name remain constant for various reasons, so I asked in #macosx and some kind user there pointed me to this blog post:</p>
<p><a title="Set a staic host name in mac os x" href="http://www.elharo.com/blog/software-development/web-development/2005/11/29/setting-a-permanent-host-name-in-mac-os-x/">http://www.elharo.com/blog/software-development/web-development/2005/11/29/setting-a-permanent-host-name-in-mac-os-x/</a></p>
<p>It works on leopard, in case you&#8217;re wondering! Solved my problem after a reboot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.culmination.org/2008/04/04/dhcp-renaming-your-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
