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.

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

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.

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.

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.

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

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.

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 already installed a loopback adapter on your system.

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

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.

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.

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

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

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

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

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

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.