From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 13 17:47:15 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8978C1065686; Mon, 13 Aug 2012 17:47:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4C6458FC12; Mon, 13 Aug 2012 17:47:15 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id B1F07B9A4; Mon, 13 Aug 2012 13:47:14 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 13 Aug 2012 10:55:49 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p17; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201208131055.49794.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 13 Aug 2012 13:47:14 -0400 (EDT) Cc: David Duchscher , hackers@freebsd.org Subject: Re: Disabling ethernet link on an Intel nic? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 17:47:15 -0000 On Saturday, August 11, 2012 9:35:14 am David Duchscher wrote: > Greetings, > > I have a need to turn off the link of an ethernet port on a Intel nic. The issue is not a big deal but one we would like to solve. we have no way of signaling an upstream router that a path is down but via turning off the link of the ethernet port. This would only be used when something goes wrong. The hope is that we could automate some problems and handle other situations remotely avoiding having to visit the system in person. > > Any thoughts? We can modify the system so if it means modifying the driver or some other code, I am willing to try. Just need a little direction. Hmm, does 'ifconfig foo down' not do this? -- John Baldwin