Juniper Olive Gns3

Posted onby admin

Jun 17, 2019 However, JUNOS Olive would be a great stepping stone for learning the OS. As for websites, I highly recommend the JUNOS workbook. I believe It's only JNCIA level, but I think it should suffice in learning the OS. Personally, when I was studying for my JNCIS-ENT, I found their study guides and feature guides extremely helpful in learning JUNOS. Junos Olive is an unofficial and unsupported image/version that was developed by Juniper for development purposes. As for the vMX, it's 'a full-featured, virtualized MX Series 3D Universal Edge Router' (quote from Juniper). It's an official and supported product that allows the usage of a virtualized MX router in a cloud/virtual network. 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.

  1. Juniper Srx Olive Gns3
  2. Juniper Olive Gns3 Wood
  3. Juniper Olive Vmware Image
First of all let me provide some useful links:
  • Olive reloaded or how to emulate Juniper routers - is about installing Junos using Qemu. Please read carefully as it contains important information.
  • Preparing VirtualBox and FreeBSD for Juniper Olive - this is excellent tutorial about installing Junos on VirtualBox
  • Junos Install in QEMU for GNS3 - Check this greatvideo tutorial
Please don't skip this step and go through all the tutorials above, this is where most of information on the subject I have came from.
What is necessary to have before actual installation of Junos begins:
  1. GNS3 v0.8.3.1 all in one download here
  2. VirtualBox 4.2.8 for Windows hosts x86/amd64
  3. FreeBSD 6.4 6.4-RELEASE-i386-disc1.iso
  4. Junos-Olive 10.1 - find it yourself, don't ask for it
You might ask a question - 'Why do we need FreeBSD installed?'
Answer is simple - In few words - Junos OS is based on FreeBSD kernel.
OK, Hope you've got everything.
It is better to have 'GNS3 all in one' package installed as it provides you with all necessary software components. VirtualBox 4.2.8 is the latest version available and is proven to work with all other software including my Widows 7.
FreeBSD 6.4 - try using this one. you'll need disc1 only. I spent lots of time trying to install Junos on top of FreeBSD mini install 4.1 used for Qemu installation. It doesn't work, do not repeat my mistake! Any Junos ver 10 and over should be OK for studies. I didn't find information about any problems with installation of more recent releases.
1. Install GNS3 all in one package. It is straight forward process described in many tutorials and videos available on internet.
2. Install Oracle VM VirtualBox. If you have any questions watch this video:
3. Prepare Junos CD ISO image.
Use any CD/DVD burning software and make IS0 CD image containing Junos OS package.
4. Run VitualBox application and create NEW VM instance.
Name - FreeBSD - for example; Type - BSD, Version -FreeBSD
NEXT --> Memory Size 512MB; NEXT --> Create a Virtual Hard Drive now;
Create --> VDI; NEXT --> Dynamically Allocated; NEXT --> File Location - better to change to
some easily accessible folder - C:VMFreeBSD for example; Size - 6GB; CREATE.
5. Modify settings for FreeBSD Instance.
SETTINGS -- System -- Motherboard; Modify Boot Order settings: by disabling Floppy and
moving CD/DVD-ROM down.

System -- Processor Tab --> Check Enable PAE/NX box. Leave default values for other options for now.
Note that you can limit CPU resources dedicated to single instance here.
Storage -- Choose CD/DVD in Storage Tree -- Click on CD Icon in Attributes Area and select FreeBSD ISO Image.

Audio - Uncheck box Enable Audio
Serial Ports -- Port 1 -- Check Enable Serial Port, Port Number - Com1, Port Mode - Disconnected.
Close VirtualBox Application.
6. Configure GNS3 for VirtualBox
I hope you have already played a bit with GNS3 and checked that Dynamips is running.
So now cancel all dialogs appearing after GNS3 start up and go Edit - Preferences -VirtualBox and
press Test Settings button. result has look like one on picture:

