Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2012 08:48:42 +0200
From:      Nikos Vassiliadis <nvass@gmx.com>
To:        =?windows-1251?Q?=CA=EE=ED=FC=EA=EE=E2_=C5=E2=E3=E5=ED=E8=E9?= <kes-kes@yandex.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: can not destroy ng interface
Message-ID:  <4F0E824A.9080300@gmx.com>
In-Reply-To: <1104982749.20120112075352@yandex.ru>
References:  <1104982749.20120112075352@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/12/2012 7:53 AM, Коньков Евгений wrote:
> Hi, Freebsd-questions.
>
> # ifconfig ng0
> ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST>  metric 0 mtu 1400
>          nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F0E824A.9080300>