网上找了半天,都是centos的,ubuntu老版本装tunctl的命令也不能用了
$ sudo tunctl
sudo: tunctl: command not found
$ sudo apt install tunctl
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tunctl
终于在【Ubuntu】添加虚拟网卡的三种方式_widiot的博客-优快云博客_ubuntu 添加虚拟网卡找到了,原来要装uml-utilities
$ sudo apt install uml-utilities
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
user-mode-linux
The following NEW packages will be installed:
uml-utilities
0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
Need to get 50.3 kB of archives.
After this operation, 289 kB of additional disk space will be used.
Get:1 http://nova.clouds.archive.u