From owner-freebsd-net@FreeBSD.ORG Thu May 14 05:47:18 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FDB4106566C for ; Thu, 14 May 2009 05:47:18 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id F26468FC12 for ; Thu, 14 May 2009 05:47:17 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from bcs-mail03.internal.cacheflow.com ([10.2.2.95]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id n4E5aOud010434; Wed, 13 May 2009 22:36:25 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 13 May 2009 22:32:22 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Weird dhclient behavior after today's rebuild Thread-Index: AcnUUs8upHXwtU3JQaiPRAOU3tLUmQAAoxMB References: <200905140703.10473.freebsd-net@dino.sk> From: "Li, Qing" To: "Milan Obuch" , Cc: Subject: RE: Weird dhclient behavior after today's rebuild X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 05:47:18 -0000 I have committed the patch, please update your source and give it a try. Thanks, -- Qing -----Original Message----- From: owner-freebsd-net@freebsd.org on behalf of Milan Obuch Sent: Wed 5/13/2009 10:03 PM To: freebsd-net@freebsd.org Subject: Weird dhclient behavior after today's rebuild =20 Hi, I did full system rebuild from freshly csup'ped sources. Everything went = smooth as usual, but after reboot network card did not get configured = via=20 DHCP. There were four lines logged on console/in syslog: dhclient[822]: re0: not found dhclient[822]: exiting dhclient[823]: connection closed dhclient[823]: exiting I did some tests, disabled automatic dhclient invocation in rc.conf. Then, after connecting cable, ifconfig re0 show status active, netstat = -rnf=20 inet shows only loopback route (128.0.0.1 on lo0). Manually starting dhclient re0: ifconfig: ioctl (SIOCAIFADDR): File exists re0: not found exiting At this point, netstat -rnf inet shows additional 0.0.0.0/8 route on = re0,yet=20 there is no addres in ifconfig re0 output. Assigning IP statically works (tested only via ifconfig re0 , but = setting=20 this in rc.conf should have exastly the same effect). I found a bit strange workaround for this - first assign any IP to = interface,=20 I used 0.0.0.1/8, then launching dhclient re0 yields desired result... This problem is observed with sources 24 hours old, verified with = sources 12=20 hours old, did not occured last time I did rebuild from sources 3 or 4 = days=20 old (not remembered exactly). Regards, Milan _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"