How To Add Juniper Router (JunOS) in GNS3

In the previous posts, we have explained a lot, how to use GNS3 to perform Cisco hands-on lab exercises. Along with Cisco, nowadays Juniper also getting popularity in the routing platform. However, Juniper has its own internetworking operating system (IOS) called JunOS. It is based on Linux/Unix platform. In order to perform the hands-on lab exercises in GNS3 that require Juniper routers, you need to add Juniper router IOS images in GNS3.

Before you could add a Juniper router in GNS3, first, you need to download and install Oracle VirtualBox on your local system.
Alternatively, you can also use VMware Workstation Player. However, in this guide, we will use Oracle VirtualBox.  

Once you have downloaded and installed your virtualization software, next, download the JunOS Olive VM image. You can download it from the various sources on the Internet, or you may use the following link to download the JunOS VM image file.

Adding Juniper IOS (JunOS) in GNS3

1. Once you have downloaded the JunOS VM image, next, open the Oracle VirtualBox console. Click File and select Import Appliance to import an existing VM.

2. On the Import Virtual Appliance window, click the Browse icon, navigate to the location where you have downloaded the JunOS image file, select it, and then click Next.

3. On the Appliance settings page, accept the default resource values or adjust them as per your requirement, and then click Import as shown in the following figure. The importing process will begin. It may take 10-15 minutes. Wait until it completes.

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

5. If the following error occurs, click Change Network Settings. If the following error does not occur, skip the next step (step 6) and move on the GNS3 console.

6. On the JunOS Olive – Settings window, make sure that Microsoft KM-TEST Loopback Adapter is selected, and then click OK. We assume that you have alreadyinstalled a loopback adapter on your system.

7. Now, the VM will start. Leave the VM VirtualBox console active and switch to GNS3 console.

8. On the GNS3 console, click Edit, and select Preferences. On the Preferences window, select VirtualBox VMs in the left pane, and then select New in the right pane.

9. On the VirtualBox Virtual Machine page, ensure that JunOS Olive VM (Juniper router IOS image) is selected. If not, select manually and click Finish and close the Preferences window.

10. In the GNS3 console, drag JunOS Olive router in the work view area. Right-click JunOS Olive and select Configure to configure it.

11. On the Node Properties dialog box, select the Network tab, and set the number of adapters as per your requirement.

12. Select the Allow GNS3 to use any configured VirtualBox adapter check box and click OK.

13. Switch to the JunOS VirtualBox console. At the login prompt, type root as username and press Enter. The Password is blank.

14. At the next prompt, type cli and press Enter. In the following example, root is the username and JunOS% is the hostname.

15. In the preceding figure, you can see that you have the JunOS console where you can execute JunOS commands that are used to configure Juniper routers.

That’s all you need to do to add Juniper router in GNS3. You can add as many Juniper routers as you wish depending on your local system resource’s capacity. Hope, it will help you to begin the Juniper hands-on exercises. Please like and share if you find it helpful. You may also subscribe us to get daily new post updates.

Leave a comment

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