kern/73673: [if_tun] ifconfig tun0 destroy report: ifconfig:
SIOCIFDESTROY: Invalid argument
Maxim P. Kondakov
maxx at bds.ru
Thu Nov 17 07:50:14 GMT 2005
The following reply was made to PR kern/73673; it has been noted by GNATS.
From: "Maxim P. Kondakov" <maxx at bds.ru>
To: bug-followup at 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
More information about the freebsd-bugs
mailing list