fixed-address being ignored.

Ric Anderson ric at Opus1.COM
Wed Jun 11 04:15:22 UTC 2008


I have a simplistic (and obviously broken) dhcp config.  The goal is assign
a known IP address to a specific MAC address.

I have the device connected to eth1 (192.168.0.62/24), and dhcpd running with
the config below.  Running "dhcpd -d -f" shows
Internet Systems Consortium DHCP Server V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on LPF/eth1/00:14:d1:11:3d:54/192.168.0/24
Sending on   LPF/eth1/00:14:d1:11:3d:54/192.168.0/24
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER from 00:18:97:00:2c:21 via eth1
DHCPOFFER on 192.168.0.95 to 00:18:97:00:2c:21 via eth1
DHCPREQUEST for 192.168.0.95 (192.168.0.62) from 00:18:97:00:2c:21 via eth1
DHCPACK on 192.168.0.95 to 00:18:97:00:2c:21 via eth1
DHCPREQUEST for 192.168.0.95 from 00:18:97:00:2c:21 via eth1
DHCPACK on 192.168.0.95 to 00:18:97:00:2c:21 via eth1

which shows my fixed-address statement for 00:18:97:00:2c:21 is being ignored.
Anyone got ideas on what simple thing I've missed?

Thanks,
Ric (ric at opus1.com)
---begin dhcpd.conf---
# dhcpd.conf
#

default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
option domain-name "DragonElf.NET";
option domain-name-servers 192.168.0.62, 192.168.0.111;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility daemon;

# Define the subnet we use to be the one on eth1.
subnet 192.168.0.0 netmask 255.255.255.0 {
   range 192.168.0.64 192.168.0.95;
}
#
# Nail down location of nas2.
host 192.68.0.112 {
   hardware ethernet 00:18:97:00:2c:21;
   fixed-address 192.68.0.112;
    option host-name "nas2";
}
#
#-end of dhcpd.conf
---


More information about the dhcp-users mailing list