From owner-freebsd-stable@FreeBSD.ORG Tue Feb 5 19:58:31 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8061416A46D for ; Tue, 5 Feb 2008 19:58:31 +0000 (UTC) (envelope-from christian.baer@uni-dortmund.de) Received: from dd17730.kasserver.com (dd17730.kasserver.com [85.13.138.103]) by mx1.freebsd.org (Postfix) with ESMTP id 10EEF13C457 for ; Tue, 5 Feb 2008 19:58:31 +0000 (UTC) (envelope-from christian.baer@uni-dortmund.de) Received: from nermal.rz1.convenimus.net (sub87-230-112-155.he-dsl.de [87.230.112.155]) by dd17730.kasserver.com (Postfix) with ESMTP id F202D18080BC1 for ; Tue, 5 Feb 2008 20:29:20 +0100 (CET) Received: from sunny.rz1.convenimus.net (sunny.rz1.convenimus.net [192.168.100.5]) by nermal.rz1.convenimus.net (Postfix) with ESMTP id 22D2415213 for ; Tue, 5 Feb 2008 20:29:08 +0100 (CET) Received: by sunny.rz1.convenimus.net (Postfix, from userid 1001) id 8156F33C23; Tue, 5 Feb 2008 20:28:02 +0100 (CET) Date: Tue, 5 Feb 2008 20:28:02 +0100 From: Christian Baer To: freebsd-stable@freebsd.org Message-ID: <20080205192802.GA22163@sunny.rz1.convenimus.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (FreeBSD/6.3-STABLE (sparc64)) Subject: Did something change with DHCP? 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: Tue, 05 Feb 2008 19:58:31 -0000 Greetings, people! I had a strange effect today when I updated to the latest -STABLE (sources from about 17:00 UTC yesterday, not sure about the time though). After rebooting for the last time (installworld and mergemaster went before that), the machine had a new IP. The old one was 192.168.100.9 the new one had a 76 instead of the 9. I have dnsmasq running on another computer as a DHCP-server. I used static DHCP, which means the ether address of each computer is in the configuration file of dnsmasq and should give each machine the same IP-address each time. That works fine for alle my machines exept this one where I have just updates. The 76 is part of the dynamic range I put in there in case I ever connect a computer from a friend or a laptop or anything else that isn't always in my network. If I try to get a new IP-address with dhclient fxp0, I always get 76. dnsmasq puts this into /var/log/messages (twice): Feb 5 16:09:43 nermal dnsmasq[138]: not giving name jon.rz1.convenimus.net to the DHCP lease of 192.168.100.76 because the name exists in /etc/hosts with address 192.168.100.9 I also get this message if any other computer requests an IP-address. Mind you, exactly this message, not a message regarding the other computer. I did notice some changes in the defaults of rc.config. After looking at the file more closely, I still can't find anything that would be of relevance. This is a piece of /etc/defaults/rc.conf: dhclient_program="/sbin/dhclient" dhclient_flags="" #dhclient_flags_fxp0="" background_dhclient="NO" #background_dhclient_fxp0="YES" synchronous_dhclient="YES" I did not comment out those two lines, that was done by mergemaster. And I don't see anything in those settings that would suggest this happenning. There is nothing concerning the dhclient in rc.conf and /etc/dhclient.conf contains not entries, therefore leaving the defaults. What changed with this update? Regards Chris