Click VirtualBox Guest Tab
Set Identifier Name; Select FreeBSD Instance from drop down list.
Set Number of NICs to 6
and check Console Support Check box.
Click OK Button.
Drag VirtualBox Guest Icon from Node Types Window to the Topology Design area
and select FreeBSD Instance for guest.
Right click on created Virtualbox FreeBSD Guest and select Start.
Virtualbox window should pop up where you can see FreeBSD boot process.
I'm way too laze to rewrite excellent tutorial which is already posted.
Please simply follow FreeBSD InstallSection there.
The only difference - please use Standard Installation type - no Boot Manager.

Pay special attention to slices creation process.
I was using following sizes for file systems:
ad0s1a 1024M /
ad0s1b 1024M swap
ad0s1d 10M /spacer
ad0s1e 128M /config
ad0a1f (All space remaining) /var
Don't miss Spacer slice as it is important.
Answer all questions NO at the end of FreeBSD installation process.
7. Junos Olive Installation.
When FreeBSD reboots to root prompt go to menu on top of VM window
Click Devices --> CD/DVD Devices --> Choose a virtual CD/DVD disk file -->
'jinstall10.1' in my case.
# mount /cdrom
# mount -- gives you a table of mounted filesystems. Check if /cdrom is mounted.
/dev/acd0 on /cdrom
# cd /var/tmp
# mkdir jinstall
# cd jinstall
# tar zxvf /cdrom/jinstall101.tgz <- your file name would be different.
# mkdir pkgtools
# cd pkgtools
# tar zxvf ../pkgtools.tgz
# cd bin
# cp /usr/bin/true checkpic
# cd ..Gns3
# tar zcvf ../pkgtools.tgz *
# cd ..
# rm -rf pkgtools
# tar zcvf ../jinstall101.tgz *
# cd ..
# rm -rf jinstall
# pkg_add -f jinstall101.tgz
You can use unix commands like ll, pwd, df -h during the installation.
Reboot FreeBSD when installation is complete with 'reboot' command.

Juniper Srx Olive Gns3

Right after Virtualbox instance starts to reboot - right click on FreeBSD icon in GNS3 and open console.
Using console you can follow all the boot process. All boot information is redirected now to console device.
Here what we have at the end:
8. Some more tweaking
Log into Junos with root and issue 'cli' command, then shut system down with 'request system halt'.
Wait until it stops and then stop instance in GNS3.
Open Virtualbox Guest configuration and make changes as it shown on picture below:
We are done!
Now you can clone this Junos Virtual Machine in VirtualBox application and create as many instances as you want (or your PC can handle) but first click Settings Button in Virtualbox click Storage --> CD Room icon in Storage Tree Area --> CD Icon in Attributes and Remove Disk from Virtual Drive. When cloning rename Instance and check Reinitialize The MAC Address of all network cards check box. Choose

Juniper Olive Gns3 Wood

Full Clone. For cloned Image you can set 256MB Base Memory. Do not forget to configure newly created instances in GNS3 so they will be ready for placement into GNS3 topology.
Good Luck with studies!
< Back

I do most of my network simulations in GNS3. And there I also need Cisco IOS / Juniper images.

In this post I’ll try to explain how to make following setup:

  • 2 Cisco 7200 routers
  • 1 Juniper JunOS Olive 12.1R1.9 image

Note: I don’t intend to go too deep into details about setting up Dynamips/VMware, because most of these settings work “out-of-the-box”.

Images

When it comes to Cisco images you can use following:

GNS3 setup

For simulating Cisco routers we relay on Dynamips and for JunOS we’ll use VMware Workstation 12 Player. GNS3 software version I’m using is 1.5.1.

Dynamips setup

Following picture shows current Dynamips settings:

VMware setup

To emulate JunOS, I rely on VMware Workstation player which is free for download from VMware website http://www.vmware.com/products/player/playerpro-evaluation.html

Here is the screenshot from VMware settings in GNS3:

I assume we have up and running VMware instance of JunOS:

Network topology

It’s really simple. Two Cisco routers connected to JunOS virtual instance:

Juniper Olive Vmware Image

That’s it! Have fun in GNS3!