From owner-freebsd-net@FreeBSD.ORG Tue Apr 1 13:05:07 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED52FB51 for ; Tue, 1 Apr 2014 13:05:06 +0000 (UTC) Received: from cpsmtpb-ews02.kpnxchange.com (cpsmtpb-ews02.kpnxchange.com [213.75.39.5]) by mx1.freebsd.org (Postfix) with ESMTP id 5FE9CF1E for ; Tue, 1 Apr 2014 13:05:05 +0000 (UTC) Received: from cpsps-ews19.kpnxchange.com ([10.94.84.185]) by cpsmtpb-ews02.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Tue, 1 Apr 2014 15:03:52 +0200 Received: from CPSMTPM-CMT105.kpnxchange.com ([195.121.3.21]) by cpsps-ews19.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Tue, 1 Apr 2014 15:03:52 +0200 Received: from donald.offrom.nl ([77.170.60.162]) by CPSMTPM-CMT105.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Tue, 1 Apr 2014 15:03:52 +0200 Received: from squid (squid.vpn.offrom.nl [10.168.0.72]) by donald.offrom.nl (8.14.7/8.14.7) with ESMTP id s31D3qiE020158; Tue, 1 Apr 2014 15:03:52 +0200 (CEST) (envelope-from willy@vpn.offrom.nl) Received: from willy by squid with local (Exim 4.72) (envelope-from ) id 1WUyLy-0007WI-64; Tue, 01 Apr 2014 15:03:46 +0200 Date: Tue, 1 Apr 2014 15:03:46 +0200 From: Willy Offermans To: Rick Miller Subject: Re: questions about (system) dhclient Message-ID: <20140401130346.GM3604@vpn.offrom.nl> References: <5339D0A0.1030903@rcn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 01 Apr 2014 13:03:52.0643 (UTC) FILETIME=[D4C40930:01CF4DAA] X-RcptDomain: freebsd.org Cc: Robert Huff , net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Willy@Offermans.Rompen.nl List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2014 13:05:07 -0000 Hello Robert, Rick and FreeBSD friends, On Tue, Apr 01, 2014 at 08:48:21AM -0400, Rick Miller wrote: > On Mon, Mar 31, 2014 at 4:31 PM, Robert Huff wrote: > > > [Please keep me CC'd as I am not subscribed. Thanks.] > > > > I have a system, running r263263, where dhclient is misbehaving. > > (Yes - this is CURRENT, but I have no reason to believe this inherently a > > version-specific issue. I am also on current@, and nothing like this has > > been reported.) > > The system has an Intel Pro/1000 ethernet card, "em0", connected > > to a Arris CM820 cable modem. > > This is the relevant portion of dhclient.conf: > > > > http://users.rcn.com/dhclient.conf > > > > Upon execution, I get this: > > > > http://users.rcn.com/roberthuff/dhcp_offer > > > The conversation between a DHCP server and client consists of the initial > DHCP DISCOVER request from the client broadcasted to the network to which a > DHCP ACK is expected in reply from an available DHCP server. Upon receipt > of DHCP ACK, the client sends another DHCP DISCOVER to the server asking > for configuration information necessary to initialize networking. The > server's response is a DHCP OFFER containing all the information requested > by the client. > > I illustrate this in a sequence diagram describing a PXE workflow for > FreeBSD installation at > http://hostileadmin.com/images/FreeBSD_PXE_Install_Workflow.gif. The first > four steps in the sequence is the workflow's first DHCP conversation. > > This output suggests only half of the conversation was completed. The > client doesn't appear to have sent the second DHCP DISCOVER and thusly did > not receive configuration information from the server. Have you ran packet > captures to determine whether or not the whole conversation is occurring? > > -- > Take care > Rick Miller > _______________________________________________ > 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" Does em0 supports TSO? and do you have ipfw running at the same time? run ifconfig em0 and look for TSO! I had some issues with bge0 and TSO. I noticed that both, natd and, most importantly for your problem, dhcpd were increasingly using CPU load when an error occurred by sending an e-mail above a particular size. I figured out via the help of freebsd friends that ipfw and TSO are not compatible. Disabling TSO4 on bge0 solved the issue with sendmail and the CPU load of natd and dhcpd. Maybe you are facing a similar problem. -- Met vriendelijke groeten, With kind regards, Mit freundlichen Gruessen, De jrus wah, Wiel ************************************* W.K. Offermans e-mail: Willy@Offermans.Rompen.nl Powered by .... (__) \\\'',) \/ \ ^ .\._/_) www.FreeBSD.org