Server Guide and Blog

Rock Your Linux

By

Virtual Server Autostart

To automatically start your Virtual Server open the sessions control panel in the administrator menu. Add to the startup programs the following command: VBoxManage startvm servername My Virtual Server is named “server” therefore my session startup command looks like this: VBoxManage startvm server Do the same thing for your tap creation script. I placed the tap creation script in my home folder, then when you add the session startup just navigate to the script and select it. Everything in the sessions configuration will automatically start when the main user logs in, therefore you will have to set the security on your computer to automatically login your main user. Do this in the Login Window administrator menu, under the security tab.

By

VirtualBox Host Networking Multiple Taps

After the creation of the first tap you can create additional taps and connect them to the single bridge off the ethernet connection. For example the following is my setup for an additional tap. sudo tunctl -t tap1 -u username sudo /usr/sbin/brctl addif br0 tap1 sudo ifconfig tap1 192.168.0.12 up sudo bash -c ‘echo 1 > /proc/sys/net/ipv4/conf/tap1/proxy_arp’ sudo route add -host 192.168.0.5 dev tap1 sudo arp -Ds 192.168.0.5 eth0 pub You want all IP addresses to be unique otherwise there will be conflicts. Do consider the IP address you want to provide to the Guest OS. Note that you can specify the MAC address of the VirtualBox ethernet card in the VirtualBox configuration menu. This is useful if you want to configure a static IP address to be supplied to your Virtual OS. This post is superseded by a more recent post.