Networking | Linux | FOSS | Note-Keeping |


Thursday, August 24, 2017

How to run Juniper Router (JunOS) .img in GNS3

Installing Juniper Router IOS (Junos) .img via GNS3 Qemu on Local Computer or GNS3 VM:

  • GNS3 installed
  • VMWare or Oracle VM VirtualBox installed (If you want to install to VM)
  • Juniper Router IOS (Junos) .img file

Adding Junos in GNS3

Open GNS3 and go to Edit > Preferences > QEMU > QEMU VMs

Select "Run this Qemu VM on the GNS3 VM" for running Junos on VM
select "Run this Qemu VM on local computer" for running Junos on local computer and press Next (I’m running it on VM here).

Name the Junos here and press Next

Select Qemu Binary and RAM here and press Next (I’m using auto-selected default Qemu binary values by GNS3 and 256MB of RAM)

Choose Consol Type here (I selected Telnet) and press Next

Now, choose basic disk image for the virtual machine, if you haven’t already chosen/uploaded it to VM than select New Image and give path to Junos.img file and it will start uploading .img file to VM. Give it some time to upload and press Finish. (I had it already uploaded to VM earlier while testing so, chose Existing Image and selected the .img file from drop down menu)
Click Apply and OK

To change the Junos Router Icon, press all devices icon from the left hand menu, select Junos router and right click on it. Click on Configure Template. Now change the Symbol from Browse option and select router icon from the list. Also, change the Category from drop down menu and select Routers.

Change Network Adapters to 4 (Maximum supported by QEMU) or according to your need and press OK.

Now, you are all set to test the settings.

Drag & Drop the Junos router to the main topology window, turn it on, and get console access. Give it some time to boot (At least 4-5 minutes)

After Successful boot, login with "root" and press enter & to enter into Junos CLI mode type "cli" and press enter. 



Post a Comment


Contact Form


Email *

Message *

Total Pageviews

Search This Blog