From owner-freebsd-net@FreeBSD.ORG Tue Apr 1 15:29:17 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 507CB89E for ; Tue, 1 Apr 2014 15:29:17 +0000 (UTC) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1648E373 for ; Tue, 1 Apr 2014 15:29:16 +0000 (UTC) X_CMAE_Category: , , X-CNFS-Analysis: v=2.0 cv=NotTgrhJ c=1 sm=1 a=uNsD4W5u/UlQopoDAqU1YA==:17 a=fZBWQ0Qh6m4A:10 a=phkJtM7cgHoA:10 a=AaUjGI9IrlcA:10 a=IkcTkHD0fZMA:10 a=OA2lqS22AAAA:8 a=HkxQiX07BVne618EYl0A:9 a=QEXdDO2ut3YA:10 a=uNsD4W5u/UlQopoDAqU1YA==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.user=roberthuff; auth=pass (PLAIN) Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 209.6.39.223 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.39.223] ([209.6.39.223:3358] helo=[10.0.0.3]) by smtp.rcn.com (envelope-from ) (ecelerity 3.5.1.37854 r(Momo-dev:3.5.1.0)) with ESMTPA id A5/CB-15227-B4BDA335; Tue, 01 Apr 2014 11:29:15 -0400 Message-ID: <533ADB41.8000002@rcn.com> Date: Tue, 01 Apr 2014 11:29:05 -0400 From: Robert Huff User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: net@freebsd.org Subject: Re: questions about (system) dhclient Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list 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 15:29:17 -0000 Dave Duchscher writes: > The description of the DHCP packet flow is incorrect. DHCP packet > flow is the following for clients requesting a new lease. Diagram > below copied from RFC 2131. For clients renewing a lease, only > the REQUEST and ACK steps are done. > > Server Client Server > (not selected) (selected) > > v v v > | | | > | Begins initialization | > | | | > | _____________/|\____________ | > |/DHCPDISCOVER | DHCPDISCOVER \| > | | | > Determines | Determines > configuration | configuration > | | | > |\ | ____________/ | > | \________ | /DHCPOFFER | > | DHCPOFFER\ |/ | > | \ | | > | Collects replies | > | \| | > | Selects configuration | > | | | > | _____________/|\____________ | > |/ DHCPREQUEST | DHCPREQUEST\ | > | | | > | | Commits configuration > | | | > | | _____________/| > | |/ DHCPACK | > | | | > | Initialization complete | > | | | > . . . > . . . > | | | > | Graceful shutdown | > | | | > | |\ ____________ | > | | DHCPRELEASE \| > | | | > | | Discards lease > | | | > v v v Synopsis of my (apparent) problem: DISCOVER, OFFER, REQUEST, and ACKNOWLEDGEMENT all happen correctly ... but the information doesn't make it to ifconfig or the routing table. Robert Huff