Showing posts with label juniper olive. Show all posts
Showing posts with label juniper olive. Show all posts

How To Install Olive 12.1R1.9 With Qemu

Posted by Ahsan Tasneem | 3:37 AM | , , , , , | 0 comments »

The article describes installation of Junos 12.1R1.9 on emulated x86 hardware. Hardware is emulated by Qemu and Junos installed on it is known as Olive.
As Olive does not have Packet Forwarding Engine PFE attached, packet forwarding is exclusively depending on performance of the host CPU. In addition, they are also configurations known as not working on Olive. Considering these limits, Olive can never substitute real Juniper hardware.
In spite all of that Olive is an excellent tool for testing configurations that can be later deployed on real Juniper hardware. Thanks to GNS3 project that offers lightweight GUI for Qemu, complex labs can be easily deployed without real need of knowing Qemu commands.
My goal was to rewrite these articles for actual Junos 12.1R1.9 version and create a guide that helps you to install Junos. Please use links above if you feel that you need to clarify details or further explanation.

JUNOS OLIVE 12.1R1.9 VMware/Qemu for GNS3

Posted by Ahsan Tasneem | 3:19 AM | , , , , , , | 4 comments »

First download JunOS Olive 12.1R1.9 and setup all requirement http://certcollection.org/forum/topic/150241-juniper-junos-olive-121r19-for-vmwareqemu/ 
Note: you can also download from some other link by searching on google if this link is found inactive

then download StarWind V2V Converter
http://www.starwindsoftware.com/converter

Step 1

Step By Step Guide To Install JunOS Olive in VMWware Fusion

Posted by Ahsan Tasneem | 2:39 AM | , , , , , , | 0 comments »

Tested with VMWare Fusion Version 3.1.2 and JunOS 10.4.R3.

Requirements
VMWare Fusion #should also work with VMWare Workstation
FreeBSD 7.1
JunOS M-, MX- oder T-Series Router Firmware

Disc (8GB) Partition overview:
ad0s1a / 1024M
ad0s1b swap 1024M
ad0s1d swap 24M
ad0s1e /config 12M
ad0s1f /var the rest

Command summary to prepare the original JunOS Image to an Olive Image:

How To - Step By Step Installation of JunOS on GNS3 [Part 4]

Posted by Ahsan Tasneem | 11:08 PM | , , , , , , , , , , , , , , , , , , | 0 comments »


Testing

To check if everything work, let’s configure 2 Olives:
root@%cli
root>edit
[edit]
root#

[edit]
root#set system root-authentication plain-text-password
New password:
Retype new password:

[edit]
root#set interfaces em0 unit 0 family inet address 10.0.0.1/8
[edit]
root#commit
commit complete
Configure the other device using the same commands but with another IP address (e.g. 10.0.0.2/8) and ping.

How To - Step By Step Installation of JunOS on GNS3 [Part 3]

Posted by Ahsan Tasneem | 11:06 PM | , , , , , , , , , , , , , , , , , , | 1 comments »

Updating JunOS
You can update your version of JunOS from the CLI with the following command:

request system software add [jinstall_package]

Running your router(s)
Now you have a base olive image. Qemu allows you to use this as a base for other images and only writing the changes to your “slave” images saving on disk space! You can also use less memory for each Qemu instance.
Create a new image off of your base image. Repeat for all your routers you want to emulate:

qemu-img create
-b olive-base.img -f qcow2 R1.img

Start your router and then telnet to it:
2001 Once logged in, you can type “cli” to launch the JunOS command line interpreter, exit to … exit and halt to shutdown FreeBSD. Remember to kill your qemu instance(s).
qemu R1.img -m 96 -nographic -daemonize -serial telnet::2001,server,nowait \
-localtime -net nic,macaddr=00:aa:00:60:01:01,model=e1000 -net user telnet localhost


How To - Step By Step Installation of JunOS on GNS3 [Part 2]

Posted by Ahsan Tasneem | 10:24 PM | , , , , , , , , , , , , , , , , | 3 comments »

FreeBSD installation

