Networking stuff | findings from experience…

Single post

IOS XRV working on VirtualBox

First of all, you may have been been struggling a lot to find the download link.
 You can find the demo versions of IOS XRV here
As a starting point, you may have checked the hypervisor recommandation from CCO and realized that VirtualBox is not supported.
However, by following the instructions in this post, you will end up with a working XRV network over Oracle VrtualBox, which is very convenient in a non production or lab environment.

Simple picture of my XRV virtual net :
xrv_vnet

First VM Creation

Now that you have your « .vmdk » VM image, as long as a working VirtualBox environment, Let’s start with the basics :

  • create a VM :
    • name : xrv1 (as per the picture above)
    • type : other
    • version : other/unknown (64 bits)
      xrv1
  • mem size : at least 2GB (less than 2GB will lead to weird behaviour…)
  • use an existing vmdk : the image you just downloaded

First VM Configuration

remove floppy and CD/DVD from boot devices

Console port

Add a serial port (Settings/Serial port) :

  • enable the serial port
  • port number : COM1
  • port mode : host pipe and create pipe
  • port/file path : \\.\pipe\xrv1 for first router and so on…

xrv2

Network Interfaces

Add some network interfaces.

The first one is the Mgmt port:

  • adapter 1 : enable network adapter
  • attached to : bridged adapter (your Mgmt port will be statically addressed on your LAN)
  • name : your physical network adapter
  • advanced : virtio-net adapter type

xrv3

Following interfaces will be Gi0/0/0/0, Gi0/0/0/1 and so on… :

  • adapter 2 to 4 : enable network adapter
  • attached to : internal network
  • name : see segments names in the picture
  • advanced : virtio-net adapter type

xrv4

Clone your first VM

I did it three times to build the virtual network in the picture.

Configure your clones

don’t forget to :

  • instantiate the named pipe allocated to console port
  • allocate new mac addresses to each segment
  • rename the internal networks accordingly (see picture above)

Launch your network simulation

xrv5

Each VM will show a blank screen ‘Booting IOS XRv’, which means that all is working pretty well !!

xrv6

Now you can log into each router using console port through your favorite network emulator : serial port, and named host pipe.

xrv7

Enjoy !

xrv8

 

25 Juin 2014

There are no comments for IOS XRV working on VirtualBox

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

  • Google add

  • Commentaires récents

    • Latest Tweets

    • Archives