А вот что работает криво (у меня) - интерфейс tap0 откликаться во внутрь свича не хочет ни разу.
Когда запускаешь vde_switch с ключом -x - он становится хабом.
text
# vde_switch --help
Usage: vde_switch [OPTIONS]
Runs a VDE switch.
(global opts)
-h, --help Display this help and exit
-v, --version Display informations on version and exit
-n --numports Number of ports (default 32)
-x, --hub Make the switch act as a hub
-F, --fstp Activate the fast spanning tree protocol
--macaddr MAC Set the Switch MAC address
--priority N Set the priority for FST (MAC extension)
--hashsize N Hash table size
(opts from datasock module)
-s, --sock SOCK control directory pathname
-s, --vdesock SOCK Same as --sock SOCK
-s, --unix SOCK Same as --sock SOCK
-m, --mode MODE Permissions for the control socket (octal)
--dirmode MODE Permissions for the sockets directory (octal)
-g, --group GROUP Group owner for comm sockets
(opts from consmgmt module)
-d, --daemon Daemonize vde_switch once run
-p, --pidfile PIDFILE Write pid of daemon to PIDFILE
-f, --rcfile Configuration file (overrides /etc/vde2/vde_switch.rc and ~/.vderc)
-M, --mgmt SOCK path of the management UNIX socket
--mgmtmode MODE management UNIX socket access mode (octal)
--mgmtgroup GROUP management UNIX socket group name
(opts from tuntap module)
-t, --tap TAP Enable routing through TAP tap interface
Report bugs to info@v2.cs.unibo.it