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:
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 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).
Networking your routers
Ok, one router it’s cool but useless alone. It’s time to make your virtual network! There are many ways to network your olive routers.
Olive to Olive using UNIX sockets
UNIX sockets create a TCP stream between two Qemu instances with one a client and the other a server. Apparently this method creates duplicate packets sometimes.
qemu R1.img -m 96 -nographic -daemonize -serial telnet::2001,server,nowait \ -localtime -net nic,vlan=1,macaddr=00:aa:00:60:01:01,model=e1000 \ -net socket,vlan=1,listen=:6000 qemu R2.img -m 96 -nographic -daemonize -serial telnet::2002,server,nowait \ -localtime -net nic,vlan=1,macaddr=00:aa:00:60:01:02,model=e1000 \ -net socket,vlan=1,connect=127.0.0.1:6000 |
Olive to Olive using UDP tunnels
UDP tunnels are mainly used to connect to Dynamips/GNS3 emulated routers but can also be used as a more reliable way to connect two Qemu olives together but this can result in much lower latency connections as well.
qemu R1.img -m 96 -nographic -daemonize -serial telnet::2001,server,nowait \ -localtime -net nic,vlan=1,macaddr=00:aa:00:60:01:01,model=e1000 \ -net udp,vlan=1,sport=10000,dport=10001,daddr=127.0.0.1 qemu R2.img -m 96 -nographic -daemonize -serial telnet::2002,server,nowait \ -localtime -net nic,vlan=1,macaddr=00:aa:00:60:01:02,model=e1000 \ -net udp,vlan=1,sport=10001,dport=10000,daddr=127.0.0.1 |
Olive to real world using TAP interface
One way to connect an interface on your Olive with a real Ethernet NIC is to use a bridge and the Qemu tap option.
Linux:
It is required that you have the generic TUN/TAP driver either built-in to your kernel, or available as a module. To check the availability of this module do the following:
ls -la /dev/net/tun |
If you get no such file or directory, try doing a modprobe tun. It should then appear in the lsmod output.
One way to connect an interface on your Olive with a real Ethernet port is to use a bridge and the net -tap option. This requires you to have the generic TUN/TAP driver either built-in to your kernel, or available as a module. To check the availability of this module do the following:
Let’s say you started the emulator with the following:
qemu R1.img -m 96 -nographic -daemonize -serial telnet::2001,server,nowait \ -localtime -net nic,vlan=1,macaddr=00:aa:00:60:00:01,model=e1000 \ -net tap,vlan=1,script=no |
Note the vlan=1 and -net tap options. This basically connects your Olive’s en0 to a virtual tap interface (usually tap0) on your host system. Start up Qemu, and once the emulator is running, proceed to the next step. You’ll need to start up the emulator as root, or change the ownership or permissions on /dev/net/tun.
We’re going to need to now bridge the tap0 interface to another Ethernet interface on the host system. To do this, we’ll utilize the bridge capabilities of Linux. First, get the bridge utilities:
sudo apt-get install bridge-utils |
Let’s assume you want to connect en0 on the Olive to eth1 on the host system.
Do the following as root:
brctl addbr br0 brctl addif br0 eth1 brctl addif br0 tap0 |
This creates a bridge device, br0, and binds the two interfaces to it. Right now everything is still down. Let’s bring it up…
ifconfig eth1 up ifconfig tap0 up ifconfig br0 up |
Now the bridge and member interfaces should be up. Don’t assign any IP addresses to either of the member interfaces. If you want to, you can assign something to br0 if needed. (br0 is analogous an SVI in the Cisco world) To see the status of the bridge, do the following:
brctl show
bridge name bridge id STP enabled interfaces
br0 8000.000cf19ce06c no eth1
tap0 |
Now, assign an IP address to the em0 interface on your Olive, and it should be online. You are also free to tcpdump on the bridge or member interfaces, for debugging. All of this can probably be put into a Qemu interface script, so you can remove the script=no option, and make it a little more automatic.
Your kernel might have ethernet filtering (ebtables, bridge-nf, arptables) enabled, and traffic gets filtered except ARP and STP. The easiest way to disable this is to go to /proc/sys/net/bridge. Check if the bridge-nf-* entries in there are set to 1; in that case, set them to zero and try again. More information on bridges available here.
# cd /proc/sys/net/bridge # ls bridge-nf-call-arptables bridge-nf-call-iptables bridge-nf-call-ip6tables bridge-nf-filter-vlan-tagged # for f in bridge-nf-*; do echo 0 > $f; done
Windows:
Using OpenVPN you can create several tap interfaces with “Add a new TAP-Win32 virtual Ethernet adapter” and rename them with something like ‘Tap1′, ‘Tap2′ and so on
Let’s say we have created 1 Tap interface and renamed it as Tap1. Right click this Tap1 interface on Windows Control Panel – Network Connections and give IP address for example 10.1.1.1/8.
Now you can start Qemu with the -net tap option and ping the interface from your Olive:
qemu -L . -m 96 -hda R1.img -localtime \ -net nic,vlan=1,macaddr=00:aa:00:60:01:01,model=e1000 \ -net tap,vlan=1,ifname=tap0 |
Mac OS X
On Mac OS X, download and install the TunTap package.
qemu R1.img -m 96 -nographic -daemonize -serial telnet::2001,server,nowait \ -localtime -net nic,vlan=1,macaddr=00:aa:00:60:00:01,model=e1000 \ -net tap,vlan=1,ifname=tap0,script=no |
We need to give this interface an ip address:
sudo ifconfig tap0 198.18.0.250/24 up |
Olive to real world using PCAP/LACP
In the patch provided in this howto, there is an option to use PCAP or LCAP libraries to bridge directly to a physical interface. You will probable need to run Qemu under Administrator privileges. Please also note that it will stop any other traffic on your interface.
For PCAP:
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 pcap,ifname=eth0 |
For LCAP:
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 lcap,ifname=eth0 |
Please note that you have to configure an IP address your physical interface before being able to communication between your routers. Also I didn’t test PCAP/LCAP on Windows.
Olive to Dynamips or Pemu
The lastest patch also added a udp option to allow networking to a Dynamips or pemu.
qemu R1.img -m 96 -nographic -daemonize -serial telnet::2001,server,nowait \ -localtime -net nic,vlan=1,macaddr=00:aa:00:60:00:01,model=e1000 \ -net udp,vlan=1,sport=10000,dport=10001,daddr=127.0.0.1 |
Then in your dynagen .net file
[[router Cisco1]] fa0/0=NIO_udp:10001:127.0.0.1:10000
Olive to GNS3
Under GNS3, you can create a “Cloud” and configure a NIO UDP (you can add as many NIO UDP as you want). The “Cloud” will be your interface between Olive and GNS3, you can link a firewall or a router per NIO UDP.
Of course, you can do the same with other NIOs like NIO TAP to connect to your olive using a TAP interface.

