Deleting a TAP interface



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.
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: tap interface problem
    ... I try to configure virtualbox with bridge interface. ... The problem is that nothing pass in the tap0 interface. ... Then i have a tap interface up, but i can't pass to it any traffic. ...
    (freebsd-questions)
  • Re: tap interface problem
    ... The problem is that nothing pass in the tap0 interface. ... Then i have a tap interface up, but i can't pass to it any traffic. ... The host did not reply. ...
    (freebsd-questions)
  • Link state changes
    ... The if_tap interface is of IFT_ETHERNET type, ... the RT_LINK_IS_UPneeds to bypass all loopback ... the if_link_state variable when the tap interface is ...
    (freebsd-net)
  • Re: List casting question
    ... I have an interface in my business layer called IArchivable which includes ... functions and properties for 'deleting' an object in the database without ... I created a function with the following signature, ...
    (microsoft.public.dotnet.general)
  • Re: Looking for recommendation or backup/restore tool
    ... Able to select mount points or files in the interface ... Able to perform a restore of a specified file in the backup ... Not only does it let you select mount points or files in the interface ...
    (Debian-User)