Networking | Linux | FOSS | Note-Keeping |

Pages

Showing posts with label Juniper. Show all posts
Showing posts with label Juniper. Show all posts

Thursday, August 24, 2017

How To Run Juniper Router JunOS Olive VM image(.OVA) in GNS3

How To Run Juniper Router JunOS Olive VM image (.OVA) in GNS3


First of all, download, install and run Oracle VM VirtualBox, and GNS3 on your PC.

Secondly, download the JunOS Olive VM image from the link below:

Download JunOS image file for GNS3

(Link searched from internet and pasted here for reference only)

After downloading the JunOS VM image, open the Oracle VM VirtualBox console. Click File and select Import Appliance to import VM (or just double click on the downloaded file and run it with Oracle VM VirtualBox to Import Appliance.)

Now, click the Browse button to locate the downloaded JunOS image file, select it, and then click Next

Accept the default resource values or adjust them as per requirement, and then click Import.
(I'm using default values that came with downloaded VM.


Once the VM is imported, select it, and click Start to power on.

Note:
In case, while importing the Virtual Machine in Oracle VM VirtualBox, you get the error "could not start the machine because following physical network interfaces were not found" than click Change Network Settings, select Microsoft KM-TEST Loopback Adapter from the list, and then click OK.
(If Microsoft Lopback Adapter is not already installed, than install it via the "Add Hardware Wizard" on windows and than select it in network settings)
If this error does not occur than, skip this step.





Now, on GNS3, click Edit, and select Preferences. On the Preferences window, select VirtualBox VMs in the left pane, and then select New.
Select JunOS Olive VM (Juniper router IOS image)and click Finish.






Now click Edit, change Symbol & Category to Router. Move on to the Network tab, and set the number of adapters as per your requirement (I selected 4 here)
Also, Select the Allow GNS3 to use any configured VirtualBox adapter check box and click OK. Now again press Apply & OK.



Now, in GNS3 console GUI, drag & drop the Junos router and start it.


Switch to the JunOS VirtualBox console or go to console from GNS3. At the login prompt, type root as username and press Enter. The Password is blank
At the next prompt, type cli and press Enter, and "Show Version" to verify the Junos version.





Enjoy.

Share:

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

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


Pre-requisites
  • 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
or
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. 














Enjoy!
Share:

Sitemap

Contact Form

Name

Email *

Message *

Total Pageviews

Search This Blog