Hi, firs of all I would like to thank you! You made the best description of the procedure how to build the olive ever existed in the internet! Regarding your procedure I would like to confirm that some additional tasks is also required:
download the developer version of WinPCAP: http://www.winpcap.org/install/bin/WpdPack_4_1_1.zip
opy the contents of \lib and \include folders into \lib and \include folders of your MinGW installation location:
C:\MinGW\lib
C:\MinGW\include
If it is not difficult for you, could you please make a qemu 12.0-rc1 patch for olive? Or explain the procedure how to make it itself to not disturb you with this. THANK YOU once again!
Hi,
I can login in the routers but each router only has one interface i.e. em0. How do i get more interfaces on each router e,g, i would like to get 4 em0 interface on each router….i this possible….
Thanks
I got same problem as Tom above
When i run “./configure –target-list=i386-softmmu”, i get the following errors
“Error: zlib check failed
Make sure to have the zlib libs and headers installed.”
Zlib is installed.
Please can someone help urgently ?
Hi all
I manage to build the qemu image and ran the command :
qemu -m 256 -hda olive-based.img -boot c -localtime \ -net nic,macaddr=00:aa:00:60:01:01,model=e1000 -net user”
all look fine.
I get IP address 10.0.2.15 and can ping to 10.0.2.2 but I cant manage to copy the junos file to qemu.
I get :
ssh: connect to host 10.0.2.2 port 22: Operation time out
please help
I see PCAP support=no after executing the configure script:
amsoares@WINXP ~/qemu-0.11.0
$ patch -p1 -i qemu-0.11.0-olive.patch
(Stripping trailing CRs from patch.)
patching file Makefile.target
(Stripping trailing CRs from patch.)
patching file configure
(Stripping trailing CRs from patch.)
patching file hw/e1000.c
(Stripping trailing CRs from patch.)
patching file hw/eepro100.c
(Stripping trailing CRs from patch.)
patching file net.c
(Stripping trailing CRs from patch.)
patching file qemu-options.hx
amsoares@WINXP ~/qemu-0.11.0
$
amsoares@PT-AMSOARES ~/qemu-0.11.0
$ ./configure –target-list=i386-softmmu
Install prefix c:/Program Files/Qemu
BIOS directory c:/Program Files/Qemu
binary directory c:/Program Files/Qemu
Source path /home/amsoares/qemu-0.11.0
C compiler gcc
Host C compiler gcc
ARCH_CFLAGS -m32
make make
install install
host CPU i386
host big endian no
target list i386-softmmu
tcg debug enabled no
gprof enabled no
sparse enabled no
strip binaries yes
profiler no
static build no
-Werror enabled no
SDL support yes
SDL static link yes
curses support no
curl support no
mingw32 support yes
Audio drivers
Extra audio cards ac97 es1370 sb16
Mixer emulation no
VNC TLS support no
VNC SASL support no
kqemu support yes
xen support no
brlapi support no
Documentation no
NPTL support no
vde support no
AIO support no
IO thread no
Install blobs yes
KVM support no
fdt support no
preadv support no
PCAP support no
amsoares@WINXP ~/qemu-0.11.0
Of course, i want PCAP support. I saw this section in the patch file:
+ if test “$pcap” = “yes” ; then
+ pcap=no
+ cat > $TMPC << EOF
+ #include
+ int main(void) { return pcap_lib_version(); }
+ EOF
+ if $cc $ARCH_CFLAGS -o $TMPE $PCAPLIBS $TMPC 2> /dev/null; then
+ pcap=yes
+ fi
+ fi
+
I’m not a programmer but it seems pcap will always be equal to “no” and thus the output i see after executing the configure script. What is the workaround for this ? I followed the steps in this tutorial and also copied the files from WpdPack_4_1_1.zip to the minGW directories.
There’s another section in the patch mentioning a file that does not exist:
if test “$mingw32″ = “yes” ; then
+ PCAPLIBS=”-lwpcap”
if test -z “$prefix” ; then
prefix=”c:/Program Files/Qemu”
fi
The WpdPack_4_1_1.zip contains a file called libwpcap.a and another one called wpcap.lib. Do we need to rename some files ?
Having issues getting my Juniper router up and running and I keep seeing that the error:
“could not communicate with the qemuwrapper server localhost” Below is what I believe to be the output. Any suggestions would be greatly appreciated
Qemu Emulator Wrapper (version 0.2.5)
Copyright (c) 2007-2009 Thomas Pani & Jeremy Grossmann
Unpacking pemu binary.
Qemu TCP control server started (port 10525).
Connection from (‘127.0.0.1′, 51621)
Connection from (‘127.0.0.1′, 51622)
Shutdown in progress…
Shutdown completed.
Qemu path is now .
!! JUNOS1.console = 3000
!! JUNOS1.netcard = e1000
!! JUNOS1.image = C:\Documents and Settings\All Users\Documents\Junos\jinstall-9
.6R2.11-domestic-signed.tgz
!! JUNOS1.ram = 96
!! JUNOS1.kqemu = True
—————————————-
Exception happened during processing of request from (‘127.0.0.1′, 51622)
Traceback (most recent call last):
File “SocketServer.pyc”, line 558, in process_request_thread
File “SocketServer.pyc”, line 320, in finish_request
File “SocketServer.pyc”, line 615, in __init__
File “qemuwrapper.py”, line 383, in handle
File “qemuwrapper.py”, line 433, in handle_one_request
File “qemuwrapper.py”, line 599, in do_qemu_start
File “qemuwrapper.py”, line 105, in start
File “qemuwrapper.py”, line 230, in _build_command
File “qemuwrapper.py”, line 290, in _disk_options
AttributeError: ‘module’ object has no attribute ’spawnlp’
—————————————-
- Chad
hi getting following error–>
babai@ANIRBAN-05773C5 ~/qemu-0.11.0
$ make
CC net.o
AR libqemu_common.a
GEN i386-softmmu/qemu-options.h
CC i386-softmmu/vl.o
CC i386-softmmu/eepro100.o
CC i386-softmmu/e1000.o
LINK i386-softmmu/qemu.exe
c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot fin
d -lwpcap
collect2: ld returned 1 exit status
make[1]: *** [qemu.exe] Error 1
make: *** [subdir-i386-softmmu] Error 2
I was able to compile with PCAP support after changing the configure script:
if test “$pcap” = “yes” ; then
pcap=yes
cat > $TMPC << EOF
Now everything seems to be working fine. I used Winpcap release 4.0.1.
hi guys,
Did any of you guys have a problem with isis protocol ?
I unable to establish isis if protocol run on more than 3 routers.
I have no problem to run ospf and bgp but have a problem with isis.
Any advice?
Thanx
Hi,
First of all, I am a great olive fan and working a lot for my job (I am already JNCIE for a while).
I completed the process you described, everything went fine. However, I face stability issues (qemu crashes) with the udp network if i895522er if type is used and my em inteface is seen administratively down if e1000 interface type is used.
so not a great reward for the hard job of compiling/patching. Note that I applied the kqemu patch to avoid crashes too
You can use this for more than one interface but you would need the physical interfaces to be present. Adjust the model name as you wish
qemu.exe -L . -m 48 -hda Olive.img -serial telnet::1001,server -localtime
-net nic,vlan=0,macaddr=00:aa:00:00:01:01,model=i82559er -net tap,vlan=0,ifname=tap1
-net nic,vlan=0,macaddr=00:aa:00:00:01:02,model=i82559er -net tap,vlan=0,ifname=tap2
Qemu-from-source have no “make remove” target. Therefore I would suggest that it is tidier to turn it into a .deb package prior to installing it on your Ubuntu system.
This can be done by first installing the package “checkinstall”, and then simply replacing the step “make install” with “checkinstall”. This will then generate a .deb and install it for you, making it easy to remove if you should get tired of it.
Hey great Balog,
I get these errors using qemu 0.12.1 on linux. Any ideas anyone?
Thanks.
Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [/boot/installer]…
ACPI autoload failed – no such file or directory
kernel trap 12 with interrupts disabled
Fatal trap 30: reserved (unknown) fault while in kernel mode
instruction pointer = 0×20:0xc06b3ef4
stack pointer = 0×28:0xc1021c98
frame pointer = 0×28:0xc1021cb8
code segment = base 0×0, limit 0xfffff, type 0×1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process = 0 ()
trap number = 30
dog: ERROR – reset of uninitialized watchdog
panic: reserved (unknown) fault
(null)(c089caa0) at 0
(null)(c0836fe5,0,fffff,8e4cc89b,c089a8c0) at 0
(null)(c1021c58,0) at 0
(null)(8,28,28,0,c089a8c0) at 0
(null)(8,28,28,f0000,c08ced40) at 0
(null)(2) at 0
(null)(0,c1021d3c,c051e8ef,c0835147,0) at 0
(null)(c1021d84,c06ac030,101ec00,101e000,1026000) at 0
(null)(101ec00,101e000,1026000,0,c044df8d) at 0
(null)(1026000) at 0
(null)() at 0
dog: ERROR – reset of uninitialized watchdog
dog: ERROR – reset of uninitialized watchdog
Uptime: 1s
I was able to run Olive under qemu in windows,
But I am facing problems with qemuwrapper.
Editing qemuwrapper.py and recompiling will fix it,
Anybody one good at Python?
http://sushantwagle.wordpress.com/2010/01/11/gns3-07rc1-supports-juniper-part2/
(correction)
its:
patch -p1 -i qemu-0.11.0-olive.patch
not
patch -pl -i qemu-0.11.0-olive.patch
Hi guys,
I record video when I was configuring Juniper routers in GNS3. It is only about running and networking routers in GNS3 (not Qemu FreeBSD, JunOS installation).
No real how to but it can help.
http://rapidshare.com/files/347400010/configuration-part1.ogv
http://rapidshare.com/files/347401764/configuration-part2.ogv
When I do a ’sudo make install’ on Ubuntu 9.10, here’s what I get. What did I do wrong?
user@Hostname:/opt/GNS3/qemu-0.11.0$ sudo make install
install -d -m0755 -p “/usr/local/bin”
install -m0755 -p -s qemu-nbd qemu-io qemu-img “/usr/local/bin”
install -d -m0755 -p “/usr/local/share/qemu”
set -e; for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin video.x openbios-sparc32 openbios-sparc64 openbios-ppc pxe-ne2k_pci.bin pxe-rtl8139.bin pxe-pcnet.bin pxe-e1000.bin bamboo.dtb petalogix-s3adsp1800.dtb multiboot.bin; do \
install -m0644 -p /opt/GNS3/qemu-0.11.0/pc-bios/$x “/usr/local/share/qemu”; \
done
install -d -m0755 -p “/usr/local/share/qemu/keymaps”
set -e; for x in da en-gb et fr fr-ch is lt modifiers no pt-br sv ar de en-us fi fr-be hr it lv nl pl ru th common de-ch es fo fr-ca hu ja mk nl-be pt sl tr; do \
install -m0644 -p /opt/GNS3/qemu-0.11.0/pc-bios/keymaps/$x “/usr/local/share/qemu/keymaps”; \
done
for d in x86_64-softmmu; do \
make -C $d install || exit 1 ; \
done
make[1]: Entering directory `/opt/GNS3/qemu-0.11.0/x86_64-softmmu’
install -m 755 -s qemu-system-x86_64 “/usr/local/bin”
make[1]: Leaving directory `/opt/GNS3/qemu-0.11.0/x86_64-softmmu’
user@Hostname:/opt/GNS3/qemu-0.11.0$
Thanks a lot to Jeremy and GNS3 supporters and developers
Your article helped me alot.
. I know I am stupid
After spending 1 night without any sleep, I have successfully loaded JUNOS 8.4 on FreeBSD in VMware( in the next day afternoon, LOL). Creating a virtual serial port to get access to CLI took me the whole morning
I updated this howto concerning wpcap on Windows and I also provide a link to download a static version of Qemu, no need for you to compile on Windows now
These days I worked out a olive patch for qemu 0.12+ version and found a workaround to fix the ERROR “reset of uninitialized watchdog”.
if you like you can download the binary file (windows) directly.
Qemu 0.12.3 for Juniper (windows version)
http://www.netemu.cn/bbs/thread-13265-1-1.html
Hi All:
Great howto! Great software!
I finished with all the steps of the how to and wow! it works. I was able to run JunOS along with a Cisco 3725 inside GNS3 0.7 on Windows 7 32 bits, and voila! they can see eachother.
The only thing I am missing and I am out of ideas is that I cannot start a second instance of JunOS within GNS3 (I can manually from the command prompt).
I suppose that I should see a second qemu process hanging from the qemuwrapper.exe process, but it is not starting.
Note: I am using the all-in-one package.
Any ideas?
Correction: I cannot run a second instance from the command line either.
Hello everyone,
I installed Gns3 version 0.7 on a PC running Windows XP, my problem is that in gns3 only one juniper router starts.
I have created an olive-base.img called Olive.img.
Under the menu preferences–> qemu –> general settings i have this situation :
qemuwrapper path : C:\programs\gns3\quemuwrapper.exe
path to qemu : qemu
path to quemu-img :qemu-img
Under the menu preferences –> qemu –> Junos Ihave this situation :
Binary image : C:\Olive.img
Memory 96
Nic e1000.
When i push test , appears the message : “Failed to start qemu”.
I did two copies of olive.img and called them olive2.img and olive3.img.
I used three routers and configured them with olive.img in first router, olive2.img in the second and olive3.img in the third.
I got the result that the only first two routers have worked fine (in windows task manager there are two istances of qemu).
I would like to run more routers can someone help me solve the problem?
Thanks Fabio
Hello friends! I have been able to add to routers, I turn on the first one and I can telnet into it without any problem, but when I turn on the second one I can’t telnet to the second one.. Any idea?
Another issue is that when I turn on the routers if I point to one of them with the mouse it says that the router is stopped (just a minor bug
).
Regards
I updated the link to the Qemu patch.
Jeremy or anyone else that can help…..along with Dan (unanswered query) I am not able to copy the Junos image up to BSD.
I can ping 10.0.2.2 successfully but scp times out and if I try ftp the response I get is that it cannot connect or login to host “user@10.0.2.2″.
Apologies for my ignorance but is this something to do with the account name user..??
when I do a netstat -r I can see the gateway ip as 10.0.2.2, plus addresses 10.0.2.3 (em0) and 10.0.2.15 (l0).
appreciate ANY help please.
Dave-S,
You need to put your actual user name in place of user when using the scp command, like
rob@10.0.2.2, instead of user@10.0.2.2. This hung me up for a while too till it dawned on me that “user” isn’t going to get access to my host OS.
Well, this is very frustrating:
I start a Olive, then I configure a new subinterface, like this:
show configuration interfaces lo0
unit 0
family inet {
address 2.2.2.1/32;
}
}
I commit the changes and everything is OK… but when I want to see my new interface with a “sh interface terse” it is not there!! It is configured, but it is not running… But if I reload the olive I can see it working.. Why??
Help me!
Thanks
Rob, thanks for that but it does me no good…..all I get now is that the connection is refused on port 22.
I managed to FTP the file over eventually but then all I get are errors on trying to untar the file…..something about the compression type being unsupported. I’ve spent an inordinate amount of time on this plus trying to get ASA working in GNS3 (all related) and have hit so many brick walls that it is time to admit that it is just not going to work and come back maybe in another life. Cheers.
Oops worked*
ciscoasa(config)# copy running-config disk0:/.private/startup-config
Source filename [running-config]?
Destination filename [/.private/startup-config]?
%Warning:There is a file already existing with this name
Do you want to over write? [confirm]
Cryptochecksum: a0ce05e6 e361a34f d8bc3b81 55185b42
1514 bytes copied in 1.330 secs (1514 bytes/sec)open(ffsdev/2/write/41) failed
open(ffsdev/2/write/40) failed
ciscoasa(config)#
I don’t know why the write is failing
Dear all,
I already created Olive but using VMWARE…Just one more question i try to play with MPLS but it not support. Can someone justify if using Qemu it will support MPLS? thnks..
Hi!
After a lot of attempts, I coudn’t start qemuwrapper directly in GNS3 in mac os x. (Snow Leopard)
I’ve got this errors when i’m trying to drag the Juniper router into the scenary.
—————————
Connecting to Qemu on port 10525….
Can’t connect qemu on port 10525.
Could not connect to qemuwrapper at localhost:10525.
—————————
I also trying to start the olive with a tap with no success.
I’d installed the TUN/TAP driver and executed the commands as you commented above.
I’ve got these errors.
—————————-
warning: could not open /dev/tap: no virtual network emulation
qemu: Could not initialize device ‘tap’
ifconfig: interface tap0 does not exist
—————————-
Except this, everything else is working fine, even qemu just alone.
Please, could you help with this problem??
Thanks very much for your time/hard work to make this great tutorial. It worked like a charm under Xubuntu (after too much headache under Windows7
)
Hi all,
Has someone try to play with MPLS l3VPN. It is succes?
Hi everyone.
Ok, I have up and running the olive using mac os x snow leopard.. at least with tap interfaces too!.
The problem is that IPv6 and multicast (PIM) is not supported with e1000 interfaces.
I tried to start qemu with i82559er interfaces (fxp) and it’s working. But by some reason qemu crashed when the configuration it’s huge (EBGP case study from JNCIP cert)
Could be anything wrong on the patch?
Jeremy, Congratulations for your great job.
Thanks again!
all went well, but after finishing pkg_tool add and rebooted,
Then used:
C:\Qemu>qemu -m 256 -hda olive-base.img -boot c -localtime -nographic -serial stdio
I keep getting this error: :qemu: could not open serial device ‘mon:stdio’
I followed this procedure to the “T”. Everything was smooth until I reached the “pkg_add -f /var/tmp/jinstall-8.5R1.14-domestic-olive.tgz” command in chapter 4. Junos Installation. I receive the error “/usr/libexec/ld-elf.so.1: Shared object “libssl.so.3″ not found, required by “pkg_add”. Any ideas? I figured openssl would have been part of the 4.11 BSD installation. Again, followed the installation to the “T”. Thanks!
Hi
dear zlib 1.2.3 is not available please help me out
HI,
I’m not able to install the components zlib-1.2.3.tar.gz, SDL-1.2.14.tar.gz and coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2. on windows 7
Error is
sheraz.latif@LHRPC-1005 /home
$ tar -xzvf zlib-1.2.5.tar.gz
zlib-1.2.5/
zlib-1.2.5/adler32.c
zlib-1.2.5/amiga/
zlib-1.2.5/amiga/Makefile.pup
zlib-1.2.5/amiga/Makefile.sas
zlib-1.2.5/ChangeLog
zlib-1.2.5/CMakeLists.txt
zlib-1.2.5/compress.c
zlib-1.2.5/configure
zlib-1.2.5/contrib/
zlib-1.2.5/contrib/ada/
zlib-1.2.5/contrib/ada/buffer_demo.adb
zlib-1.2.5/contrib/ada/mtest.adb
zlib-1.2.5/contrib/ada/read.adb
zlib-1.2.5/contrib/ada/readme.txt
zlib-1.2.5/contrib/ada/test.adb
zlib-1.2.5/contrib/ada/zlib-streams.adb
zlib-1.2.5/contrib/ada/zlib-streams.ads
zlib-1.2.5/contrib/ada/zlib-thin.adb
zlib-1.2.5/contrib/ada/zlib-thin.ads
zlib-1.2.5/contrib/ada/zlib.adb
zlib-1.2.5/contrib/ada/zlib.ads
zlib-1.2.5/contrib/ada/zlib.gpr
zlib-1.2.5/contrib/amd64/
zlib-1.2.5/contrib/amd64/amd64-match.S
zlib-1.2.5/contrib/asm686/
zlib-1.2.5/contrib/asm686/match.S
zlib-1.2.5/contrib/asm686/README.686
zlib-1.2.5/contrib/blast/
zlib-1.2.5/contrib/blast/blast.c
zlib-1.2.5/contrib/blast/blast.h
zlib-1.2.5/contrib/blast/Makefile
zlib-1.2.5/contrib/blast/README
zlib-1.2.5/contrib/blast/test.pk
zlib-1.2.5/contrib/blast/test.txt
zlib-1.2.5/contrib/delphi/
zlib-1.2.5/contrib/delphi/readme.txt
zlib-1.2.5/contrib/delphi/ZLib.pas
zlib-1.2.5/contrib/delphi/ZLibConst.pas
zlib-1.2.5/contrib/delphi/zlibd32.mak
zlib-1.2.5/contrib/dotzlib/
zlib-1.2.5/contrib/dotzlib/DotZLib/
zlib-1.2.5/contrib/dotzlib/DotZLib/AssemblyInfo.cs
zlib-1.2.5/contrib/dotzlib/DotZLib/ChecksumImpl.cs
zlib-1.2.5/contrib/dotzlib/DotZLib/CircularBuffer.cs
zlib-1.2.5/contrib/dotzlib/DotZLib/CodecBase.cs
zlib-1.2.5/contrib/dotzlib/DotZLib/Deflater.cs
zlib-1.2.5/contrib/dotzlib/DotZLib/DotZLib.cs
zlib-1.2.5/contrib/dotzlib/DotZLib/DotZLib.csproj
zlib-1.2.5/contrib/dotzlib/DotZLib/GZipStream.cs
zlib-1.2.5/contrib/dotzlib/DotZLib/Inflater.cs
zlib-1.2.5/contrib/dotzlib/DotZLib/UnitTests.cs
zlib-1.2.5/contrib/dotzlib/DotZLib.build
zlib-1.2.5/contrib/dotzlib/DotZLib.chm
zlib-1.2.5/contrib/dotzlib/DotZLib.sln
zlib-1.2.5/contrib/dotzlib/LICENSE_1_0.txt
zlib-1.2.5/contrib/dotzlib/readme.txt
zlib-1.2.5/contrib/gcc_gvmat64/
zlib-1.2.5/contrib/gcc_gvmat64/gvmat64.S
zlib-1.2.5/contrib/infback9/
zlib-1.2.5/contrib/infback9/infback9.c
zlib-1.2.5/contrib/infback9/infback9.h
zlib-1.2.5/contrib/infback9/inffix9.h
zlib-1.2.5/contrib/infback9/inflate9.h
zlib-1.2.5/contrib/infback9/inftree9.c
zlib-1.2.5/contrib/infback9/inftree9.h
zlib-1.2.5/contrib/infback9/README
zlib-1.2.5/contrib/inflate86/
zlib-1.2.5/contrib/inflate86/inffas86.c
zlib-1.2.5/contrib/inflate86/inffast.S
zlib-1.2.5/contrib/iostream/
zlib-1.2.5/contrib/iostream/test.cpp
zlib-1.2.5/contrib/iostream/zfstream.cpp
zlib-1.2.5/contrib/iostream/zfstream.h
zlib-1.2.5/contrib/iostream2/
zlib-1.2.5/contrib/iostream2/zstream.h
zlib-1.2.5/contrib/iostream2/zstream_test.cpp
zlib-1.2.5/contrib/iostream3/
zlib-1.2.5/contrib/iostream3/README
zlib-1.2.5/contrib/iostream3/test.cc
zlib-1.2.5/contrib/iostream3/TODO
zlib-1.2.5/contrib/iostream3/zfstream.cc
zlib-1.2.5/contrib/iostream3/zfstream.h
zlib-1.2.5/contrib/masmx64/
zlib-1.2.5/contrib/masmx64/bld_ml64.bat
zlib-1.2.5/contrib/masmx64/gvmat64.asm
zlib-1.2.5/contrib/masmx64/inffas8664.c
zlib-1.2.5/contrib/masmx64/inffasx64.asm
zlib-1.2.5/contrib/masmx64/readme.txt
zlib-1.2.5/contrib/masmx86/
zlib-1.2.5/contrib/masmx86/bld_ml32.bat
zlib-1.2.5/contrib/masmx86/inffas32.asm
zlib-1.2.5/contrib/masmx86/match686.asm
zlib-1.2.5/contrib/masmx86/readme.txt
zlib-1.2.5/contrib/minizip/
zlib-1.2.5/contrib/minizip/crypt.h
zlib-1.2.5/contrib/minizip/ioapi.c
zlib-1.2.5/contrib/minizip/ioapi.h
zlib-1.2.5/contrib/minizip/iowin32.c
zlib-1.2.5/contrib/minizip/iowin32.h
zlib-1.2.5/contrib/minizip/make_vms.com
zlib-1.2.5/contrib/minizip/Makefile
zlib-1.2.5/contrib/minizip/miniunz.c
zlib-1.2.5/contrib/minizip/minizip.c
zlib-1.2.5/contrib/minizip/MiniZip64_Changes.txt
zlib-1.2.5/contrib/minizip/MiniZip64_info.txt
zlib-1.2.5/contrib/minizip/mztools.c
zlib-1.2.5/contrib/minizip/mztools.h
zlib-1.2.5/contrib/minizip/unzip.c
zlib-1.2.5/contrib/minizip/unzip.h
zlib-1.2.5/contrib/minizip/zip.c
zlib-1.2.5/contrib/minizip/zip.h
zlib-1.2.5/contrib/pascal/
zlib-1.2.5/contrib/pascal/example.pas
zlib-1.2.5/contrib/pascal/readme.txt
zlib-1.2.5/contrib/pascal/zlibd32.mak
zlib-1.2.5/contrib/pascal/zlibpas.pas
zlib-1.2.5/contrib/puff/
zlib-1.2.5/contrib/puff/Makefile
zlib-1.2.5/contrib/puff/puff.c
zlib-1.2.5/contrib/puff/puff.h
zlib-1.2.5/contrib/puff/README
zlib-1.2.5/contrib/puff/zeros.raw
zlib-1.2.5/contrib/README.contrib
zlib-1.2.5/contrib/testzlib/
zlib-1.2.5/contrib/testzlib/testzlib.c
zlib-1.2.5/contrib/testzlib/testzlib.txt
zlib-1.2.5/contrib/untgz/
zlib-1.2.5/contrib/untgz/Makefile
zlib-1.2.5/contrib/untgz/Makefile.msc
zlib-1.2.5/contrib/untgz/untgz.c
zlib-1.2.5/contrib/vstudio/
zlib-1.2.5/contrib/vstudio/readme.txt
zlib-1.2.5/contrib/vstudio/vc10/
zlib-1.2.5/contrib/vstudio/vc10/miniunz.vcxproj
zlib-1.2.5/contrib/vstudio/vc10/miniunz.vcxproj.filters
zlib-1.2.5/contrib/vstudio/vc10/miniunz.vcxproj.user
zlib-1.2.5/contrib/vstudio/vc10/minizip.vcxproj
zlib-1.2.5/contrib/vstudio/vc10/minizip.vcxproj.filters
zlib-1.2.5/contrib/vstudio/vc10/minizip.vcxproj.user
zlib-1.2.5/contrib/vstudio/vc10/testzlib.vcxproj
zlib-1.2.5/contrib/vstudio/vc10/testzlib.vcxproj.filters
zlib-1.2.5/contrib/vstudio/vc10/testzlib.vcxproj.user
zlib-1.2.5/contrib/vstudio/vc10/testzlibdll.vcxproj
zlib-1.2.5/contrib/vstudio/vc10/testzlibdll.vcxproj.filters
zlib-1.2.5/contrib/vstudio/vc10/testzlibdll.vcxproj.user
zlib-1.2.5/contrib/vstudio/vc10/zlib.rc
zlib-1.2.5/contrib/vstudio/vc10/zlibstat.vcxproj
zlib-1.2.5/contrib/vstudio/vc10/zlibstat.vcxproj.filters
zlib-1.2.5/contrib/vstudio/vc10/zlibstat.vcxproj.user
zlib-1.2.5/contrib/vstudio/vc10/zlibvc.def
zlib-1.2.5/contrib/vstudio/vc10/zlibvc.sln
zlib-1.2.5/contrib/vstudio/vc10/zlibvc.vcxproj
zlib-1.2.5/contrib/vstudio/vc10/zlibvc.vcxproj.filters
zlib-1.2.5/contrib/vstudio/vc10/zlibvc.vcxproj.user
zlib-1.2.5/contrib/vstudio/vc9/
zlib-1.2.5/contrib/vstudio/vc9/miniunz.vcproj
zlib-1.2.5/contrib/vstudio/vc9/minizip.vcproj
zlib-1.2.5/contrib/vstudio/vc9/testzlib.vcproj
zlib-1.2.5/contrib/vstudio/vc9/testzlibdll.vcproj
zlib-1.2.5/contrib/vstudio/vc9/zlib.rc
zlib-1.2.5/contrib/vstudio/vc9/zlibstat.vcproj
zlib-1.2.5/contrib/vstudio/vc9/zlibvc.def
zlib-1.2.5/contrib/vstudio/vc9/zlibvc.sln
zlib-1.2.5/contrib/vstudio/vc9/zlibvc.vcproj
zlib-1.2.5/crc32.c
zlib-1.2.5/crc32.h
zlib-1.2.5/deflate.c
zlib-1.2.5/deflate.h
zlib-1.2.5/doc/
zlib-1.2.5/doc/algorithm.txt
zlib-1.2.5/doc/rfc1950.txt
zlib-1.2.5/doc/rfc1951.txt
zlib-1.2.5/doc/rfc1952.txt
zlib-1.2.5/doc/txtvsbin.txt
zlib-1.2.5/example.c
zlib-1.2.5/examples/
zlib-1.2.5/examples/enough.c
zlib-1.2.5/examples/fitblk.c
zlib-1.2.5/examples/gun.c
zlib-1.2.5/examples/gzappend.c
zlib-1.2.5/examples/gzjoin.c
zlib-1.2.5/examples/gzlog.c
zlib-1.2.5/examples/gzlog.h
zlib-1.2.5/examples/README.examples
zlib-1.2.5/examples/zlib_how.html
zlib-1.2.5/examples/zpipe.c
zlib-1.2.5/examples/zran.c
zlib-1.2.5/FAQ
zlib-1.2.5/gzclose.c
zlib-1.2.5/gzguts.h
zlib-1.2.5/gzlib.c
zlib-1.2.5/gzread.c
zlib-1.2.5/gzwrite.c
zlib-1.2.5/INDEX
zlib-1.2.5/infback.c
zlib-1.2.5/inffast.c
zlib-1.2.5/inffast.h
zlib-1.2.5/inffixed.h
zlib-1.2.5/inflate.c
zlib-1.2.5/inflate.h
zlib-1.2.5/inftrees.c
zlib-1.2.5/inftrees.h
zlib-1.2.5/make_vms.com
zlib-1.2.5/Makefile
zlib-1.2.5/Makefile.in
zlib-1.2.5/minigzip.c
zlib-1.2.5/msdos/
zlib-1.2.5/msdos/Makefile.bor
zlib-1.2.5/msdos/Makefile.dj2
zlib-1.2.5/msdos/Makefile.emx
zlib-1.2.5/msdos/Makefile.msc
zlib-1.2.5/msdos/Makefile.tc
zlib-1.2.5/nintendods/
zlib-1.2.5/nintendods/Makefile
zlib-1.2.5/nintendods/README
zlib-1.2.5/old/
zlib-1.2.5/old/as400/
zlib-1.2.5/old/as400/bndsrc
zlib-1.2.5/old/as400/compile.clp
zlib-1.2.5/old/as400/readme.txt
zlib-1.2.5/old/as400/zlib.inc
zlib-1.2.5/old/descrip.mms
zlib-1.2.5/old/Makefile.riscos
zlib-1.2.5/old/os2/
zlib-1.2.5/old/os2/Makefile.os2
zlib-1.2.5/old/os2/zlib.def
zlib-1.2.5/old/README
zlib-1.2.5/old/visual-basic.txt
zlib-1.2.5/old/visualc6/
zlib-1.2.5/old/visualc6/example.dsp
zlib-1.2.5/old/visualc6/minigzip.dsp
zlib-1.2.5/old/visualc6/README.txt
zlib-1.2.5/old/visualc6/zlib.dsp
zlib-1.2.5/old/visualc6/zlib.dsw
zlib-1.2.5/qnx/
zlib-1.2.5/qnx/package.qpg
zlib-1.2.5/README
zlib-1.2.5/treebuild.xml
zlib-1.2.5/trees.c
zlib-1.2.5/trees.h
zlib-1.2.5/uncompr.c
zlib-1.2.5/watcom/
zlib-1.2.5/watcom/watcom_f.mak
zlib-1.2.5/watcom/watcom_l.mak
zlib-1.2.5/win32/
zlib-1.2.5/win32/DLL_FAQ.txt
zlib-1.2.5/win32/Makefile.bor
zlib-1.2.5/win32/Makefile.emx
zlib-1.2.5/win32/Makefile.gcc
zlib-1.2.5/win32/Makefile.msc
zlib-1.2.5/win32/README-WIN32.txt
zlib-1.2.5/win32/VisualC.txt
zlib-1.2.5/win32/zlib.def
zlib-1.2.5/win32/zlib1.rc
zlib-1.2.5/zconf.h
zlib-1.2.5/zconf.h.cmakein
zlib-1.2.5/zconf.h.in
zlib-1.2.5/zlib.3
zlib-1.2.5/zlib.3.pdf
zlib-1.2.5/zlib.h
zlib-1.2.5/zlib.map
zlib-1.2.5/zlib.pc.in
zlib-1.2.5/zlib2ansi
zlib-1.2.5/zutil.c
zlib-1.2.5/zutil.h
sheraz.latif@LHRPC-1005 /home
$ cd zlib-1.2.5
sheraz.latif@LHRPC-1005 /home/zlib-1.2.5
$ ./configure –prefix=/mingw
Checking for gcc…
Checking for shared library support…
No shared library support.
Building static library libz.a version 1.2.5 with cc.
Checking for off64_t… No.
Checking for fseeko… No.
Checking for unistd.h… No.
Checking whether to use vs[n]printf() or s[n]printf()… using s[n]printf().
Checking for snprintf() in stdio.h… No.
WARNING: snprintf() not found, falling back to sprintf(). zlib
can build but will be open to possible buffer-overflow security
vulnerabilities.
Checking for return value of sprintf()… No.
WARNING: apparently sprintf() does not return a value. zlib
can build but will be open to possible string-format security
vulnerabilities.
sheraz.latif@LHRPC-1005 /home/zlib-1.2.5
$ make
cc -O -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void -c -o example.o example.c
make: cc: Command not found
make: *** [example.o] Error 127
I see following error as well when i install msys
:\msys\1.0\postinstall>PATH ..\bin;C:\Windows\system32;C:\Windows;C:\Windows\Sy
tem32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
:\msys\1.0\postinstall>..\bin\sh.exe pi.sh
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
llocationBase 0×0, BaseAddress 0×71110000, RegionSize 0×420000, State 0×10000
:\msys\1.0\bin\sh.exe: *** Couldn’t reserve space for cygwin’s heap, Win32 erro
0
:\msys\1.0\postinstall>pause
ress any key to continue . . .
As per GNS3 0.7rc1 supports JUNOS… Lets try it out (Part 1) there is no path in msys with the name of c:\Msys\public\username). whats going on please tell me ? what im doing wrong ?
i am able to install the qemu syccessfully but when trying to load the BSD, get the following error
deepak@ubuntu:~/qemu-0.11.0$ qemu-img create -f qcow2 olive-base.img 4G
Formatting ‘olive-base.img’, fmt=qcow2 size=4294967296 encryption=off cluster_size=0
deepak@ubuntu:~/qemu-0.11.0$ qemu -m 256 -hda olive-base.img -cdrom 4.11-RELEASE-i386-miniinst.iso \
> -boot d -localtime
qemu: could not open disk image 4.11-RELEASE-i386-miniinst.iso
deepak@ubuntu:~/qemu-0.11.0$
I got the same problem as xman:
qemu: could not open serial device ‘mon:stdio’.
I found an easy work around: just start Qemu with:
qemu -m 768 -hda olive-base.img -boot c -localtime
(I’m using 768 because I’m running version 9, if you wants to install a version earlier then 8.5 you will need to setup a biggest virtual drive or need to delete some file before the pkg_add) once you see the window just press “ctrl-alt-2″
and you will see your router starting booting !
Houps sorry it’s “ctrl-alt-3″ not “ctrl-alt-2″
Does someone success add multiple loopback IP address in only one Logical Router? thanks
I am getting following errors while installing qemu.
rakeshku@FM763BS ~/zlib-1.2.5
$ ./configure –prefix=/mingw
Checking for gcc…
Checking for shared library support…
No shared library support.
Building static library libz.a version 1.2.5 with cc.
Checking for off64_t… No.
Checking for fseeko… No.
Checking for unistd.h… No.
Checking whether to use vs[n]printf() or s[n]printf()… using s[n]printf().
Checking for snprintf() in stdio.h… No.
WARNING: snprintf() not found, falling back to sprintf(). zlib
can build but will be open to possible buffer-overflow security
vulnerabilities.
Checking for return value of sprintf()… No.
WARNING: apparently sprintf() does not return a value. zlib
can build but will be open to possible string-format security
vulnerabilities.
I type the commands…
‘qemu -m 256 -hda olive-base.img -boot c -localtime -nographic -serial stdio’
…but nothing happens.
I am running Windows 7. Anyone know why does not invoke qemu?