It is currently Sat Feb 04, 2012 2:51 am


All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: offer - JUNOS with GNS3 on Fedora Linux- video
PostPosted: Tue Feb 09, 2010 4:48 pm 
Offline

Joined: Mon Nov 10, 2008 10:31 am
Posts: 441
Location: Slovakia
Hi guys,
here are videos how to setup Juniper in GNS3. It contains Qemu compilation, FreeBSD and JunOS installation, networking Juniper, junos upgrade and GUI installation.
Not detailed How to - just recorded desktop during setup.
You can play videos with VLC player.

OS: Linux - Fedora 11
Junos: jinstall-8.5R1.14-domestic-signed.tgz
Junos GUI: jweb-9.6R1.13-signed.tgz
Qemu: qemu-0.11.tar.gz
FreeBSD: 4.11-RELEASE-i386-miniinst.iso

Qemu compilation, FreeBSD and JunOS installation, Networking Juniper
Quote:
http://www.4shared.com/file/G1aRHRfY/qemu_compilation.html
Size:25902 KB
Quote:
http://www.4shared.com/file/LthGd5Ik/FreeBSD_installation.html
Size:17948 KB
Quote:
http://www.4shared.com/file/caucgCB7/junos-installation.html
Size:46361 KB
Quote:
http://www.4shared.com/file/LUePkiv8/configuration-part1.html
Size:5154 KB
Quote:
http://www.4shared.com/file/eAeec4B6/configuration-part2.html
Size:5386 KB

Upgrade from 8.5R1.14 to 9.6R1.13 junos
Quote:
http://www.4shared.com/file/wqu0Z_N2/junos-upgrade.html
Size:62596 KB

GUI- jweb-9.6R1.13-signed.tgz -installation
Quote:
http://www.4shared.com/file/rCT29Hiz/junos-install-gui.html
Size:23344 KB

Thanks developers for wonderful opportunity to play with Juniper in GNS3

UPDATE: There is a mistake in Qemu installation video:
You should use "yum install libpcap libpcap-devel" instead of "yum install libcap libcap-devel" or you get this error message after "make" command:
/usr/bin/ld: cannot find -lpcap
collect2: ld returned 1 exit status
make[1]: *** [qemu] Error 1
make: *** [subdir-i386-softmmu] Error 2





_________________
Brezular

http://brezular.wordpress.com


Top
 Profile  
 
 Post subject: Re: offer - JUNOS with GNS3 on Fedora Linux- video
PostPosted: Sat Mar 06, 2010 10:00 am 
Offline

Joined: Mon Nov 10, 2008 10:31 am
Posts: 441
Location: Slovakia
Hi,
there is not kqemu installation in video. I highly recommend using kqemu to speed up your virtualization.
Check if kqemu is installed on your system:

[brezular@Comp8510w ~]$ rpm -qa | grep kqemu
kmod-kqemu-2.6.30.10-105.2.23.fc11.i586-1.4.0-0.2.pre1.fc11.28.i586
kmod-kqemu-1.4.0-0.2.pre1.fc11.28.i586
kqemu-1.4.0-0.4.pre1.fc11.noarch

If you don't see output, install kqemu with "yum install kmod-kqemu" and check if modul is loaded in kernel.

[brezular@Comp8510w ~]$ lsmod | grep kqemu
kqemu 121984 0

If you see nothing, load modul to kernel with "modprobe kqemu" and you will see that /dev/kqemu is created. Check it:

[brezular@Comp8510w ~]$ ls -l /dev/kqemu
crw-rw-rw- 1 root root 10, 58 2010-03-06 10:03 /dev/kqemu

Don't forget to check "Use Kqemu" in Preferences -> Qemu -> JunOS.

UPDATE: Kqemu is available only up to Qemu version 0.11.x. For Qemu ver 0.12.x use hardware virtualization (kvm) only.
: -) Thanks

_________________
Brezular

http://brezular.wordpress.com


Top
 Profile  
 
 Post subject: Re: offer - JUNOS with GNS3 on Fedora Linux- video
