vde_plug2tap command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
vde_plug2tap: command not found
or when using sudo you get the following error message
sudo: vde_plug2tap: command not found
Solutions to vde_plug2tap: command not found
How To Fix vde_plug2tap: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu vde_plug2tap is provided by vde2 package.
vde2 is:
VDE is a virtual switch that can connect multiple virtual machines together, both local and remote.
Components of the VDE architecture are VDE switches (virtual counterpart of ethernet switches) and VDE cables (virtual counterpart of a crossed-cable used to connect two switches).
VDE 2 includes:
- switch management both from console and from a “unix socket terminal”
- VLAN 801.1q
- FSTP (fast spanning tree)
- distributed cable manager using a blowfish encrypted channel
Examples of VDE uses:
- With VDE it is possible to create a virtual network of QEMU machines running on several real computer
- VDE can be used to create tunnels (even crossing masqueraded networks)
- VDE can provide mobility support
The VDE also provides bi-directional pipe command (dpipe) and remote terminal for unix sockets (unixterm).
The Debian package provides a nice extension for /etc/network/interfaces file for easy set up.
To fix this problem, we can install more using the command below.
sudo apt-get -y install vde2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install vde2.
sudo apt -y install vde2
Or if you have aptitude installed you can use the following command.
sudo aptitude install vde2
Summary
In this tutorial we learn how to fix vde_plug2tap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.