From owner-freebsd-questions@FreeBSD.ORG Thu Jan 12 06:48:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFDB81065673 for ; Thu, 12 Jan 2012 06:48:53 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 3458B8FC1E for ; Thu, 12 Jan 2012 06:48:53 +0000 (UTC) Received: (qmail invoked by alias); 12 Jan 2012 06:48:51 -0000 Received: from adsl-99.109.242.37.tellas.gr (EHLO [192.168.73.194]) [109.242.37.99] by mail.gmx.com (mp-eu001) with SMTP; 12 Jan 2012 07:48:51 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1+C7kZBjkCCVupATeeben/wz5C3KUDkp48aw2t8T9 O2xmJUv1MzlZTn Message-ID: <4F0E824A.9080300@gmx.com> Date: Thu, 12 Jan 2012 08:48:42 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: =?windows-1251?Q?=CA=EE=ED=FC=EA=EE=E2_=C5=E2=E3=E5=ED=E8=E9?= References: <1104982749.20120112075352@yandex.ru> In-Reply-To: <1104982749.20120112075352@yandex.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: can not destroy ng interface X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2012 06:48:54 -0000 On 1/12/2012 7:53 AM, Коньков Евгений wrote: > Hi, Freebsd-questions. > > # ifconfig ng0 > ng0: flags=88d1 metric 0 mtu 1400 > nd6 options=29 > meta-up# ifconfig ng0 destroy > ifconfig: SIOCIFDESTROY: Invalid argument > > why I can not destroy interface? > The destroy ifconfig command is meant to be used on clonable interfaces. You can destroy a netgraph node using ngctl. Try 'ngctl kill ng0:'. HTH, Nikos