=> r1: Preparing network interfaces based on configuration. => r1: Clearing any previously set network interfaces.
=> r1: Matching MAC address for NAT networking. Creating Configuration Files ¶Ĭreate Vagrantfile, hosts.yml (Ansible inventory file) and ansible.cfg (Ansible configuration file) with netlab create command:īringing machine 'r1' up with 'virtualbox' provider.īringing machine 'r2' up with 'virtualbox' provider. To execute individual steps in this process, follow the rest of this section, otherwise skip to connecting to network devices. Starts the devices with vagrant up or containerlab deploy commandĬonfigures the devices with netlab initial command. The easiest way to start the lab is to execute netlab up command which:Ĭreates Vagrantfile or clab.yml, and Ansible inventory files If you prefer using Cumulus VX, replace device: eos with device: cumulus Replace provider: virtualbox with provider: clab if you’re running Arista cEOS container with containerlab. Has three links – a stub network connected to r1, another stub network connected to r2, and a link between r1 and r2. The networking lab specified in the above topology file: provider : virtualbox defaults : device : eos module : nodes : links : In an empty directory create the lab topology file topology.yml.
If you’re using containerlab, download and install cEOS image. box file with vagrant box add vEOS-lab-4.21.14M-virtualbox.box -name arista/veos The most recent vEOS version accessible in that format at the time this document was last updated was vEOS-lab-4.24.8M-virtualbox.box. Alternatively, you could use Cumulus VX, but it’s a bit harder to work with unless you’re used to working with Linux-based network devices using FRR.ĭownload the Arista vEOS Box file.
We’ll use Arista EOS image available for download on Arista’s web site (login required). Still here? Let’s roll… Preparing the Network Device Images ¶ Julio Perez wrote a container-focused tutorial using Arista cEOS.įor more complex tutorials, check the More Tutorials section at the end of this document. If you plan to run your lab on a Linux server or VM, use containerlab.įor a step-by-step tutorial starting with let’s create a Linux virtual machine on our Windows/Mac laptop, please read A Quick Introduction to Netsim-Tools by Leo Kirchner. If you plan to run your lab on MacOS or Windows, use Vagrant with VirtualBox.