Cisco VIRL to study for CCNP Routing, Switch and Troubleshoot certification
This post is my notes for my installation. Official installation and other options can be found here http://virl-dev-innovate.cisco.com/
Start Here – Welcome to VIRL
VIRL is Cisco’s easy-to-use, powerful, and extensible network modeling and simulation environment that enables users to:
- Build highly-accurate models of existing or planned networks.
- Design, configure, and operate networks using authentic versions of Cisco’s network operating systems, including IOSv, IOSv Layer-2, IOS-XRv, NX-OSv, CSR1000v and ASAv.
- Integrate 3rd-party virtual machines, appliances, VNFs, and servers.
- Connect real and virtual networks to form high-fidelity development and test environments.
- Design and test anywhere – VIRL is portable!
For standalone deployments use:
Installing VIRL to Bare-Metal using an ISO Boot Image
- http://virl-dev-innovate.cisco.com/iso.bm.php (I am going to install using ISO so I choose this one for me)
Step 1: Get Started
Before attempting to use the VIRL ISO installer with a Bare-Metal server please ensure that these key requirements are met.
- The target host must support Intel VT-x/EPT or AMD-V/RVI virtualization extensions and these must be enabled in the BIOS.
>> Less than five interfaces?
If the server to which you are deploying has fewer than five physical interfaces then you must carefully follow the instruction below covering interface-constrained installations.
Step 2: Download the VIRL ISO
(…) link send to your email…
Step 3: Install VIRL
(…) Boot LiveCD the ISO file, on desktop click “Install do Hardware”… normal Linux menu installation follows…
Boot ISO, LiveCD default username: virl default password: VIRL click "Install System to HDD" ...normal Linux menu installation follows... - Erase disk and install System - Use LVM with the new System installation your name: virl computer name: virl username: virl password: VIRL ... reboot when completed
Step 4: Prepare for an Interface-Constrained Installation (Optional)
For full functionality VIRL requires the following five network interfaces:
- eth0: used for management access with an IP address assigned via DHCP or via manual static IP address configuration
- eth1: used for external layer-2 management and data-plane access (Flat) with a default IP address of 172.16.1.254/24
- eth2: used for external layer-2 management and data-plane access (Flat1) with a default IP address of 172.16.2.254/24
- eth3: used for external layer-3 management and data-plane connectivity (SNAT) with a default IP address of 172.16.3.254/24
- eth4: used to anchor OpenStack services and for inter-host communications with a default IP address of 172.16.10.250/24
>> details to setup dummy interfaces on the VIRL website
Step 5: Configure Static IP (Optional)
If there is no DHCP addressing facility on the subnet to which the VIRL host or virtual machine is connected via ‘eth0’ it is necessary to assign a static IP address before proceeding.
sudo nano /etc/network/interfaces # Change the 'eth0' addressing method to static: iface eth0 inet static # Provide the static IP address: address n.n.n.n # Provide the static IP address netmask: netmask mmm.mmm.mmm.mmm # If needed the default IP gateway address: gateway g.g.g.g
# If no default IP gateway address is provided
# do not configure any DNS name-server addresses unless
# they are reachable on the local subnet.
# Doing otherwise will lead to unpredictable behavior
# as various VIRL services fruitlessly attempt to resolve names.
# Provide valid reachable DNS name-server addresses: dns-nameservers a.a.a.a b.b.b.b # save, exit, reboot sudo reboot now
Step 6: Configure Internet Proxies (Optional)
Step 7: Prepare VIRL for Activation
When installing from the VIRL ISO image you must reset the SSH server’s RSA key:
sudo apt-get remove -y openssh-server sudo apt-get install -y openssh-server
Confirm that ‘KVM acceleration can be used‘ is returned by the KVM capabilities checker:
Use a method of your choice to confirm Internet connectivity and name resolution:
Step 8: Activate VIRL
Step 9: Customize the VIRL Configuration (Optional)
Open a web browser and navigate to the VIRL host’s IP address.
Choose ‘User Workspace Management‘ from the VIRL Server web-page.
Login to the User Workspace Management using username ‘uwmadmin‘ and password ‘password‘.
Select ‘VIRL Server‘ from the menu that appears on the left.
Select the ‘System Configuration‘ sub-menu.
Step 10: Validate the VIRL Installation
if necessary, restart the OpenStack services:
Verify that both the VIRL STD and UWM services are active and in a ‘listening‘ state:
Step 11: Install and Configure VM Maestro
navigate to the VIRL host or virtual machine’s IP address…Select ‘VM Maestro Clients‘ from the list of options.
default password: guest default username: guest
One last thing.
You must download all of the node sub-types available on the VIRL host to VM Maestro:
- Select from the menu ‘File‘, then ‘Preferences‘, then ‘Node Subtypes‘.
- Select ‘Restore Defaults‘, then ‘OK‘, then ‘Apply’.
- Select ‘Fetch from Server‘, then ‘OK‘.
- Select ‘OK‘ to finish.
Do these steps anytime new sub-types are added to your VIRL host.
End of Installation