From owner-freebsd-net@FreeBSD.ORG Thu Apr 5 04:22:48 2012 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 856B3106564A for ; Thu, 5 Apr 2012 04:22:48 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 546248FC08 for ; Thu, 5 Apr 2012 04:22:48 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so1082277pbc.13 for ; Wed, 04 Apr 2012 21:22:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=5sS7k7vvK8lB2dqo04Fevs1qCuHQLxrK8bOwMWNUjSk=; b=SFfW/mCRZbKGh+O3R+XEqIN1/hLkEfUdeck2KXAcl1E0RaPiIgvXspfny1Vu4/owL/ O/zltmXFcA+Q5QZPr5cOEX914UBpYINnGe3j0CrB4Wuvtylv5Qe2k6tWI4V8BkKfmfkl TW33zOamkRCvuLPqdWipVnBPF++6c+9fh7dPPCC0AuuA3Jv8NpLEM3Aj2vzDeUyYacii 4s7+6qaTaU6s7nEJUAJw6F5qsc7AuGYAIt9w2rHgcbeEJ9itgcmTnnebLFPMdndn6any D5fmVXIOezi1j6p/wG4JTGLYBKzHa5bwB8Y6Ija7aqWFf0ddUaw9ktvi34ZQ3WvpIF5Z XLpg== Received: by 10.68.194.198 with SMTP id hy6mr3904146pbc.0.1333599767943; Wed, 04 Apr 2012 21:22:47 -0700 (PDT) Received: from pyunyh@gmail.com ([114.111.62.249]) by mx.google.com with ESMTPS id o9sm2088694pbe.60.2012.04.04.21.22.44 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Apr 2012 21:22:46 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 05 Apr 2012 13:22:37 -0700 From: YongHyeon PYUN Date: Thu, 5 Apr 2012 13:22:37 -0700 To: Peter Jeremy Message-ID: <20120405202237.GC14289@michelle.cdnetworks.com> References: <20120404211749.GA16579@server.vk2pj.dyndns.org> <20120405023946.GA63311@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120405023946.GA63311@server.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org Subject: Re: dhclient behaviour on link status changes X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2012 04:22:48 -0000 On Thu, Apr 05, 2012 at 12:39:46PM +1000, Peter Jeremy wrote: > On 2012-Apr-05 07:17:49 +1000, Peter Jeremy wrote: > >/etc/devd.conf includes a rule to start dhclient when an Ethernet or > >802.11 interface reports "link up", with a comment: "No link down rule > >exists because dhclient automatically exits when the link goes down." > >IMHO, this is the desired behaviour, unfortunately it's not the way > >dhclient actually behaves. In my experience, dhclient will exit when > >the interface goes down but ignores link status changes. > > I found an easy way to correct the behaviour & submitted bin/166656 > Hmm, wouldn't this make dhclient die when speed/duplex/flow control of established connection is changed by admin or remote link partner? For instance, #ifconfig foo0 media mdiaopt flow > -- > Peter Jeremy