Date: Thu, 17 Nov 2005 07:50:13 GMT From: "Maxim P. Kondakov" <maxx@bds.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/73673: [if_tun] ifconfig tun0 destroy report: ifconfig: SIOCIFDESTROY: Invalid argument Message-ID: <200511170750.jAH7oDAg045013@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/73673; it has been noted by GNATS.
From: "Maxim P. Kondakov" <maxx@bds.ru>
To: bug-followup@freebsd.org
Cc:
Subject: Re: kern/73673: [if_tun] ifconfig tun0 destroy report: ifconfig: SIOCIFDESTROY: Invalid argument
Date: Thu, 17 Nov 2005 09:49:22 +0200
I have got the same problem.
I have added a ip-in-ip interface by the following command:
nos-tun -t /dev/tun3 -s 192.168.0.2 -d 192.168.0.1 -p 4 10.0.0.156
in the interface list I see this interface and it works fine,
tun3: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.2 --> 192.168.0.1 netmask 0xffffffff
Opened by PID 4368
but when I want to delete this interface by the "ifconfig tun3 down delete" I
see it again in ifconfig! And I can't destroy it:
#ifconfig
tun3: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500
Opened by PID 4368
#sudo ifconfig tun1 destroy
ifconfig: SIOCIFDESTROY: Invalid argument
It disapears only after reboot.
--
Maxim Kondakov
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511170750.jAH7oDAg045013>
