Options (9)
booleanShow all existing TUN/TAP devices
Example:
ip {{[tunt|tuntap]}}booleanCreate a TUN device with a specific name
Example:
sudo ip {{[tunt|tuntap]}} {{[a|add]}} {{[d|dev]}} {{tun0}} {{[m|mode]}} {{[t|tun]}}booleanCreate a TUN device with a specific name
Example:
sudo ip {{[tunt|tuntap]}} {{[a|add]}} {{[d|dev]}} {{tun0}} {{[m|mode]}} {{[t|tun]}}booleanCreate a TUN device with a specific name
Example:
sudo ip {{[tunt|tuntap]}} {{[a|add]}} {{[d|dev]}} {{tun0}} {{[m|mode]}} {{[t|tun]}}booleanCreate a TUN device with a specific name
Example:
sudo ip {{[tunt|tuntap]}} {{[a|add]}} {{[d|dev]}} {{tun0}} {{[m|mode]}} {{[t|tun]}}booleanCreate a TAP device with a specific name
Example:
sudo ip {{[tunt|tuntap]}} {{[a|add]}} {{[d|dev]}} {{tap0}} {{[m|mode]}} {{[ta|tap]}}booleanDelete a TUN or TAP device
Example:
sudo ip {{[tunt|tuntap]}} {{[d|delete]}} {{[d|dev]}} {{tun0|tap0}} {{[m|mode]}} {{tun|tap}}booleanSet the owner (UID) of a TUN/TAP device
Example:
sudo ip {{[tunt|tuntap]}} {{[a|add]}} {{[d|dev]}} {{tun0|tap0}} {{[m|mode]}} {{tun|tap}} {{[u|user]}} {{username}}booleanSet both owner (UID) and group (GID) for a TUN/TAP device
Example:
sudo ip {{[tunt|tuntap]}} {{[a|add]}} {{[d|dev]}} {{tun0|tap0}} {{[m|mode]}} {{tun|tap}} {{[u|user]}} {{username}} {{[g|group]}} {{group_name}}Examples (6)
Show all existing TUN/TAP devices
ip [tunt|tuntap]Create a TAP device with a specific name
Set the owner (UID) of a TUN/TAP device
made by @shridhargupta | data from tldr-pages