From owner-freebsd-net@FreeBSD.ORG Tue Feb 12 06:47:53 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 21534754 for ; Tue, 12 Feb 2013 06:47:53 +0000 (UTC) (envelope-from s.khanchi@gmail.com) Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 9C44B7A9 for ; Tue, 12 Feb 2013 06:47:52 +0000 (UTC) Received: by mail-we0-f173.google.com with SMTP id r5so5443138wey.32 for ; Mon, 11 Feb 2013 22:47:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=kYs1iE9UZtN1hzyZc4gX3AoS81ujwbFmxhCBu7jACoI=; b=q/TdoRURDGDd9/fKXoTg65hJe54Hs7C6BhKV60rezqeUPzQJmGLO3QsuDavpB7b9iQ 0IJ/Iq9UBoNmb+GxK2hPx16IQTCHvNX+Z6jMzppyemvokNZCn/2YcvPvRE2qROjqi6Lh 9lbT3zvv6jt0KDrh4vEuEEupgy+HacFzXVDS1wH4uxrHdT4aTqpzQmR+K4nQa4jNMseR sOxOkgiCcU9ferxAYOu1FQ0sBVPDi/0yI1cMx5PeCVv13taYOZzArBHmTsoCbSvomjcw fHg4yPzUlAxcyrVZpRAA+KLeh1R58tEKvgleJeyDiN8NmV7+l8+7o7mk1Fa8k9QJMdty QFsQ== X-Received: by 10.180.87.170 with SMTP id az10mr969177wib.3.1360651671721; Mon, 11 Feb 2013 22:47:51 -0800 (PST) MIME-Version: 1.0 Sender: s.khanchi@gmail.com Received: by 10.194.23.199 with HTTP; Mon, 11 Feb 2013 22:47:31 -0800 (PST) In-Reply-To: <6D4FA861-037E-48EA-BE87-70808FB28D82@tamu.edu> References: <20130124195056.GB1410@funkthat.com> <6D4FA861-037E-48EA-BE87-70808FB28D82@tamu.edu> From: h bagade Date: Tue, 12 Feb 2013 10:17:31 +0330 X-Google-Sender-Auth: kreJF5AQzKRJOToNxAsV6degCGQ Message-ID: Subject: Re: how to completely makes an interface down? To: Dave Duchscher Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 12 Feb 2013 06:47:53 -0000 On Sat, Jan 26, 2013 at 6:22 PM, Dave Duchscher wrote: > On Jan 26, 2013, at 7:05 AM, h bagade wrote: > > > I've found a patch which is going to do what I really want: > > http://lists.freebsd.org/pipermail/freebsd-net/2010-December/027196.html > > > > but when I apply it on my freebsd 8.2 with em cards, nothing happens! not > > even sysctl "dev.em.X.down_disables_link", which is supposed to be added > > after applying patch, exists! what wrong with what I've done? > > Not sure. I would make sure that your new kernel is the kernel that is > being used. We use a different kernel configuration file so that a > simple uname command tells us that the right kernel is installed. > > We use that patch here with 8.3 and it works as advertised. I do wish > there was a way to drop the link of the port without kernel mods. > Understandably with the out of band management protocols, the internal > interfaces really like to keep link alive so you can connect to the > system's management console, do wake on lan, etc. > > -- > DaveD > > I gradually apply the patch and it works:) Thanks all.