Problem with OpenBSD dhclient

Jonas Wolz jonas.wolz at
Mon Nov 21 19:51:41 GMT 2005


I recently upgraded from FreeBSD 5.4 to 6.0 and now my dhclient
configuration (which did work perfectly with the ISC dhclient) doesn't work
On my laptop I'm using a static lease in dhclient.conf (attached below) as
it is roaming between different networks.

On the network without the DHCP server dhclient shows the following
messages, but leaves sis0 unconfigured (it doesn't configure the default
gateway or resolv.conf, too):

DHCPDISCOVER on sis0 to port 67 interval 5
DHCPNACK from rejected.
DHCPOFFER from rejected.
DHCPOFFER from rejected.
DHCPOFFER from rejected.
DHCPDISCOVER on sis0 to port 67 interval 6
DHCPOFFER from rejected.
DHCPOFFER from rejected.
No DHCPOFFERS received.
Trying recorded lease
bound: renewal in 855549552 seconds.

If dhclient gets its lease from a "real" DHCP server everything works fine.

Does anybody know a workaround or is the OpenBSD dhclient just buggy?


# $FreeBSD: src/etc/dhclient.conf,v 1.3 2001/10/27 03:14:37 rwatson Exp $
#       This file is required by the ISC DHCP client.
#       See ``man 5 dhclient.conf'' for details.
#       In most cases an empty file is sufficient for most people as the
#       defaults are usually fine.

timeout 10;
retry 36000;


lease {
   interface "sis0";
   option subnet-mask;
   option routers;
   option domain-name-servers;
   option domain-name "";
#   option dhcp-lease-time 654321; # lang genug ;)
#   option dhcp-renewal-time 65321;
#   option dhcp-rebinding-time 65321;
   option dhcp-lease-time -1;

   # Dummy-Werte:
   renew  0 2033/01/01 00:00:00;
   rebind 0 2033/01/02 00:00:00;
   expire 0 2033/01/03 00:00:00;

More information about the freebsd-questions mailing list