Deleting a TAP interface

Asheesh Jadav ajadav at gmail.com
Wed May 20 19:55:38 UTC 2009


Hi,

  I'm able to create the TAP interface, lets say with name 'test', and bring
it up, but when I try deleting it using

ioctl(fd, TUNSETPERSIST, 0)

 I can see that on my system I still have an interafce with name eth0 (the
original name was test). How can I completely delete the interface that I
created and restore the system to the state it was before I created the TAP
interface?

Thanks.


More information about the freebsd-net mailing list