PostPosted: Sat Apr 10, 2010 11:30 pm 
Offline

Joined: Mon Nov 10, 2008 10:31 am
Posts: 441
Location: Slovakia
Vlan tagging - Cisco with Juniper

Quote:
http://www.4shared.com/audio/1-CpAfEq/vlan_tagging.html

Size: 2222 KB

_________________
Brezular

http://brezular.wordpress.com


Top
 Profile  
 
 Post subject: Re: offer - JUNOS with GNS3 on Fedora Linux- video
PostPosted: Tue Apr 13, 2010 6:27 am 
Offline

Joined: Mon Nov 10, 2008 10:31 am
Posts: 441
Location: Slovakia
Hi,

1) I was lucky to make clean install JunOS 10.1R1.8 on FreeBSD 4.11 on Qemu. I allocated 16GB image for FreeBSD installation. I made following partitions on FreeBSD.

ad0s1a / 4096M
ad0s1b swap 4096M
ad0s1e /config 1024M
ad0s1f /var 7167M

Olive-base.img is 2.4 GB.

2) I was also successful with upgrade from JunOS 9.6R1.13 to 10.1R1.8. In this case olive-base.img has 4.8 GB

I haven't had time for more testing but it seems that both images run OK in GNS3 0.7.

_________________
Brezular

http://brezular.wordpress.com


Top
 Profile  
 
 Post subject: Re: offer - JUNOS with GNS3 on Fedora Linux- video
PostPosted: Sat Apr 24, 2010 1:06 am 
Hello,
Thank you so much for the wonderful videos. I was able to complete until 'JunOS installation'. But when I use GNS3, I am able to start my Juniper routers. But I could not console or telnet into them. If you could post a write up or video explanation on how you set up GNS3,Qemuwrapper,etc, it would be great. Thanks and appreciate your help on this.


Top
  
 
 Post subject: Re: offer - JUNOS with GNS3 on Fedora Linux- video
PostPosted: Sun Apr 25, 2010 10:24 am 
Hi Brezular, you say that you have created an Olive image from JunOS 10.1R1.8. Did you use the EXACT same procedure as Jeremy's http://blog.gns3.net/2009/10/olive-juniper/ .???

I have tried using this method allocating a 16GB image for FreeBSD as per your post but it is not working.

Many thanks.


Top
  
 
 Post subject: Re: offer - JUNOS with GNS3 on Fedora Linux- video
PostPosted: Sun Apr 25, 2010 10:58 am 
Offline

Joined: Mon Nov 10, 2008 10:31 am
Posts: 441
Location: Slovakia
mgovindarajan wrote:
Hello,
Thank you so much for the wonderful videos. I was able to complete until 'JunOS installation'. But when I use GNS3, I am able to start my Juniper routers. But I could not console or telnet into them. If you could post a write up or video explanation on how you set up GNS3,Qemuwrapper,etc, it would be great. Thanks and appreciate your help on this.


I followed Jeremy's excellent "How to" on gns3 blog where the steps are very good explained. So I don't think is necessary to create new tutorial. Please have a look at:

Quote:
http://blog.gns3.net/2009/10/olive-juniper/


If you think that your image is OK and problem comes from GNS3 you can still test your olive-base.img without GNS3. Just type this command in terminal and you will run QEMU directly (without GNS3):

/usr/local/bin/qemu -m 256 -hda olive-base.img -boot c -localtime -nographic -serial stdio

If you don't see a login prompt after your Juniper boots your image isn't probably OK and you must create it again.

Good luck.

_________________
Brezular

http://brezular.wordpress.com


Top
 Profile  
 
 Post subject: Re: offer - JUNOS with GNS3 on Fedora Linux- video
PostPosted: Sun Apr 25, 2010 11:22 am 
Offline

Joined: Mon Nov 10, 2008 10:31 am
Posts: 441
Location: Slovakia
agostini01 wrote:
Hi Brezular, you say that you have created an Olive image from JunOS 10.1R1.8. Did you use the EXACT same procedure as Jeremy's http://blog.gns3.net/2009/10/olive-juniper/ .???

