From owner-freebsd-current Fri Dec 14 2:33:55 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 3A29737B416 for ; Fri, 14 Dec 2001 02:33:51 -0800 (PST) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fBEAXbi82556; Fri, 14 Dec 2001 05:33:39 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Fri, 14 Dec 2001 05:33:37 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Edwin Culp Cc: current@FreeBSD.Org Subject: Re: dhclient In-Reply-To: <1008252932.3c18b80413c6e@Mail.SavvyWorld.Net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 13 Dec 2001, Edwin Culp wrote: > Is anyone using dhclient successfully with Current of the last week or > so? I don't use it all the time but I have been trying for the last > couple of days without success. > > It accesses the server and changes the interface ip to 0.0.0.0 netmask > 255.255.255.255. My -CURRENT dhclient is working just fine on several boxes from Dec 11, 12, and 13. And I guess also 14, given the time :-). As pointed out, 0.0.0.0 is what dhclient will set the interface IP address to when it doesn't have a valid lease currently, and needs to look for one. If it fails to quickly find a lease, it keeps trying, but you actually get a window to see this address on your interface, whereas if it runs quickly, you often won't. Using a packet sniffer can be invaluable in debugging DHCP problems: tcpdump udp port dhcpc or udp port dhcps is useful, but even better is ethereal's ability to decode the DHCP packet in detail, display options cleanly, etc. You might want to try looking to make sure that you're getting a response, and if you are, whether it looks adequate :-). Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message