<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[KeexyBox's forum - DHCP]]></title>
		<link>https://forum.keexybox.org/</link>
		<description><![CDATA[KeexyBox's forum - https://forum.keexybox.org]]></description>
		<pubDate>Fri, 17 Apr 2026 10:38:29 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[[solved] dhcpd can't start on all interfaces]]></title>
			<link>https://forum.keexybox.org/Thread-solved-dhcpd-can-t-start-on-all-interfaces</link>
			<pubDate>Thu, 08 Jul 2021 18:32:50 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.keexybox.org/member.php?action=profile&uid=2347">diozea</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.keexybox.org/Thread-solved-dhcpd-can-t-start-on-all-interfaces</guid>
			<description><![CDATA[Hello,<br />
Systemctl gives me:<br />
<span style="font-style: italic;" class="mycode_i">● dhcpcd.service loaded <span style="font-weight: bold;" class="mycode_b">failed failed </span>   dhcpcd on all interfaces</span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">So I'm not sure what's the really impact of the failed state of dhcpd service. What's your recommendation?</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">Tips: You should display more informations in "Services and power" (such as the detail status of each service, with the error). And add the service "logrotate"?</span></span><br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo ./init_dhcpd start<br />
isc-dhcpd-4.4.2<br />
ls: cannot access '/opt/keexybox/dhcpd/dhcpcd*.pid': No such file or directory<br />
Internet Systems Consortium DHCP Server 4.4.2<br />
Copyright 2004-2020 Internet Systems Consortium.<br />
All rights reserved.<br />
For info, please visit https://www.isc.org/software/dhcp/<br />
Config file: /opt/keexybox/dhcpd/etc/dhcpd.conf<br />
Database file: /opt/keexybox/dhcpd/etc/dhcpd.leases<br />
PID file: /opt/keexybox/dhcpd/dhcpcd.pid<br />
Wrote 0 class decls to leases file.<br />
Wrote 0 deleted host decls to leases file.<br />
Wrote 0 new dynamic host decls to leases file.<br />
Wrote 13 leases to leases file.<br />
Multiple interfaces match the same shared network: br0 br0:0<br />
Listening on LPF/br0/dc:a6:32:d3:52:ea/local_net<br />
Sending on   LPF/br0/dc:a6:32:d3:52:ea/local_net<br />
Sending on   Socket/fallback/fallback-net</code></div></div><br />
<br />
<br />
<br />
<br />
dhcpd.conf<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>pi@raspberrypi:/opt/keexybox/dhcpd/etc &#36; cat dhcpd.conf<br />
# GENERATED BY KEEXYBOX WEBUI<br />
# DO NOT EDIT THIS FILE<br />
<br />
<br />
ddns-update-style none;<br />
<br />
option domain-name "keexybox";<br />
<br />
default-lease-time 600;<br />
max-lease-time 7200;<br />
<br />
log-facility local7;<br />
<br />
class "external_host" {<br />
            match hardware;<br />
}<br />
<br />
class "internal_host" {<br />
            match hardware;<br />
}<br />
<br />
include "/opt/keexybox/dhcpd/etc/dhcpd-reservations.conf";<br />
<br />
shared-network local_net {<br />
        # INTERNET ROUTER SIDE<br />
    subnet 192.168.1.0 netmask 255.255.255.0 {<br />
        option routers 192.168.1.254;<br />
                option domain-name-servers 192.168.1.1;<br />
                pool {<br />
                range 192.168.1.151 192.168.1.201;<br />
                        allow members of "external_host";<br />
                        deny unknown-clients;<br />
                }<br />
    }<br />
<br />
        # USER AND DEVICES SIDE<br />
    subnet 192.168.0.0 netmask 255.255.255.0 {<br />
        option routers 192.168.0.254;<br />
                option domain-name-servers 192.168.0.254;<br />
                pool {<br />
                range 192.168.0.1 192.168.0.100;<br />
                        allow members of "internal_host";<br />
                        allow unknown-clients;<br />
                }<br />
    }<br />
}</code></div></div><br />
<span style="font-weight: bold;" class="mycode_b">Do we need to indicate which scope is autoritative?</span><br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>more dhcpd-reservations.conf<br />
# GENERATED BY KEEXYBOX WEBUI<br />
# DO NOT EDIT THIS FILE<br />
<br />
<br />
host ajonc {<br />
        hardware ethernet MACaddress;<br />
        fixed-address 192.168.0.37;<br />
}<br />
subclass "internal_host" MACaddress;<br />
<br />
host Printer-Pixma {<br />
        hardware ethernet MACaddress;<br />
        fixed-address 192.168.0.3;<br />
}<br />
subclass "internal_host" MACaddress;<br />
<br />
host Freebox-Mini {<br />
        hardware ethernet MACaddress;<br />
        fixed-address 192.168.0.4;<br />
}<br />
subclass "internal_host" MACaddress;</code></div></div><br />
<br />
/opt/keexybox/dhcpd/etc/interfaces.conf<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>export LISTENING_INTERFACES="br0"</code></div></div><br />
<br />
and<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>more /etc/network/interfaces<br />
# GENERATED BY KEEXYBOX WEBUI<br />
# DO NOT EDIT THIS FILE<br />
<br />
# This file describes the network interfaces available on your system<br />
# and how to activate them. For more information, see interfaces(5).<br />
<br />
# Auto load interfaces<br />
auto lo br0 br0:0<br />
iface lo inet loopback<br />
<br />
# Hotplug interfaces<br />
allow-hotplug br0 br0:0<br />
<br />
<br />
# Output network configuration<br />
iface br0 inet static<br />
    address 192.168.1.1<br />
    netmask 255.255.255.0<br />
    gateway 192.168.1.254<br />
    dns-nameservers 208.67.222.222 8.8.4.4<br />
<br />
    bridge_ports eth0<br />
    bridge_stp off<br />
    bridge_waitport 0<br />
    bridge_waitport 0<br />
<br />
# Internal network configuration<br />
iface br0:0 inet static<br />
    address 192.168.0.254<br />
    netmask 255.255.255.0</code></div></div><br />
<br />
On each PC, DHCP server is set to 192.168.1.1 <span style="font-weight: bold;" class="mycode_b">(instead of 192.168.0.254 i think)</span><br />
<br />
<br />
By the way, there is an issue with the time zone in the GUI. My timezone is <span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: Tahoma, Verdana, Arial, sans-serif;" class="mycode_font">Europe</span></span></span><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: Tahoma, Verdana, Arial, sans-serif;" class="mycode_font">/Paris  but when I checked in raspi-config it was "London".</span></span></span><br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Rq:<br />
I'm using raspberry 4 with a for website filtering and anonymity. First for parental control, and a little for ad blocker.<br />
internal interface of Keexybox: 192.168.0.254<br />
external interface of Keexybox:192.168.1.1<br />
router interface: 192.168.1.254<br />
<br />
GW: 192.168.1.254<br />
DNS1: 208.67.222.222<br />
DNS2: 8.8.4.4<br />
<br />
DNS Redirector: enabled<br />
<br />
DHCP conf is (on the same interface so: Bro): <br />
internal: range 192.168.0.1 to 100<br />
external: range 192.168.1.251 to  201</code></div></div>]]></description>
			<content:encoded><![CDATA[Hello,<br />
Systemctl gives me:<br />
<span style="font-style: italic;" class="mycode_i">● dhcpcd.service loaded <span style="font-weight: bold;" class="mycode_b">failed failed </span>   dhcpcd on all interfaces</span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">So I'm not sure what's the really impact of the failed state of dhcpd service. What's your recommendation?</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-size: small;" class="mycode_size">Tips: You should display more informations in "Services and power" (such as the detail status of each service, with the error). And add the service "logrotate"?</span></span><br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo ./init_dhcpd start<br />
isc-dhcpd-4.4.2<br />
ls: cannot access '/opt/keexybox/dhcpd/dhcpcd*.pid': No such file or directory<br />
Internet Systems Consortium DHCP Server 4.4.2<br />
Copyright 2004-2020 Internet Systems Consortium.<br />
All rights reserved.<br />
For info, please visit https://www.isc.org/software/dhcp/<br />
Config file: /opt/keexybox/dhcpd/etc/dhcpd.conf<br />
Database file: /opt/keexybox/dhcpd/etc/dhcpd.leases<br />
PID file: /opt/keexybox/dhcpd/dhcpcd.pid<br />
Wrote 0 class decls to leases file.<br />
Wrote 0 deleted host decls to leases file.<br />
Wrote 0 new dynamic host decls to leases file.<br />
Wrote 13 leases to leases file.<br />
Multiple interfaces match the same shared network: br0 br0:0<br />
Listening on LPF/br0/dc:a6:32:d3:52:ea/local_net<br />
Sending on   LPF/br0/dc:a6:32:d3:52:ea/local_net<br />
Sending on   Socket/fallback/fallback-net</code></div></div><br />
<br />
<br />
<br />
<br />
dhcpd.conf<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>pi@raspberrypi:/opt/keexybox/dhcpd/etc &#36; cat dhcpd.conf<br />
# GENERATED BY KEEXYBOX WEBUI<br />
# DO NOT EDIT THIS FILE<br />
<br />
<br />
ddns-update-style none;<br />
<br />
option domain-name "keexybox";<br />
<br />
default-lease-time 600;<br />
max-lease-time 7200;<br />
<br />
log-facility local7;<br />
<br />
class "external_host" {<br />
            match hardware;<br />
}<br />
<br />
class "internal_host" {<br />
            match hardware;<br />
}<br />
<br />
include "/opt/keexybox/dhcpd/etc/dhcpd-reservations.conf";<br />
<br />
shared-network local_net {<br />
        # INTERNET ROUTER SIDE<br />
    subnet 192.168.1.0 netmask 255.255.255.0 {<br />
        option routers 192.168.1.254;<br />
                option domain-name-servers 192.168.1.1;<br />
                pool {<br />
                range 192.168.1.151 192.168.1.201;<br />
                        allow members of "external_host";<br />
                        deny unknown-clients;<br />
                }<br />
    }<br />
<br />
        # USER AND DEVICES SIDE<br />
    subnet 192.168.0.0 netmask 255.255.255.0 {<br />
        option routers 192.168.0.254;<br />
                option domain-name-servers 192.168.0.254;<br />
                pool {<br />
                range 192.168.0.1 192.168.0.100;<br />
                        allow members of "internal_host";<br />
                        allow unknown-clients;<br />
                }<br />
    }<br />
}</code></div></div><br />
<span style="font-weight: bold;" class="mycode_b">Do we need to indicate which scope is autoritative?</span><br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>more dhcpd-reservations.conf<br />
# GENERATED BY KEEXYBOX WEBUI<br />
# DO NOT EDIT THIS FILE<br />
<br />
<br />
host ajonc {<br />
        hardware ethernet MACaddress;<br />
        fixed-address 192.168.0.37;<br />
}<br />
subclass "internal_host" MACaddress;<br />
<br />
host Printer-Pixma {<br />
        hardware ethernet MACaddress;<br />
        fixed-address 192.168.0.3;<br />
}<br />
subclass "internal_host" MACaddress;<br />
<br />
host Freebox-Mini {<br />
        hardware ethernet MACaddress;<br />
        fixed-address 192.168.0.4;<br />
}<br />
subclass "internal_host" MACaddress;</code></div></div><br />
<br />
/opt/keexybox/dhcpd/etc/interfaces.conf<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>export LISTENING_INTERFACES="br0"</code></div></div><br />
<br />
and<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>more /etc/network/interfaces<br />
# GENERATED BY KEEXYBOX WEBUI<br />
# DO NOT EDIT THIS FILE<br />
<br />
# This file describes the network interfaces available on your system<br />
# and how to activate them. For more information, see interfaces(5).<br />
<br />
# Auto load interfaces<br />
auto lo br0 br0:0<br />
iface lo inet loopback<br />
<br />
# Hotplug interfaces<br />
allow-hotplug br0 br0:0<br />
<br />
<br />
# Output network configuration<br />
iface br0 inet static<br />
    address 192.168.1.1<br />
    netmask 255.255.255.0<br />
    gateway 192.168.1.254<br />
    dns-nameservers 208.67.222.222 8.8.4.4<br />
<br />
    bridge_ports eth0<br />
    bridge_stp off<br />
    bridge_waitport 0<br />
    bridge_waitport 0<br />
<br />
# Internal network configuration<br />
iface br0:0 inet static<br />
    address 192.168.0.254<br />
    netmask 255.255.255.0</code></div></div><br />
<br />
On each PC, DHCP server is set to 192.168.1.1 <span style="font-weight: bold;" class="mycode_b">(instead of 192.168.0.254 i think)</span><br />
<br />
<br />
By the way, there is an issue with the time zone in the GUI. My timezone is <span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: Tahoma, Verdana, Arial, sans-serif;" class="mycode_font">Europe</span></span></span><span style="color: #333333;" class="mycode_color"><span style="font-size: small;" class="mycode_size"><span style="font-family: Tahoma, Verdana, Arial, sans-serif;" class="mycode_font">/Paris  but when I checked in raspi-config it was "London".</span></span></span><br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Rq:<br />
I'm using raspberry 4 with a for website filtering and anonymity. First for parental control, and a little for ad blocker.<br />
internal interface of Keexybox: 192.168.0.254<br />
external interface of Keexybox:192.168.1.1<br />
router interface: 192.168.1.254<br />
<br />
GW: 192.168.1.254<br />
DNS1: 208.67.222.222<br />
DNS2: 8.8.4.4<br />
<br />
DNS Redirector: enabled<br />
<br />
DHCP conf is (on the same interface so: Bro): <br />
internal: range 192.168.0.1 to 100<br />
external: range 192.168.1.251 to  201</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Airport Express & DHCP]]></title>
			<link>https://forum.keexybox.org/Thread-Airport-Express-DHCP</link>
			<pubDate>Wed, 27 May 2020 02:01:28 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.keexybox.org/member.php?action=profile&uid=5">htryw3</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.keexybox.org/Thread-Airport-Express-DHCP</guid>
			<description><![CDATA[What is the recommended method for "disabling DHCP on my internet router", when my Internet router is an Airport Express?]]></description>
			<content:encoded><![CDATA[What is the recommended method for "disabling DHCP on my internet router", when my Internet router is an Airport Express?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[DHCP server not starting]]></title>
			<link>https://forum.keexybox.org/Thread-DHCP-server-not-starting</link>
			<pubDate>Sun, 24 May 2020 15:59:43 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.keexybox.org/member.php?action=profile&uid=4">bakullama</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.keexybox.org/Thread-DHCP-server-not-starting</guid>
			<description><![CDATA[I'm trying to set up the keexybox on a raspberry pi 3B+, from the installation script, and the dhcp server is not starting properly. I've turned off the dhcp server on my router, however it gives me the following message when I try to start the server from the console, while logged in as an admin:<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Service dhcp start failed.</blockquote>
<br />
<br />
I've generated the dhcp file again, but no dice.<br />
Any tips on how I can troubleshoot would be greatly appreciated! And please let me know if there's any more information I can provide.]]></description>
			<content:encoded><![CDATA[I'm trying to set up the keexybox on a raspberry pi 3B+, from the installation script, and the dhcp server is not starting properly. I've turned off the dhcp server on my router, however it gives me the following message when I try to start the server from the console, while logged in as an admin:<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Service dhcp start failed.</blockquote>
<br />
<br />
I've generated the dhcp file again, but no dice.<br />
Any tips on how I can troubleshoot would be greatly appreciated! And please let me know if there's any more information I can provide.]]></content:encoded>
		</item>
	</channel>
</rss>