I have tried using this method allocating a 16GB image for FreeBSD as per your post but it is not working.

Many thanks.


Hi,
yes, I used the exact same procedure as Jeremy on his blog. 16 GB per image and size of partitions as I showed in the post worked OK for me.

I try to create 10.1R1.8 image both with upgrade from 9.6R1.13 version and clean install 10.1R1.8 version. As I remember I had to use minimum 512 MB RAM for installation (upgrade).

Firstly I tried to create 8GB image with these size of partitions for clean install of Junos 10.1R1.8 but I wasn't successful:

ad0s1a / 2048M
ad0s1b swap 2048M
ad0s1e /config 200M
ad0s1f /var 3895M

I remember that I got some error messages after installation and during the boot of new Juniper it crashed.

Cheers

_________________
Brezular

http://brezular.wordpress.com


Top
 Profile  
 
 Post subject: KVM virtualization with Intel processor
PostPosted: Wed Jun 09, 2010 10:07 am 
Offline

Joined: Mon Nov 10, 2008 10:31 am
Posts: 441
Location: Slovakia
Hi,

I had a problem to setup kvm for hardware virtualization of FreeBSD wirh JunOS or Linux QemuHost on Fedora 13. After short troubleshooting I realized that the Virtualization was disabled in BIOS by default . These are my steps I used for running KVM.

1. Make sure if your processor supports hardware virtualization:
egrep '(vmx|svm)' --color=always /proc/cpuinfo

If you see "vmx" your processor is Intel or "svm" if it is AMD. If you see nothing your processor doesn't support hw virtalization and you can use Qemu and Kqemu but not KVM.

2. Check if file /dev/kvm exists
ls -l /dev/kvm
crw-rw-rw-+ 1 root kvm 10, 232 Jun 9 10:02 /dev/kvm

If there is a message "cannot access /dev/kvm: No such file or directory" go to step 3.If you see the output above go to GNS3-> Preferences-> JunOS and enable "Use KVM (Linux Only)" option. I noticed if I had KVM checkbox enabled in GNS3 and KVM support disabled in BIOS (or KVM isn't supported by the processor) I couldn't log to JunOS or QemuHost (even the Qemu and Kqemu was installed) and a error message about kvm appeared in the Qemuwrapper.py output.

3. Check if module kvm and kvm_intel are loaded in kernel
lsmod | grep kvm
kvm_intel 34553 0
kvm 213094 1 kvm_intel

When Virtualization is disabled in BIOS, module kvm_intel is not loaded (and of course you can't see this modul in the output of lsmod). Then you can try to load module "kvm_intel" with modprobe kvm_intel command as root but you probably get error message. After this if there is not an error message go back to step 2. If there is an error message go to step 4.

4. Check kernel messages about kvm
dmesg | grep kvm

When Virtualization is disabled in BIOS you should see something like "KVM: disabled by BIOS". If yes, go to step 5. If there is nothing in the output you should install packages for kvm utilization. For list of necessary packages read a first link in a More section.

5. Enable hardware virtualization in BIOS

Restart PC and go to BIOS (F10 in my case). Enable Virtualization and power off PC. I couln't run KVM even I enabled it in BIOS until I completely power off PC.
Go to step 2 ;-)

More at:
Quote:
http://www.techotopia.com/index.php/Running_Windows_on_Fedora_Using_KVM_Virtualization#KVM_System_Requirements

Quote:
http://www.linux-kvm.org/page/FAQ

Quote:
http://wiki.centos.org/HowTos/KVM

_________________
Brezular

http://brezular.wordpress.com


Top
 Profile  
 
 Post subject: Re: offer - JUNOS with GNS3 on Fedora Linux- video
PostPosted: Wed Jun 09, 2010 10:27 am 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 797
BTW I put your videos on http://gns3.net/documentation .





_________________
Jeremy
GNS3 Staff


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO