Professional Documents
Culture Documents
UNOS On GNS3 Through Qemu: Steps
UNOS On GNS3 Through Qemu: Steps
Qemu
November 26, 2013
Hi everyone, last week I was trying for the junOS on GNS3, first I try VirtualBox, but it didn’t
workout for me, eventually I find some link and thought to come with the complete blog with
Qemu on GNS3, reference is pasted at the bottom of the blog, thank you.
https://kickass.to/junos-binary-image-ready-for-qemu-gns3-t7523827.html
Steps:
1- extract the zipped files , you will get a 2.9 GB img file size
VIP note :
if you want ta add multiple juniper routers, you have to make multiple copies of the image with
different names
then from the GNS3 program right click on every juniper router -> configure -> Binary image
( but the path to another copy of the binary image
Initial configuration of junOS is done by these steps:
Solution below
root> configure
Entering configuration mode
[edit]
root# commit
[edit]
'system'
Missing mandatory statement: 'root-authentication'
error: commit failed: (missing statements)
[edit]
root# set system root-authentication plain-text-password
New password:
Retype new password:
[edit]
root# commit
commit complete
Exercise 2 – edit
Let’s configure an IP address for the first interface on our JUNOS1 router using the edit
command. Place yourself at the following level: interfaces em0 unit 0 family inet. em0 is the
name for our first interface, give it this IP address and mask: 192.168.1.1/24
Solution below
[edit]
root@JUNOS1# edit interfaces em0 unit 0 family inet
Solution below
[edit]
root@JUNOS1# commit check
configuration check succeeds
[edit]
root@JUNOS1# commit
commit complete
Exercise 4 – telnet
Now we would like to configure telnet (SSH would be a better choice as it is secured) to
remotely configure JUNOS2 from JUNOS1. First check that nothing is configured under system
services level while staying at your current level (hint: use top). Then edit that level without
going back to the top level. Configure telnet with the set command, exit to the top level, check
what you are about to change and finally commit.
Solution below
[edit]
root@JUNOS2# show | compare
[edit system]
+ services {
+ telnet;
+ }
[edit]
+ interfaces {
+ em0 {
+ unit 0 {
+ family inet {
+ address 192.168.1.2/24;
+ }
+ }
+ }
+ em1 {
+ unit 0 {
+ family inet {
+ address 10.1.1.2/8;
+ }
+ }
+ }
+ }
[edit]
root@JUNOS2# commit
commit complete
References:
http://www.sadikhov.com/
http://www.gns3.net
http://proximacentauri360.blogspot.in