- Download and install VirtualBox.
- Download and install Vagrant, a virtual machine environment manager.
- Clone the TARN project:
git clone http://github.com/geddings/TARN
- Change directories:
cd TARN/
- Start the Vagrant build process:
vagrant up
- Vagrant commands must be run in the directory that contains the Vagrantfile
- Once built, login to the TARN VM using:
vagrant ssh
- You can issue single commands to the TARN VM like
vagrant ssh -c 'ifconfig -a'
- Vagrant may ask you for a password. The default is vagrant
- You can issue single commands to the TARN VM like
- To pause the VM use
vagrant suspend
and to bring it start it againvagrant resume
There are multiple topologies in which TARN can be run with. The following commands assume that you are in the home directory.
- To run a two host, no bgp topology:
sudo python TARN/mininet/topologies/simplenobgptopo.py
- To run a two AS, bgp topology:
sudo python TARN/mininet/topologies/2-AS-ebgp/start.py