From owner-freebsd-net@FreeBSD.ORG Mon Mar 31 20:38:51 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 B5CAF48F for ; Mon, 31 Mar 2014 20:38:51 +0000 (UTC) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 514A5221 for ; Mon, 31 Mar 2014 20:38:51 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id bs8so4024462wib.11 for ; Mon, 31 Mar 2014 13:38:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=hWHxwjdZGsrlqr4it62netxBJssKZTv2TIxWDttAERQ=; b=AzItVXJ0A2Z3ywpv7/C8XiOU3JdIdw7pxqniAk0k/zp7O2/BUfFBcxg5TGXmO16kci bF7kalUaG7FKmlbsiW8MPDiW/TXL4rHL60TflIA2crRu8fk9xVMeaoFHT871GYLkKgsY rQ8D6Oaxnam+3+hq0G8Wzj+vKKP3+NnCayN8Lmk1QBbslF4d6a9LHMXhnxK674jlvyww MYbb23lGvAWVEwYWJ9VgNDNTrgY4bXi5VZbwpjXT6JZr7Eid+ej17QBjQHI/igVc0mQx 7Q5lmGJZ2vDK93FkIIxDFXVBLr8Kz0SaqQVMq5KqN8tSUNb5KLKajX/BpJj4wk8oz4o1 couw== MIME-Version: 1.0 X-Received: by 10.180.106.167 with SMTP id gv7mr15163968wib.40.1396298329615; Mon, 31 Mar 2014 13:38:49 -0700 (PDT) Sender: asomers@gmail.com Received: by 10.194.168.130 with HTTP; Mon, 31 Mar 2014 13:38:49 -0700 (PDT) In-Reply-To: <5339D0A0.1030903@rcn.com> References: <5339D0A0.1030903@rcn.com> Date: Mon, 31 Mar 2014 14:38:49 -0600 X-Google-Sender-Auth: uujzNe5p6vjVR7R3px3tFtzuHQc Message-ID: Subject: Re: questions about (system) dhclient From: Alan Somers To: Robert Huff Content-Type: text/plain; charset=ISO-8859-1 Cc: "net@freebsd.org" 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: Mon, 31 Mar 2014 20:38:51 -0000 On Mon, Mar 31, 2014 at 2: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 File not found > > Upon execution, I get this: > > http://users.rcn.com/roberthuff/dhcp_offer You're getting on offer on a completely different network than that where the dhcp server resides. That's weird. Do you expect that to happen? > > but then: > > http://users.rcn.com/roberthuff/dhc_ifconfig > > "netstat -r" also shows no gateway. > > However, when I look at dhclient.leases: > > http://users.rcn.com/roberthuff/dhclient.leases.em0 This file is empty. Is it supposed to be? > > I get the machine working by configuring the relevant data manually. > > I have no idea where to start trying to figure this out; this have > "just worked" for so long. > Help please? Try running "service netif stop em0" to stop the background dhclient process. Then run "dhclient -d" to force it to remain in the foreground, and see if it prints any useful debugging info. It might also be useful to run "tcpdump -i em0 host 10.23.192.1" in another terminal. > > Respectfully, > > Robert Huff > -Alan