- Host machine running Ubuntu and VirtualBox
- VM#1 guest Lubuntu and GNS3 v1.3.7
- VM#2 guest Ubuntu server and tacacs+
In order to make VM#1 and VM#2 communicate do the following:
- Create a new Host-only network by editing VirtualBox preferences
- Add a new network adapter on each VM using the Host-only network adapter and select the previously created Host-only network
- Change the Promiscuous mode setting to "Allow all" in both VMs
- Run GNS3 as an Administrator
- In GNS3 add a new cloud element and configure it using the ethernet interface pointing to the Host-only adapter
- Connect the cloud element to router in GNS3
- Configure static IP addresses or use a DHCP server (select respective option in VirtualBox)
- "No shut" the respective ports on all devices involved
- You should be able to ping from the router toward the tacacs server and the opposite
Notes
- Always run GNS3 as Administrator. Otherwise nothing will work.
- Don't forget to enable Promiscuous mode. Without it I could receive IPs from the DHCP server, but ping wasn't working.
- You can avoid using the Host-only network and use your normal lan interface where your ADSL router is connected. That way your GNS3 VM will be able to connect to the internet.