<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[supersede dhcp-server-identifier 255.255.255.255 not working]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">so I finally figured out my "WAN IP changes too often" problem. It appears as if my ISP also chooses to ignore unicast DHCP requests. Means that once a lease is gone, pfsense dhclient will do a broadcast request for an IP which will be answered. After 1/2 lease time dhclient chooses to send DHCP requests via unicast which are ignored by the ISP. Lease eventually times out, a new broadcast is sent, this works etc. And most of the times this will result in the same IP but not always.</p>
<p dir="auto">So I searched the forum and this seems to be a common problem. Putting "supersede dhcp-server-identifier 255.255.255.255" in the options is the intended fix as it will override the DHCP server identifier in the reply and force dhclient to always send broadcasts. In 2021 this was not working as the dhclient version in pfsense did not support this. Redmine: https://redmine.pfsense.org/issues/7416 suggests it is working now and other posts indicate this as well. So I tried it... And it does not work on 23.05.1. The dhclient config generated by the GUI is:</p>
<pre><code>[23.05.1-RELEASE][root@pfSenseHills.koopmann.local]/var/etc: cat /var/etc/dhclient_wan.conf
interface "igc0.132" {

	supersede interface-mtu 0;
# DHCP Protocol Timing Values
timeout 60;
retry 300;
select-timeout 0;
reboot 10;
backoff-cutoff 120;
initial-interval 10;

# DHCP Protocol Options
	supersede dhcp-server-identifier 255.255.255.255;
	supersede dhcp-lease-time 120;

	script "/usr/local/sbin/pfSense-dhclient-script";
}
</code></pre>
<p dir="auto">Which looks correct. The ISP gives me bad 30 minute lease times and after 15 minutes pfsense dhclient starts... unicast requests instead of the intended broadcasts. In case you are wondering: The dhcp-lease-time 120 was intended to make my debugging life easier but is also ignored.</p>
<p dir="auto">Any ideas on this?</p>
]]></description><link>https://forum.netgate.com/topic/182286/supersede-dhcp-server-identifier-255-255-255-255-not-working</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 08:32:02 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/182286.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 19 Aug 2023 12:32:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to supersede dhcp-server-identifier 255.255.255.255 not working on Sun, 20 Aug 2023 11:42:06 GMT]]></title><description><![CDATA[<p dir="auto">@j-koopmann i would concur, 30 minutes for one is a low lease time.. And per dhcp specs unicast for renew is what should be used. A rebind would be broadcast.</p>
]]></description><link>https://forum.netgate.com/post/1121387</link><guid isPermaLink="true">https://forum.netgate.com/post/1121387</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Sun, 20 Aug 2023 11:42:06 GMT</pubDate></item><item><title><![CDATA[Reply to supersede dhcp-server-identifier 255.255.255.255 not working on Sun, 20 Aug 2023 11:29:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnpoz" aria-label="Profile: johnpoz">@<bdi>johnpoz</bdi></a> Indeed it does. I still believe the DHCP configure on the server side is crap but hey.... if switching to broadcast works it is fine with me!</p>
]]></description><link>https://forum.netgate.com/post/1121386</link><guid isPermaLink="true">https://forum.netgate.com/post/1121386</guid><dc:creator><![CDATA[j.koopmann]]></dc:creator><pubDate>Sun, 20 Aug 2023 11:29:28 GMT</pubDate></item><item><title><![CDATA[Reply to supersede dhcp-server-identifier 255.255.255.255 not working on Sun, 20 Aug 2023 10:25:19 GMT]]></title><description><![CDATA[<p dir="auto">@j-koopmann so this has fixed your issue, and now your IP renews correctly?</p>
]]></description><link>https://forum.netgate.com/post/1121378</link><guid isPermaLink="true">https://forum.netgate.com/post/1121378</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Sun, 20 Aug 2023 10:25:19 GMT</pubDate></item><item><title><![CDATA[Reply to supersede dhcp-server-identifier 255.255.255.255 not working on Sat, 19 Aug 2023 12:46:32 GMT]]></title><description><![CDATA[<p dir="auto">I believe I found the problem....</p>
<p dir="auto">For whatever reason the /usr/local/sbin pfSense-dhclient-script was more or less empty. This lead to other parsing problems I suppose or at least messed dhclient up. I copied it from another 23.05.1 box and it appears to be running now with both options being honored....</p>
]]></description><link>https://forum.netgate.com/post/1121292</link><guid isPermaLink="true">https://forum.netgate.com/post/1121292</guid><dc:creator><![CDATA[j.koopmann]]></dc:creator><pubDate>Sat, 19 Aug 2023 12:46:32 GMT</pubDate></item></channel></rss>