Pages

network cisco ccna gns3 certification arteq

network cisco ccna gns3 certification arteq
a network runs through it

Search insearchofthecert

Wednesday, August 8, 2012

junos in gns3...

 step by step...

this is based on http://www.youtube.com/watch?v=f4ZNqcu-a4o

most excellent guide for performing this tricky install...

as the video points out, you need qemu 0.11 you can get from gns3.net (windows all in one is best)
a bsd iso (4.4-mini-iso in this example)
and a juniper.bin (10.1R1.8)

my thrust in doing this is to smooth some of the rough patches and to also assemble the later unix commands as

text strings so i don't have to keep rewinding the video... if you figure out how to scrape the commands in, let

me know... you should definitely be familiar with ezzin's video which you can find here...

http://www.youtube.com/watch?v=f4ZNqcu-a4o

and don't forget to thank ezzin for this amazing effort...

sets parameters for olive image from qemu directory

qemu-img.exe create j10.img -f qcow2 6G formatting 'j10.img', fmt=qcow2 size=6442450944 encryption=off

cluster_size=0

place mini bsd into qemu folder, then bring it into qemu with:

qemu.exe -L . -m 256 -hda j10.img -boot d -localtime -cdrom 4.4-mini.iso

now it's pucker time...

at kernel config menu choose

skip kernel config and continue with install

remember ctrl-alt gets your mouse back

next screen choose express

fdisk partition part, kind of scary, you are building a 6G partition for olive only, so don't be alarmed, notice

it says 6143MB in upper right corner...

to choose A (use entire disk, meaning the 6G you are partitioning) enter A then Q... counterintuitive...

A then Q... if you just press A without Q, you'll sit there looking at it... A then Q...

choose standard mbr

create partitions for the partition, use C

1. enter 2048M, type FS, /
2. enter 1024M, type swap
3. enter 100M, type FS /config
4. give the rest as type FS to /var

good


again, counterintuitive,


press Q


next screen select 8 (user) by scrolling down and hitting the space bar to X it


next screen, no to free bsd ports

brings you back, X is still in user, scroll up to exit, enter

accept 1 cd/dvd

next screen warning... go for it, yes, because you are sure...

now be patient... it is important to let it build it's file system... later, there will be times that you will

have to wait for the prompt to come back... WAIT FOR THE PROMPT TO COME BACK... did i mention WAIT FOR THE PROMPT

TO COME BACK before inputting any keystrokes...

after building, visit the general configuration menu to set the root password YES

scroll to root password and set a root password

back to config menu
exit, exit install...

ctrl-alt-2 then at qemu prompt Q

it goes away, breathe in...

seems odd, just do it...

now you have to make a cd image of the juno.bin... like ezzin, i used 10.1R1.8

why?  BECAUSE HE MADE IT WORK WITH THAT FILE...

follow the procedure on the video for burning the image...

let me know when you're done...

time to boot the iso

PUT THE ISO IN THE DIRECTORY THAT CONTAINS QEMU

qemu -L . -m 256 -boot c -hda j10.img -cdrom j10.iso

login as root

now the fun begins...

mount /cdrom

mkdir /var/tmp/j/

cd /var/tmp/j/

tar zxvf /cdrom/jinstall-10.1R1.8-domestic-olive.tgz

now wait for the prompt... WAIT...

mkdir pkgtools

cd pkgtools

tar zxfv ../pkgtools.tgz

cd bin

cp /usr/bin/true ./checkpic

cd ..

tar zcvf ../pkgtools.tgz *

cd ..

rm -rf pkgtools

tar zcfv ../junos.tgz *

wait for the prompt

pkg_add -f /var/tmp/junos.tgz

wait for the prompt

init 6

ctrl-alt-2

Q from qemu prompt

i know, it just seems wrong but...

now for telnet...

i have windows 7 so i use putty, but prep qemu with this telnet command first

qemu -L . -m 512 -hda j10.img -serial telnet:127.0.0.1:1001,server,nowait,nodelay -localtime

then launch putty using the telnet setting, 127.0.0.1 and port 1001...

it takes a while, but it will come up... let it cook... have at it...

No comments:

Post a Comment