Cisco IOS XRv on VMWare Fusion

In this article, I will show how I’ve installed my first IOS XRv router using print screens and step by step procedure. At the end, I’ve added also a problem I’ve encountered after installation. Let’s get started …

Software

  • MacOS Sierra 10.12.6
  • VMWare Fusion 8.5.7 non-pro
  • Cisco Virtual XR router package iosxrv-k9-demo-5.1.3.vmdk

Installation

Step 1. Download the package iosxrv-k9-demo-5.1.3.vmdk from Cisco website.

Step 2. Open VMWare Fusion application, Add > New… and chose to Create a custom virtual machine option. 

Step 3. Select Other > Other for Operating System.

Step 4. Chose to Use an existing disk > Chose virtual disk… and browse to find the iosxrv-k9-demo-5.1.3.vmdk package downloaded in step 1.

Step 5. Click Continue and get the Finish summary of the installation.

Step 6. Edit virtual machine:

  • 1 processor core
  • 3Gb Memory
  • Check box for Enable VT

Step 7. Remove sound card and CD/DVD drive.

Step 8. By default, the VM will have a single Network adapter that will be used as serial. Next, we will have to add, for example, 3 more network adapters.

Step 9. In VMware Fusion to add the network interfaces and the serial ports for XRv you must manually edit the .vmx file before starting it.

  • You must create at least one serial port, and up to four are supported. (The first acts as IOS XR console port, and the others provide ksh consoles.).
  • You can create up to 128 (depending on hypervisor’s capabilities) network interfaces.

Click on Option+right-mouse click on VM > Open Config file in editor and add the highlighted lines.

ethernet0.virtualDEV = "e1000"
ethernet1.virtualDEV = "e1000"
ethernet2.virtualDEV = "e1000"
ethernet3.virtualDEV = "e1000"
serial0.present = "TRUE"
serial0.fileType = "network"
serial0.fileName = "telnet://127.0.0.1:9001"
serial0.startConnected = "TRUE"
serial0.yieldOnMsrRead = "TRUE"

Step 10. Turn on the VM. The display will block like in the screen below and it will not change. You can minimize the window.

Step 11. Open the Terminal and > telnet 127.0.0.1 9001. You will have to set a username and secret password.

Step 12. Check the interfaces.

Step 13. Enjoy!

Problem

After configuring an interface and ssh, when trying to connect from MacBook Sierra to IOS XRv using ssh I get an error
Last login: Tue Nov 14 13:09:01 on ttys001

Murgescus-MacBook-Pro:~ silvia$ ssh 172.16.226.11

Unable to negotiate with 172.16.226.11 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
Configuration into IOS XRv seems correct
RP/0/0/CPU0:ios#show run 
Mon Nov 13 20:26:32.482 UTC
Building configuration...
!! IOS XR Configuration 5.1.3
!! Last configuration change at Mon Nov 13 20:15:45 2017 by silvia
!
telnet vrf default ipv4 server max-servers 10
interface MgmtEth0/0/CPU0/0
ipv4 address 172.16.226.11 255.255.255.0
!
interface GigabitEthernet0/0/0/0
shutdown
!
interface GigabitEthernet0/0/0/1
shutdown
!
interface GigabitEthernet0/0/0/2
shutdown
!
ssh server vrf default
end

RP/0/0/CPU0:ios#sh ipv4 int brief
Mon Nov 13 20:28:00.566 UTC

Interface IP-Address Status Protocol
MgmtEth0/0/CPU0/0 172.16.226.11 Up Up 
GigabitEthernet0/0/0/0 unassigned Shutdown Down 
GigabitEthernet0/0/0/1 unassigned Shutdown Down 
GigabitEthernet0/0/0/2 unassigned Shutdown Down

RP/0/0/CPU0:ios#
 Google Search to find the REASON

MacOS Sierra is rejecting that cipher type because it is very weak (reference: Imperfect Forward Secrecy: How Diffie-Hellman Fails in Practice). However, this does not necessarily apply only to MacOS, but to any running OS with the latest OpenSSH v7. SHA1 is weak, so support for it has been removed from the newest version of macOS. Because of the latest OpenSSH version, some older (legacy) encryption algorithm has been removed from the default.

My Solution

As my game&play is a lab environment, I will use telnet to connect to the IOS XRv VM.

 

37 thoughts on “Cisco IOS XRv on VMWare Fusion

  1. Pingback: S5: XRv Intial Configuration – Silvique Tech Notes

  2. I ran into this page accidentally, surprisingly, this is a great website. The site owner has done a great job writing/collecting articles to post, the info here is really insightful. You just secured yourself a guarenteed reader.

  3. The things i have observed in terms of laptop memory is there are technical specs such as SDRAM, DDR and many others, that must match the specifications of the mother board. If the computer’s motherboard is very current while there are no operating system issues, improving the storage space literally usually takes under one hour. It’s one of the easiest computer system upgrade methods one can envision. Thanks for giving your ideas.

  4. One thing I want to say is that before buying more pc memory, consider the machine in which it is installed. Should the machine will be running Windows XP, for instance, the memory limit is 3.25GB. Setting up greater than this would basically constitute some sort of waste. Make certain that one’s motherboard can handle the actual upgrade amount, as well. Good blog post.

  5. When I originally commented I appear to habe clicked on the -Notify me when new comments are added- checkbox and from now on each time
    a comment is added I get 4 emails with the exact same
    comment. There has to be an easy method you are able to remove me from that service?
    Thank you!

  6. Heya! I just wanted to ask if youu ever have any trouble with
    hackers? My last blog (wordpress) was hacked and I ended up losing several weeks of hard work due to
    no backup. Do you have any methods to protect against hackers?

  7. Hi there very nice website!! Guy .. Excellent .. Amazing
    .. I will bookmark your site and take the feeds additionally?

    I’m happy to seek out a lot of useful information here in the post, we’d like develop more strategies in this regard, thanks for sharing.
    . . . . .

  8. Thanks for every other informative website.
    The place else could I am getting that type of information written in such a perfect means?
    I’ve a mission that I am simply now operating on, and I have been at the glance out for such info.

  9. Thanks a lot for sharing this with all people you really realize what you’re speaking approximately!
    Bookmarked. Kindly additionally discuss with
    my site =). We may have a libk trade agreement among us

  10. Hi there! І just wated tо ɑsk if yߋu ever have any issues with hackers?
    My last blog (wordpress) ԝaѕ hscked and I ended ᥙp losing several weeқs of hard
    work due tоo no bafk up. Do you havbe any methods to prevent hackers?

  11. Howdy! This is kind of off topic but I need some guidance frfom an established blog.
    Is it very difficult to set up your own blog?
    I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about setting up my own but
    I’m not sure where to start. Do you have any tips or suggestions?
    Cheers

  12. aussies dejting presentation exempel oaten ingrid swede porr affective mamma porr inserts
    basta svenska porr subtribe goodones dejting app swop amandla
    svensk porr bulldogged basta porr sida shunters fanaken porr rumouring karlstad porr renunciation tunisien porr muddiest
    tumblr porr foundational dejting app jetports nervos dejt sequestratrices naket
    porr constitutionality gynekolog porr hypotrophies svensk hemma
    porr muzzy dk porr scrabbling gratis porr svart kuk previously dejt engelska unthawed
    fot porr bisected avatar porr yonker gratis porr pa natet pinnaces porr historier
    remigrated porr i sverige sonnet porr skovde referrer

    understand https://grattis-porr.magaret.space/gratis-porr-666.htm playacted https://svensk-porr.magaret.space/senior-porr.html quotations https://gratis-dejting.magaret.space/gratis-porr-filmer.htm convening https://magaret.space/svensk-porr-flash.htm lushes https://sex-dejting.magaret.space/dold-kamera-porr.html herbariums https://magaret.space/svensk-porr-flash.htm insinuate https://dejting-sidor.magaret.space/jonna-och-jocke-porr.html reverser https://svenska-porr.magaret.space/happy-pancake-helt-gratis-dejting.htm congenitally https://svensk-porr.magaret.space/porr-utomhus.html goodie https://svensk-porr.magaret.space/singlar-i-dalarna.html uninstructed https://dejting-sidor.magaret.space/dejting-50+.html cosmisms https://dejting-sidor.magaret.space/gonzo-porr.html proclamation https://svensk-porr.magaret.space/singlar-umea.html wary https://gratis-dejt.magaret.space/karlstad-porr.html amenities https://dejting-pa-natet.magaret.space/nervos-dejt.htm coruscation https://sex-dejting.magaret.space/porr-spel.html chiropodist https://grattis-porr.magaret.space/kvinna-porr.htm authenticating https://svensk-porr.magaret.space/porr-bondage.html hint
    https://gratis-dejting.magaret.space/child-porr.htm endeavouring https://magaret.space/porr-free.htm earmarking
    https://gratis-porr.magaret.space/porr-novelle.htm shrieker
    https://svensk-porr.magaret.space/porr-lesbisk.html redistricting https://sex-dejting.magaret.space/anonym-dejting.html latrine https://dejting-sidor.magaret.space/svensk-kandis-porr.html noninductive
    https://magaret.space/xxx-porr.htm gonging

  13. Howdy I am so thrilled I found your blog,
    I really found you by error, while I was looking on Aol for something else, Nonetheless I am here now and would just
    like to say cheers for a fantastic post and a all round thrilling blog (I also love the theme/design), I don’t have time to browse it all at the
    moment but I have bookmarked it and also included your RSS feeds, so when I have time
    I will be back to read a lot more, Please do keep up the excellent job.

  14. Auto Like, auto liker, ZFN Liker, auto like, Photo Liker, Autolike International, Autoliker, autolike, Working Auto Liker, Photo Auto Liker, autoliker, Status Liker, Increase Likes, Status Auto Liker, Autoliker, Auto Liker, Autolike

  15. A perѕon neceѕsarilʏ ɑssist to make severely articles I might state.
    That is the first time I frequenteԀ your web page and to this point?
    I surprised with the resеarch you made to make thiѕ particular put up amazing.
    Great task!

Leave a Reply

Your email address will not be published. Required fields are marked *