From owner-freebsd-stable@FreeBSD.ORG Sun Nov 27 11:21:58 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 935EE16A41F for ; Sun, 27 Nov 2005 11:21:58 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC8C643D46 for ; Sun, 27 Nov 2005 11:21:57 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EgKaG-0006ew-OG for freebsd-stable@freebsd.org; Sun, 27 Nov 2005 12:20:40 +0100 Received: from p54a4030e.dip0.t-ipconnect.de ([84.164.3.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Nov 2005 12:20:40 +0100 Received: from jwolz1 by p54a4030e.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Nov 2005 12:20:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Jonas Wolz Date: Sun, 27 Nov 2005 12:16:25 +0100 Lines: 68 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54a4030e.dip0.t-ipconnect.de User-Agent: KNode/0.9.2 Sender: news Subject: dhclient problem with static leases X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 11:21:58 -0000 Hello, 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 anymore. I'm using a static lease in dhclient.conf (see below) since the laptop I'm running FreeBSD on is roaming between different networks. On the network without a (useful) DHCP server dhclient prints the following messages, but leaves sis0 (and the routing table and resolv.conf) unconfigured: DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 5 DHCPNACK from 192.168.0.1 rejected. DHCPOFFER from 192.168.123.254 rejected. DHCPOFFER from 192.168.0.1 rejected. DHCPOFFER from 192.168.0.1 rejected. DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 6 DHCPOFFER from 192.168.123.254 rejected. DHCPOFFER from 192.168.0.1 rejected. No DHCPOFFERS received. Trying recorded lease 134.60.220.229 bound: renewal in 855549552 seconds. If dhclient gets its lease from a "real" DHCP server everything works fine. Is there anything I could try to get it working? Or is it a bug in dhclient? Jonas dhclient.conf: -------------- # $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; reject 192.168.0.1; reject 192.168.5.50; reject 192.168.123.254; reject 192.168.0.254; lease { interface "sis0"; fixed-address 134.60.220.229; option subnet-mask 255.255.254.0; option routers 134.60.220.99; option domain-name-servers 134.60.220.1; option domain-name "wh-hms.uni-ulm.de"; # 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; }