can not destroy ng interface

Nikos Vassiliadis nvass at
Thu Jan 12 06:48:54 UTC 2012

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
> 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

More information about the freebsd-questions mailing list