Now that we have qemu installed, we can create the image for installing FreeBSD. Run this command to create it and allocate 4 GB:
qemu-img create -f qcow2 olive-base.img 4G
Launch Qemu to install FreeBSD on the image:
qemu -m 256 -hda olive-base.img -cdrom 4.11-RELEASE-i386-miniinst.iso \
-boot d -localtime
Qemu window will pop up (remember, by default press CTRL + ALT to release the cursor in Qemu):


freebsd_install_1



How To - Step By Step Installation of JunOS on GNS3 [Part 1]

Posted by Ahsan Tasneem | 10:22 PM | , , , , , , , , , , , , , , , , | 7 comments »

This article explain you how to emulate Juniper JunOS on a PC using Qemu. This is an updated and enhanced version of excellent howtos from Juniper Clue and Internetwork Pro as well asHimawan Nugroho’s blog. I mainly focused on Qemu, so if you wish to install JunOS on a real PC or using VMware, please have a look at the Juniper Clue article for more information (and of course Google).

So what’s new you would say? First, I chose to use the latest version of Qemu: the 0.11.0 which supports the Intel e1000 network card emulation since version 0.10.0. and includes several fixes for it. I have modified and adapted the old patch for Qemu 0.11.0, it includes the UDP tunnel (connection to Dynamips/GNS3), PCAP and LCAP support. Also, the patch allows multicast traffic with the e1000, i82557b and i82559er Qemu emulated network cards. Moreover, this article show how to emulate JunOS on multiple operating systems: Mac OS X, Windows XP and Linux Ubuntu 9.04 without using an untrustworthy obscure binary downloaded from a forum you can’t even read the language 


How To - Multiple Olives On One Box Using Vmware

Posted by Ahsan Tasneem | 11:04 AM | , , , , , | 0 comments »

Creating virtual serial ports for telnet access (so no physical com port access required)...
Having one Olive box is great for CLI familiarity but multiple Olives interacting with each other is the only way to really get to grips with the routing protocols and route filtering techniques. Once one Olive session is fully built, it's a piece of cake to mirror this so you can have 2 or 3 or more (resources dependant) on one box. The main limiting factor of this approach is the lack of physical serial ports on the server. Mine only has a single COM1. To get round this, I used the FREEWARE
HW Virtual Serial Port v2.5.10 software from HW-group. Using the command line (or creating shortcuts in the Windows user profile startup folder so it was persistent), I created 3 new virtual serial ports that were setup as telnet servers (COM2 on port 2009, COM3 on port 2010, COM4 on port 2011) so I can telnet to these and be "attached" to the various Olive console ports. Yes, this does mean my doctoring of the cable above was interesting, but not entirely necessary.


How To - Installation of J-Web (Allows Web Based Administration Of Olive)

Posted by Ahsan Tasneem | 5:35 PM | , , , , , , , , | 0 comments »

J-series Juniper routers automatically come bundled with J-Web (click here for the complete J-Web 8.3 PDF user guide - 1.81 MB). When an Olive is built, the software believes it is an M series device, and does not install J-Web, however if you have the install module, it's a piece of cake. I have installed J-web 8.3 to each of my Olive virtual machines and the process is as follows:

How To - Install JunOS on Vmware [Updated]

Posted by Ahsan Tasneem | 10:09 PM | , , , , | 1 comments »

Olive is a machine that run JunOS not in Juniper machine. Not like Cisco IOS that have Dynamips as 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. 



HOWTO: Juniper Olive using VMware

Posted by Ahsan Tasneem | 10:26 PM | , , , , | 6 comments »



I recently joined a new company, I have been asked to start certifying myself for Juniper Networks. My goal for next year is to become JNCIA, JNCIS & possibly JNCIP certified. Because I’ve already got allot of experience with the various protocols out there I don’t see getting the JNCIA & JNCIS certification to be an issue. For the JNCIP however, I need to really get my hands-on up to speed. This is why I decided to install Olives again, but this time by making use of VMware and one really big computer

I hope you’ll find this guide usefull, if it is ever found out there
Because JUNOS software is not freeware, I will not make my virtual Olives available for download. You should be working for a company with a Juniper Networks support-contract so you can download JUNOS from their website.


Related Posts Plugin for WordPress, Blogger...