利用VirtualBox附带工具创建tun/tap设备
工具介绍:1.VBoxTunctl、VBoxAddIF、VBoxDeleteIF版本VirtualBox-2.0.6jfo@lab:~$ VBoxTunctl -hCreate: VBoxTunctl [-b] [-u owner] [-g group] [-t device-name] [-f tun-clone-device]Delete: VBoxTunctl -d device-name [-f tun-clone-device]The default tun clone device is /dev/net/tun - some systems use/dev/misc/net/tun instead-b will result in brief output (just the device name)2.tuntun设备相当于一块虚拟网卡3.bridgeTCP/IP协议栈link layer将一台Linux主机配置成bridgejfo@lab:~$ sudo brctl addbr br0jfo@lab:~$ sudo ifconfig eth0 0.0.0.0jfo@
...