Install vagrant-libvirt plugin on Arch Linux

I use Vagrant with the vagrant-libvirt plugin on my Arch Linux host quite extensively to quickly spin up dev and lab environments. The plugin’s development is mature and generally feature-complete, but the latest release was June 24, 2023. In the meantime, multiple commits were added to the main branch. I use the following process rather than the standard installation sourced from RubyGems . Prerequisites Verify these Arch packages are installed: pacman -Q git vagrant dnsmasq iptables-nft libvirt qemu-base bridge-utils ruby pkgconf gcc make Steps Open your favorite terminal emulator. ...

January 25, 2025 · 2 min

Wireshark with Vagrant point-to-point (UDP tunnel) links

Vagrant supports three types of networks: public, private, and port-forwarding. The private network type has the option to use a UDP tunnel for a point-to-point link when using the vagrant-libvirt plugin. This connection type is ideal for links between virtual network devices. Refer to the following resources if you need more information: Pseudo-wires With Vagrant and Libvirt vagrant-libvirt Networks Vagrant Private Networks The only drawback with this type of connection is concerning packet sniffing. Since the connection uses a tunnel for encapsulation, we need a method to view the relevant data within the tunnel somehow. ...

February 12, 2020 · 3 min

Cisco CSR 1000v Vagrant Box for VMware Fusion

Why not add the CSR 1000v to round out our collection of Cisco virtual appliances? Similar to the Cisco Nexus 9000v, each instance of the Cisco CSR 1000v requires a considerable amount of hardware resources to run. Again, I recommend a Mac with at least 16GB of memory and a dual-core CPU if you plan to run more than a single instance. Ingredients used in this guide: macOS Mojave (10.14) VMware Fusion 11 Pro Vagrant 2.2.3 VMware provider for Vagrant Cisco Cloud Services Router 1000V Series A valid service contract is required for the download. ...

February 13, 2019 · 6 min

Cisco Nexus 9000v Vagrant Box for VMware Fusion

The Cisco Nexus 9000v shares the same software image as its hardware counterpart, so it provides a terrific solution for feature testing and/or network automation. The only caveat is the hardware resources required to run it. I recommend a Mac with at least 16GB of memory and a dual-core CPU. Ingredients used in this guide: macOS Mojave (10.14) VMware Fusion 11 Pro Vagrant 2.2.3 VMware provider for Vagrant Cisco Nexus 9000v Switch Steps 1. Sign in to your Cisco account to download the Nexus 9000v Switch software. The software is available here Select the Download Options link Select the version from the menu on the left. For my example, I will be using the Release 7.0(3)I7(5a) Click the Download button for Cisco Nexus 9000/3000 Virtual Switch for ESXi or Fusion Save the nxosv-final.7.0.3.I7.5a.ova file to the Downloads folder 2. Create the Cisco Nexus 9000v template. Open the VMware Fusion application Menu: File → Import… Click the Choose File… button Navigate to and select the nxosv-final.7.0.3.I7.5a.ova file in the Downloads folder Click the Open button Click the Continue button Click the Continue button to use the Default profile Save As: Nexus Click the Save button Click the Customize Settings button to modify the virtual appliance settings Set Processors to 2 processor cores Set Memory to 6144 MB Set Network Adapter to Share with my Mac Remove CD/DVD (IDE) Upgrade the VM hardware version to 16 (Compatibility → Upgrade) Close the Settings window Quit the VMware Fusion application 3. Remove additional network interfaces from the virtual appliance configuration file. From a macOS terminal, remove Network Adapter 2 to Network Adapter 10. ...

February 1, 2019 · 5 min

Cisco IOS XRv Vagrant Box for VMware Fusion

And yet another virtual network appliance to Vagrantize… Ingredients used in this guide: macOS Mojave (10.14) VMware Fusion 11 Pro Vagrant 2.2.3 VMware provider for Vagrant Cisco IOS XRv Router v6.1.3 The Cisco IOS XRV Router image is available as part of your Cisco VIRL subscription. Steps 1. Convert the disk image format type. The Cisco IOS XRv Router is provided in the qcow2 (QEMU) disk image format. The QEMU disk image utility (qemu-img) is required to convert the disk image to the vmdk (VMware) format. The utility is included with the qemu package. Use either MacPorts or Homebrew to install. ...

January 6, 2019 · 7 min

FortiGate Vagrant Box for VMware Fusion

Continuing my journey to Vagrantize more virtual network appliances… Ingredients used in this guide: macOS Mojave (10.14) VMware Fusion 11 Pro Vagrant 2.2.2 VMware provider for Vagrant FortiGate-VM The FortiGate VM includes a limited embedded 15-day trial license that supports: 1 CPU maximum 1 GB RAM maximum Low encryption only (no HTTPS administrative access) All features except FortiGuard updates Steps 1. Download and unzip the FortiGate VM deployment package for VMware. FortiGate VM deployment packages are included with FortiGate firmware images on the Customer Service & Support site. I will be using FortiGate VM v6.0.2 for my example. ...

December 26, 2018 · 5 min