Junos Olive Virtualbox


How to Configure Junos Olive in GNS using Virtualbox

Download ready-to-use OVA files containing your favorite OS, such as Debian, Ubuntu, Mint, FreeBSD, OpenBSD, etc. Simply 'Import' the OVA into VirtualBox and go. (Control+I when in VirtualBox) Most distributions come in their 32 bit and 64 bit flavors, as well as 'Minimal' and 'GUI' versions. The guest OS: Junos 12.1R1.9 installed on VirtualBox multiattach hard disk type - olive-base.vdi 1. Initial GNS3 Configuration - General VirtualBox settings Start GNS3. Got a new job, they want me to spin up GNS3 with a JunOS Olive VM in VirtualBox but as the title says I'm having some trouble. I got the GNS3 image here and was able to get it running in VirtualBox, and I was also able to download GNS3 and integrate its VM into Virtualbox, but for some reason the JunOS template I've created in GNS3 is grayed out. Junos runs as an application on of the Unix Kernel so in a nut shell Olive is an installation of Juniper Junos Software on a virtual machine running FreeBSD. So can Olive help you learn Junos?

Requirements (Software versions I’ve used are in brackets).
What is necessary to have before actual installation of Junos begins:

Finally got an Olive working (you should get a cert just for that!) and now I am stumped as it is asking for a login. Is there a default I should be trying? Cannot find anything in the literature i've got.

  • GNS3 v0.8.3.1 all in one download here
  • VirtualBox 4.2.8 for Windows hosts x86/amd64
  • FreeBSD Mini or 6.4 6.4-RELEASE-i386-disc1.iso
  • Junos-Olive 10.1 – find it yourself, don’t ask for it
First thing you want to do is install Sun VirtualBox – the default install options will be just fine. Once done create a new VM as follows:
· Select New VM
o O/S: BSD
· Memory: 512Mb
· Hard Disk – You’ll need to create a new hard disk using the wizard in this window. Create a dynamically expanding disk of about 10Gb called “Juniper Olive 1.vdi”.

Junos Olive Virtualbox Extension

You now need to edit the settings of the newly created VM, right click on the VM and select “settings”. Yes I know I’m teaching you to suck eggs.
· System
§ Disable Floppy from Boot Order
o Processor
§ Extended Features: PAE/NX enabled.
§ VT-x/AMD-V: Enabled – If you do not have the option then stop here, you will not be able to run JunOS in VirtualBox. The only workaround is to install JunOS on another computer with virtualisation technology and move the VM over to this computer – I may tutorial this later but it’s a terrible pain in the arse.
o Display: Defaults
§ IDE Primary: Juniper Olive 1.vdi
§ Floppy: Empty.
o Network:
§ Attached to: Bridged Adaptor (You can also use NAT, this adaptor will enable you to share your internet connection so you can access your FTP server. If your PC is connected to a router for your DSL/Cable then select bridged. If your computer connects directly to the internet with a USB dongle or DSL/Cable card then select NAT).
§ Name: Whatever your current local network card is called.
§ Port 1 Enabled
§ Port Mode: Disconnected
o Shared Folders: None.
Go ahead and fire up your VM, it should boot up and load the FreeBSD installer. Once you have chosen your language you will get to the main menu, you should select “Express – Quickinstallation (for experts)”, when FDISK starts select “Use entire disk” (A key) then then exit out (Q Key).
Let FreeBSD install the standard for Boot Manager (no boot mgr).
ad0s1b 500M swap
ad0s1e 500M /config
Don’t miss Spacer slice as it is important.
Answer all questions NO at the end of FreeBSD installation process.
The spacer partition ensures that /config and /var have the correct designation (ad0s1e and ad0s1f respectively) – if your designations look a bit different that’s not a big problem. If anyone knows how to specify the slice so there’s no need to have the spacer mount then let me know.
Save those slices off and you’ll be taken back to the menu. Select the (Option 8) User Distribution then select your install media.
And start the installation process , once the quick installation finish exit the setup and unmount the iso.
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 –>
# mount /cdrom
# mount — gives you a table of mounted filesystems. Check if /cdrom is mounted.
/dev/acd0 on /cdrom
# cd /var/tmp
# cd jinstall
# tar zxvf /cdrom/jinstall101.tgz <- your file name would be different.
# cd pkgtools
# cd bin
# cd ..

Junos Olive Virtualbox Download

# cd ..
# tar zcvf ../jinstall101.tgz *
# rm -rf jinstall
You can use unix commands like ll, pwd, df -h during the installation.
Reboot FreeBSD when installation is complete with “reboot” command.
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.

Junos Olive Virtualbox Free

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:
Set Identifier Name; Select FreeBSD Instance from drop down list.
and check Console Support Check box.
Drag VirtualBox Guest Icon from Node Types Window to the Topology Design area
Right click on created Virtualbox FreeBSD Guest and select Start.
Virtualbox window should pop up where you can see FreeBSD boot process.

Junos Olive Virtualbox Gns3

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.
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 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.
Check this pdf for snapshot and more details if have any problem in understanding the above procedure.
For More Info on Juniper Olive on GNS3
Hello. Today, I will be showing you how to set up JunOS Olive in VirtualBox and get it added to GNS3. To accomplish this, you will need the following: 1. GNS3 - https://gns3.com/software 2. VirtualBox - https://www.virtualbox.org/wiki/Downloads 3. JunOS Olive - https://docs.google.com/uc?export=download&confirm=h4IB&id=0B0CNLUI2sBtRcU1Bb0FGWGNoeTQ (Yes, it's safe. I promise.) 4. OPTIONAL - GNS3 VM - https://gns3.com/software/download-vm Once you have everything downloaded, install GNS3 and VirtualBox (and optionally the GNS3 VM) like you normally would. I am not covering those installations here but there are plenty of guides on them if you Google around. Once they are installed, launch VirtualBox and GNS3. Now, lets start in VirtualBox. Click on 'File' then 'Import Appliance'. On the next screen click the folder icon to the right and navigate to where you have the JunOS Olive Appliance saved. Double-click o