Olive is a machine that run JunOS not in Juniper machine. Not like Cisco IOS that haveDynamipsas ready to use IOS simulator, there is no ready to use JunOS simulator. Fortunately, JunOS runs on top of FreeBSD machine, so that we can simulate by install it on FreeBSD machine. So, to whom that want to learn JunOS, or want to take JNCIE :), but do not have Juniper machine, Olive is the solutions. This procedure will explain how to install JunOS in VMWare or Olive.
Here are you need to prepare, FreeBSD image, VMWare, and Junos image itself. Follow steps below for installing Olive. 1. Installing FreeBSD Using VMWare
Download FreeBSDhere. Download JunOS image, just googling to find it.
Install FreeBSD in VMWare. I create 3 Gb as virtual disk. Later, we will upgrade to Junos 9.x that need 3 Gb minimum virtual harddisk.
Choose Skip Kernel Configuration Choose Express
Choose A (Use Entire Disk). Choose Q (Quit).
Choose C (create).
Fill 500M, FS (FIle System), fill / on partition.
Fill 500M, Swap.
Choose C, Fill 100M, fill /config on partition.
Choose C, use all rest of space, fill /var/tmp on partition.
Click Q (Finish).
Choose CD/DVD. Choose Yes on answer.
Choose yes again.
Choose Root password. Fill with your root password.
Choose networking, Choose Em0.
Choose Interfaces. Choose em0.
Choose no for IPv6
Choose No for DHCP if ypu plan to configure static IP.
Fill your network configuration.
Choose Exit Install. 2. Installing Junos image
a. Copy JunOS image to FreeBSD virtual machine. Setup your FTP server, then use FTP to copy Junos image from your FTP server to your virtual machine. One recomended free FTP Server is Cesar FTP Server. It is easy to use. Although it has not been developed again, but it still can be downloaded. After setup your account and directory, do ftp from your virtual machine. Set your virtual machine directory to /var/tmp.
b. Installing JunOS image. Login to your FreeBSD virtual machine. Go to /var/tmp directory.
Reboot your machine to finish Junos installation. 3. Getting Access to Olive Using Virtual Serial Port.
Once you reboot your Olive after installing your Junos software, you won't get access to your Olive. To get access to your Olive, you need to use serial port and Virtual Serial Port Driver. You can getVirtual Serial Port Driversoftware from Eltima Software. Accessing Olive using serial port:
a. Create serial port pair using Virtual Serial Port Driver software
b. Add serial port in Olive, using serial port have been made before in Virtual Serial Port Driver.
Click Add. Choose Serial Port. Use Physical Serial Port on the host. Choose serial port have been made using Virtual Serial Port Driver.
Use your favourite software to access to Junos through serial port. 4. Upgrade to Junos 8.x
In order the ethernet card detected by Junos, you need to upgrade to Junos 8.x. Because this time ethernet can not be detected, you can not use FTP to copy Junos image. You need to create other FreeBSD virtual machine, copy Junos image to that. Add your second virtual machine as second IDE in your Olive.
Mount your second drive. For example, if you copy Junos image in first partition of your second virtual machine, the do this
mount /dev/ad1s1a /mnt
Then copy Junos image to /var/tmp/ directory. Goto to /var/tmp/, then install new Junos image
Reboot to complete upgrade.
shutdown -r now
After booting process, ethernet card can be detected, and you can start playing your Junos Olive with networking function. 5. Upgrade to Junos 9.x
In order to access Olive from VMWare console, you need to upgrade to Junos 9.x. To upgrade to Junos 9.x, set SCSI to FALSE (in VMWAre configuration file), then set memory to 512M minimum value. After upgrade, you can set memory back to 256 M or even 128M.