How to setup Vyatta router bridged in VirtualBox on Windows 7 and connect another guest VM behind the Vyatta router on the VirtualBox internal network. I sometimes cut out reboot sequences and increase the video speed to help reduce overall video length..
You can add additional guests and use the IP of the Vyatta eth1 (internal int) for the gateway. VirtualBox will act as a switch. Use internal network adapters, promisc Allow VMs to communicate within VirtualBox.
Credit to the following for their helpful tutorials:
Vyatta install: MattersChris http://youtu.be/hSnB8yVGPF4
Masquerade NAT: http://n40lab.wordpress.com/2013/02/25/preparing-the-lab-vyatta-nat-masquerade/
Some of my notes:
sudo vim /etc/modprobe.d/blacklist
scroll to bottom
sudo update-initramfs -u -k all
sudo sed -i 's/T0/#T0/' /etc/inittab
set interface ethernet eth0 address 10.10.100.50/24
set interface ethernet eth1 address 10.10.1.1/24
set protocols static route 10.200.1.1/32 next-hop 10.1.1.2
set nat source rule 10 outbound-interface eth0
set nat source rule 10 source address 10.10.1.0/24
set nat source rule 10 translation address masquerade