Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 10:32:54 -0400
From:      Ernie Luzar <luzar722@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   dhcpd server config help
Message-ID:  <55FEC396.4090701@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello list;

Yesterday had some guests over and when they tried to connect to my WiFi
with their cell phones I got a lot of these console messages.

Sep 19 09:43:01 mydomain dhcpd: Reclaiming abandoned lease 10.0.10.2.
Sep 19 09:43:01 mydomain dhcpd: Abandoning IP address 10.0.10.2: declined.

The cause of this is the host system dhcp server is trying to allocate a
ip address from its pool that’s already in use. Today I started to 
investigate this matter. I must have mis-configured something. Following 
are the config files concerned. Please review and point out errors. 
Thank You.



Content of dhcpd.conf file
option domain-name "mydomain.com";
option domain-name-servers 8.8.8.8;    # google

# 600=10min, 7200=2 hours, 86400=1 day, 604800=1 week, 2592000=30 days
default-lease-time 86400;
max-lease-time 604800;
authoritative;
ddns-update-style none;
log-facility local1;

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

subnet 10.152.187.0 netmask 255.255.255.0 {    }

# This is mydomain.com subnet declaration.
# Max of 6 pc on LAN  10.0.10.1 - 10.0.10.6
# 10.0.10.2 is the IP address of the LAN Nic card in FBSD
# 10.0.10.7 is the broadcast IP address
subnet 10.0.10.0 netmask 255.255.255.248 {
range 10.0.10.1 10.0.10.6;
option routers 10.0.10.2;}



rc.conf file contains this
ifconfig_xl0="DHCP"
ifconfig_rl0="inet 10.0.10.2"

gateway_enable="YES"

dhcpd_enable="YES"
dhcpd_conf="/usr/local/etc/dhcpd.conf"
dhcpd_ifaces="rl0"
dhcpd_flags="-q"
dhcpd_withumask="022"






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55FEC396.4090701>