Jump to content
revsec

Juniper JunOS Olive 12.1R1.9 for GNS3

Recommended Posts

hsol7d.png

 

 

use login root to log in router

 

download:

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

Happy learning!

Edited by revsec
  • Like 28
  • Thanks 1

Share this post


Link to post
Share on other sites

What GNS options do you recommend? I've added img to GNS, run in and got stuck in Unix shell: [email protected]%

 

So I had to enter "cli" in order to launch junos shell. FYI.

 

Because junOS based on FreeBSD...

so you have to put command "cli" before login into command line.

Share this post


Link to post
Share on other sites

hi,

 

i don't understand how to configure gns for junos

can someone explain deeply?

 

thanks!

Share this post


Link to post
Share on other sites

NirL,

 

I assume you're using windows, you have VirtualBox installed and in GNS preferences in "VirtualBox" option (on the left, first from the bottom) you have successfully tested the settings (first button from the bottom - "Test Settings", after clicking it you should see green text information that VBoxWrapper and VirtualBox API have successfully started).

 

First convert image downloaded in this topic to vdi format, i.e.:

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

Now you have VirtualBox disk image created. In VirtualBox create new machine with this disk - click "new", give a name to machine and select BSD->FreeBSD as operating system. Give it at least 256MB of RAM. When prompting for disk select use the last option ("use an existing virtual hard drive file") and show the vdi file you created above. After creating the virtual machine you can go to settings and uncheck "enable" in first interface card (so every interfac in router will be up/down, otherwise first em interface would be up/up).

 

Now back to GNS3. In second tab ("VirtualBox Guest") you should enter a identifier name (it can be i.e. "juniper" or whatever you want), virtual machine you've just created in VirtualBox should be on VM List (if it's not there click Refresh VM List), choose number of interface cards (i.e. 6). Click on checkboxes: "do not use 1st nic...", "enable console support" (you will be using putty to console to a router) and "start in headless mode" (if you don't want VirtualBox to show the GUI window of virtual machine).

Now in GNS topology just drag-and-drop VirtualBox guest to topology - if you have only 1 it will be juniper, if you have more (i.e. LiSA switch or something else) a window will pop up and you will be able to choose what you want to add to topology. Start the machine, right click and select "console" to see how OS boots up and configure the device. If you want to change the icon in topology use it before booting up (right click -> change symbol) and remember that you must do all the connections also before boot. Also - e1 in GNS topology = em0 on device, e2 = em1 etc.

 

I'm not sure but probably you will have to create VirtualBox machine for every router you'd like to use in topology (6 routers - 6 virtual machines in VirtualBox and in GNS3 VirtualBox guests). If you used .vdi file in virtualbox machine already you can't simply make a copy of this file and create next virtual machine using this new created file (some kind of VirtualBox error appear). To make more than one machine simply convert img to vdi one more time or make several .vdi files from .vdi not used in virtualbox machine. To make it simple, the best way is (at least in my opinion

Hidden Content

    Give reaction to this post to see the hidden content.

1. convert .img to .vdi

2. make X copies of .vdi file with different names

3. create X VirtualBox machines with different names using different .vdi files.

4. Create X VirtualBox Guests in GNS3 with different names.

 

Hope this helps. Good luck.

Edited by mastapepe
  • Like 2

Share this post


Link to post
Share on other sites

**edit**

ok i solved it

sorry

**edit**

now i can't ping to any address

if i try to ping i get this msg

 

root> ping 192.168.1.1

PING 192.168.1.1 (192.168.1.1): 56 data bytes

ping: sendto: Can't assign requested address

ping: sendto: Can't assign requested address

ping: sendto: Can't assign requested address

 

root# run ping 127.0.0.1

PING 127.0.0.1 (127.0.0.1): 56 data bytes

ping: sendto: Can't assign requested address

 

what is the problem?

Edited by NirL

Share this post


Link to post
Share on other sites

hi,

 

i don't understand how to configure gns for junos

can someone explain deeply?

 

thanks!

 

You could use VirtualBox, but this image is made for Qemu, so the simplest way is to use it directly with Qemu in GNS3.

 

1. Edit -> Preferences

2. Select Qemu in menu to the left.

3. Click Test Settings to assure that Qemu was correctly installed during GNS3 installation

4. Click Junos tab, select an identifier name and provide the downloaded Olive image in the Binary image field.

5. Click Save and then OK.

6. Drag a Juniper Router from the Node Types list out to the topology view.

7. Start the Juniper Router

8. Start playing! :)

Share this post


Link to post
Share on other sites

**edit**

ok i solved it

sorry

**edit**

now i can't ping to any address

if i try to ping i get this msg

 

root> ping 192.168.1.1

PING 192.168.1.1 (192.168.1.1): 56 data bytes

ping: sendto: Can't assign requested address

ping: sendto: Can't assign requested address

ping: sendto: Can't assign requested address

 

root# run ping 127.0.0.1

PING 127.0.0.1 (127.0.0.1): 56 data bytes

ping: sendto: Can't assign requested address

 

what is the problem?

 

Anyone who is running into the same problem and does not know how to work around here: After you dragged the router to the GNS3 topology sheet, right click on the router, select configure and set the "Nic model" to e1000! Mine was preassigned to "Automatic" - which didn't seem to work ... Took me a while to figure out ...

Share this post


Link to post
Share on other sites

Thanks. Great share. One question thou, is it possible to install jweb on this version,

i've tried jweb-10.4R3.4-signed, first of all i needed to increase RAM for this device, as it asks for at least 512 MB, while the default ram value is 96.

But then when i'm trying to install the package i'm getting:

 

root> request system software add /var/tmp/jweb-10.4R3.4-signed.tgz

NOTICE: Validating configuration against jweb-10.4R3.4-signed.tgz.

NOTICE: Use the 'no-validate' option to skip this if desired.

Checking compatibility with configuration

Initializing...

Using jbase-12.1R1.9

Verified manifest signed by PackageProduction_12_1_0

Verified jbase-12.1R1.9 signed by PackageProduction_12_1_0

 

Using /var/tmp/jweb-10.4R3.4-signed.tgz

Verified jweb-10.4R3.4.tgz signed by PackageProduction_10_4_0

Using jweb-10.4R3.4.tgz

WARNING: Package 'jweb' is not compatible with package 'jroute':

WARNING: The configuration database layout is incompatible

WARNING: (jweb:26.1 != jroute:27.1)

ERROR: validate-config: jweb/+REQUIRE fails

WARNING: Current configuration not compatible with /var/tmp/jweb-10.4R3.4-signed.tgz

Edited by jabbs0n

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...