I have a bridged setup with 3 identical machines utilizing bridged networking, linux software bridges and tap interfaces. VirtualBox even fails to start when only one machine is involved. Same error message. (tested with 2.2.4 only).
The error message says:
The Testbed-aFirstTest-vb0-2009-07-20-16-41-41.log log file (please find it attached to this post) is the result of trying to start a virtual machine with three tap-interfaces (bridged networking) attached to it. Prior to the failed start I executed the following commands in order to setup the tap interfaces, add them to a bridge and force the bridge to form a chain-of-3 network topology:Failed to start the virtual machine Testbed-aFirstTest-vb1. Failed to open/create the internal network 'HostInterfaceNetworking?-vb1_ch0' (VERR_INTNET_INCOMPATIBLE_TRUNK). Unknown error creating VM (VERR_INTNET_INCOMPATIBLE_TRUNK).
Code: Select all
echo Starting tap-interfaces ...
sudo tunctl -t vb0_ch0 -u dvd
sudo tunctl -t vb1_ch0 -u dvd
sudo tunctl -t vb2_ch0 -u dvd
sudo ifconfig vb0_ch0 0.0.0.0 promisc up
sudo ifconfig vb1_ch0 0.0.0.0 promisc up
sudo ifconfig vb2_ch0 0.0.0.0 promisc up
echo Starting bridge ...
sudo brctl addbr ch0
sudo ifconfig ch0 10.0.0.100 netmask 255.255.255.0 broadcast 10.0.0.255 up
echo Adding interfaces to bridge
sudo brctl addif ch0 vb0_ch0
sudo brctl addif ch0 vb1_ch0
sudo brctl addif ch0 vb2_ch0
echo Starting visibility procedures ...
echo Setting default policy of ebtables FORWARD chain to DROP and flushing it ...
sudo ebtables -P FORWARD DROP
sudo ebtables -F FORWARD
echo Ensuring visibility between the vboxes ...
sudo ebtables -A FORWARD -i vb0_ch0 -o vb1_ch0 -j ACCEPT
sudo ebtables -A FORWARD -i vb1_ch0 -o vb0_ch0 -j ACCEPT
sudo ebtables -A FORWARD -i vb1_ch0 -o vb2_ch0 -j ACCEPT
sudo ebtables -A FORWARD -i vb2_ch0 -o vb1_ch0 -j ACCEPT