olive reloaded or how to emulate juniper routers _ gns3 page 5

Upload: elvin-dionicio

Post on 13-Oct-2015

97 views

Category:

Documents


0 download

DESCRIPTION

Olive Router Labs page 5

TRANSCRIPT

  • 5/23/2018 Olive Reloaded or How to Emulate Juniper Routers _ GNS3 Page 5

    http:///reader/full/olive-reloaded-or-how-to-emulate-juniper-routers-gns3-pag

    GNS3 Juniper IOS Junos

    http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8088569354328416&output=html&h=15&slotname=6557951385&adk=1951975240&w=468&lmt=1404370814&flash=14.0.0&url=http%3A%2F%2Fblog.gns3.net%2F2009%2F10%2Folive-juniper%2F5%2F&dt=1404356413852&bpp=25&bdt=73&shv=r20140630&cbv=r20140417&saldr=sa&correlator=1404356414072&frm=20&ga_vid=1615171601.1404355765&ga_sid=1404355765&ga_hid=442386746&ga_fc=1&u_tz=-240&u_his=6&u_java=1&u_h=900&u_w=1600&u_ah=900&u_aw=1600&u_cd=24&u_nplug=24&u_nmime=111&dff=helvetica%20neue&dfs=13&adx=327&ady=379&biw=1583&bih=839&eid=317150304%2C36098801&oid=3&ref=http%3A%2F%2Fblog.gns3.net%2F2009%2F10%2Folive-juniper%2F4%2F&rx=0&eae=0&vis=1&abl=CS&ppjl=u&fu=0&ifi=1&xpc=k7ialC2XiR&p=http%3A//blog.gns3.net&dtd=242&rl_rc=true&adsense_enabled=true&ad_type=text&oe=utf8&height=15&width=468&format=fpkc_al_lp&prev_fmts=468x15_0ads_al&kw_type=radlink&hl=en&kw0=GNS3&kw1=Juniper&kw2=IOS&kw3=Junos&okw=Junos&rt=ChBTtMc5AAivGAo0KhAkAC7jEgVKdW5vcxoIEgamDDbs0sQgu7jPICgBSLu4zyBIkLWxKlITCLH4p6eTqL8CFY2saQodv0QAcQhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8088569354328416&output=html&h=15&slotname=6557951385&adk=1951975240&w=468&lmt=1404370814&flash=14.0.0&url=http%3A%2F%2Fblog.gns3.net%2F2009%2F10%2Folive-juniper%2F5%2F&dt=1404356413852&bpp=25&bdt=73&shv=r20140630&cbv=r20140417&saldr=sa&correlator=1404356414072&frm=20&ga_vid=1615171601.1404355765&ga_sid=1404355765&ga_hid=442386746&ga_fc=1&u_tz=-240&u_his=6&u_java=1&u_h=900&u_w=1600&u_ah=900&u_aw=1600&u_cd=24&u_nplug=24&u_nmime=111&dff=helvetica%20neue&dfs=13&adx=327&ady=379&biw=1583&bih=839&eid=317150304%2C36098801&oid=3&ref=http%3A%2F%2Fblog.gns3.net%2F2009%2F10%2Folive-juniper%2F4%2F&rx=0&eae=0&vis=1&abl=CS&ppjl=u&fu=0&ifi=1&xpc=k7ialC2XiR&p=http%3A//blog.gns3.net&dtd=242&rl_rc=true&adsense_enabled=true&ad_type=text&oe=utf8&height=15&width=468&format=fpkc_al_lp&prev_fmts=468x15_0ads_al&kw_type=radlink&hl=en&kw0=GNS3&kw1=Juniper&kw2=IOS&kw3=Junos&okw=IOS&rt=ChBTtMc5AAivFQo0KhAkAC7jEgNJT1MaCEewgUBOgprdILu4zyAoAUi7uM8gSJC1sSpSEwix-Kenk6i_AhWNrGkKHb9EAHEhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8088569354328416&output=html&h=15&slotname=6557951385&adk=1951975240&w=468&lmt=1404370814&flash=14.0.0&url=http%3A%2F%2Fblog.gns3.net%2F2009%2F10%2Folive-juniper%2F5%2F&dt=1404356413852&bpp=25&bdt=73&shv=r20140630&cbv=r20140417&saldr=sa&correlator=1404356414072&frm=20&ga_vid=1615171601.1404355765&ga_sid=1404355765&ga_hid=442386746&ga_fc=1&u_tz=-240&u_his=6&u_java=1&u_h=900&u_w=1600&u_ah=900&u_aw=1600&u_cd=24&u_nplug=24&u_nmime=111&dff=helvetica%20neue&dfs=13&adx=327&ady=379&biw=1583&bih=839&eid=317150304%2C36098801&oid=3&ref=http%3A%2F%2Fblog.gns3.net%2F2009%2F10%2Folive-juniper%2F4%2F&rx=0&eae=0&vis=1&abl=CS&ppjl=u&fu=0&ifi=1&xpc=k7ialC2XiR&p=http%3A//blog.gns3.net&dtd=242&rl_rc=true&adsense_enabled=true&ad_type=text&oe=utf8&height=15&width=468&format=fpkc_al_lp&prev_fmts=468x15_0ads_al&kw_type=radlink&hl=en&kw0=GNS3&kw1=Juniper&kw2=IOS&kw3=Junos&okw=Juniper&rt=ChBTtMc5AAivEQo0KhAkAC7jEgdKdW5pcGVyGgjgpPlUPO6mqyC7uM8gKAFIu7jPIEiQtbEqUhMIsfinp5OovwIVjaxpCh2_RABxhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8088569354328416&output=html&h=15&slotname=6557951385&adk=1951975240&w=468&lmt=1404370814&flash=14.0.0&url=http%3A%2F%2Fblog.gns3.net%2F2009%2F10%2Folive-juniper%2F5%2F&dt=1404356413852&bpp=25&bdt=73&shv=r20140630&cbv=r20140417&saldr=sa&correlator=1404356414072&frm=20&ga_vid=1615171601.1404355765&ga_sid=1404355765&ga_hid=442386746&ga_fc=1&u_tz=-240&u_his=6&u_java=1&u_h=900&u_w=1600&u_ah=900&u_aw=1600&u_cd=24&u_nplug=24&u_nmime=111&dff=helvetica%20neue&dfs=13&adx=327&ady=379&biw=1583&bih=839&eid=317150304%2C36098801&oid=3&ref=http%3A%2F%2Fblog.gns3.net%2F2009%2F10%2Folive-juniper%2F4%2F&rx=0&eae=0&vis=1&abl=CS&ppjl=u&fu=0&ifi=1&xpc=k7ialC2XiR&p=http%3A//blog.gns3.net&dtd=242&rl_rc=true&adsense_enabled=true&ad_type=text&oe=utf8&height=15&width=468&format=fpkc_al_lp&prev_fmts=468x15_0ads_al&kw_type=radlink&hl=en&kw0=GNS3&kw1=Juniper&kw2=IOS&kw3=Junos&okw=GNS3&rt=ChBTtMc5AAivBwo0KhAkAC7jEgRHTlMzGghoD8AclqXT5CC7uM8gKAFIu7jPIEiQtbEqUhMIsfinp5OovwIVjaxpCh2_RABxhttps://www.google.com/url?ct=abg&q=https://www.google.com/adsense/support/bin/request.py%3Fcontact%3Dabg_afc%26url%3Dhttp://blog.gns3.net/2009/10/olive-juniper/5/%26gl%3DUS%26hl%3Den%26client%3Dca-pub-8088569354328416&usg=AFQjCNHLK08QmQ8boG7Qg14mtYoFeCkm9Q
  • 5/23/2018 Olive Reloaded or How to Emulate Juniper Routers _ GNS3 Page 5

    http:///reader/full/olive-reloaded-or-how-to-emulate-juniper-routers-gns3-pag

    7/2/2014 Olive reloaded or how to emulate Juniper routers | GNS3

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

    qemu R2.img -m96 -nographic-daemonize-serialtelnet::2002,server,nowait \

    -localtime-netnic,vlan=1,macaddr=00:aa:00:60:01:02,model=e1000 \

    -netudp,vlan=1,sport=10001,dport=10000,daddr=127.0.0.1

    Olive to real world using TAP interfaceOne 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 d

    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 gener

    TUN/TAP driver either built-in to your kernel, or available as a module. To check the availability of this module do the following:

    Lets say you started the emulator with the following:

    qemu R1.img -m96 -nographic-daemonize-serialtelnet::2001,server,nowait \

    -localtime-netnic,vlan=1,macaddr=00:aa:00:60:00:01,model=e1000 \

    -nettap,vlan=1,script=no

    Note the vlan=1 and -net tap options. This basically connects your Olives en0 to a virtual tap interface (usually tap0) on your host system. Start u

    Qemu, and once the emulator is running, proceed to the next step. Youll need to start up the emulator as root, or change the ownership or permissions

    /dev/net/tun.

    Were going to need to now bridge the tap0 interface to another Ethernet interface on the host system. To do this, well utilize the bridge capabilities oLinux. First, get the bridge utilities:

    sudoapt-getinstallbridge-utils

    Lets 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. Lets bring it up

    ifconfigeth1 up

    ifconfigtap0 up

    ifconfigbr0 up

    Now the bridge and member interfaces should be up. Dont assign any IP addresses to either of the member interfaces. If you want to, you can ass

    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

    Doctoral Degree Onlinegcu.edu/DoctoralStudies

    Flexible Evening & Online Programs Available At GCU. Sign Up Today!

    http://www.googleadservices.com/pagead/aclk?sa=L&ai=CnJ7LOce0U8OCGMKWpgOKzoCQA7Cgs-oF6PqXvaYB6JHYqboBEAEglPuTBVC7wZfRBGDJ7rCH3KPEEKABkJTU4APIAQGoAwHIA8MEqgSMAU_QH8_v0Zfmc_m_WYOLb3b7qot1m91WBjTLCqEix4I3VAf7t9lW2NzxsVw9wvkVWZPQDtOQdO59UUt4fiHbPUidpan2DlBdbQEqvDHa458-2oDCowZ6Z4-ZlRmy60Qd40oBGmBXgnQ9SayluFSb8GrPfqnKGHh53U4_MSIoYceck_1vYuBszAwyKQ6hiAYBgAe0360B&num=1&cid=5GjPbLUEm4Hn94NT8sgYwru0&sig=AOD64_3F-QQc3pEaSW8gozFc49n7OsUhcg&client=ca-pub-8088569354328416&adurl=http://degree.gcu.edu/doctoral_b/lp-one.php%3Fgcu%3DGD-BRAND%7CGoogle%7CDisplay%7CDoctoral%2520Programs%2520-%2520RM%7C%26adID%3D44734752800%26device%3Dchttp://www.googleadservices.com/pagead/aclk?sa=L&ai=CnJ7LOce0U8OCGMKWpgOKzoCQA7Cgs-oF6PqXvaYB6JHYqboBEAEglPuTBVC7wZfRBGDJ7rCH3KPEEKABkJTU4APIAQGoAwHIA8MEqgSMAU_QH8_v0Zfmc_m_WYOLb3b7qot1m91WBjTLCqEix4I3VAf7t9lW2NzxsVw9wvkVWZPQDtOQdO59UUt4fiHbPUidpan2DlBdbQEqvDHa458-2oDCowZ6Z4-ZlRmy60Qd40oBGmBXgnQ9SayluFSb8GrPfqnKGHh53U4_MSIoYceck_1vYuBszAwyKQ6hiAYBgAe0360B&num=1&cid=5GjPbLUEm4Hn94NT8sgYwru0&sig=AOD64_3F-QQc3pEaSW8gozFc49n7OsUhcg&client=ca-pub-8088569354328416&adurl=http://degree.gcu.edu/doctoral_b/lp-one.php%3Fgcu%3DGD-BRAND%7CGoogle%7CDisplay%7CDoctoral%2520Programs%2520-%2520RM%7C%26adID%3D44734752800%26device%3Dchttp://www.googleadservices.com/pagead/aclk?sa=L&ai=CnJ7LOce0U8OCGMKWpgOKzoCQA7Cgs-oF6PqXvaYB6JHYqboBEAEglPuTBVC7wZfRBGDJ7rCH3KPEEKABkJTU4APIAQGoAwHIA8MEqgSMAU_QH8_v0Zfmc_m_WYOLb3b7qot1m91WBjTLCqEix4I3VAf7t9lW2NzxsVw9wvkVWZPQDtOQdO59UUt4fiHbPUidpan2DlBdbQEqvDHa458-2oDCowZ6Z4-ZlRmy60Qd40oBGmBXgnQ9SayluFSb8GrPfqnKGHh53U4_MSIoYceck_1vYuBszAwyKQ6hiAYBgAe0360B&num=1&cid=5GjPbLUEm4Hn94NT8sgYwru0&sig=AOD64_3F-QQc3pEaSW8gozFc49n7OsUhcg&client=ca-pub-8088569354328416&adurl=http://degree.gcu.edu/doctoral_b/lp-one.php%3Fgcu%3DGD-BRAND%7CGoogle%7CDisplay%7CDoctoral%2520Programs%2520-%2520RM%7C%26adID%3D44734752800%26device%3Dchttp://www.googleadservices.com/pagead/aclk?sa=L&ai=CnJ7LOce0U8OCGMKWpgOKzoCQA7Cgs-oF6PqXvaYB6JHYqboBEAEglPuTBVC7wZfRBGDJ7rCH3KPEEKABkJTU4APIAQGoAwHIA8MEqgSMAU_QH8_v0Zfmc_m_WYOLb3b7qot1m91WBjTLCqEix4I3VAf7t9lW2NzxsVw9wvkVWZPQDtOQdO59UUt4fiHbPUidpan2DlBdbQEqvDHa458-2oDCowZ6Z4-ZlRmy60Qd40oBGmBXgnQ9SayluFSb8GrPfqnKGHh53U4_MSIoYceck_1vYuBszAwyKQ6hiAYBgAe0360B&num=1&cid=5GjPbLUEm4Hn94NT8sgYwru0&sig=AOD64_3F-QQc3pEaSW8gozFc49n7OsUhcg&client=ca-pub-8088569354328416&adurl=http://degree.gcu.edu/doctoral_b/lp-one.php%3Fgcu%3DGD-BRAND%7CGoogle%7CDisplay%7CDoctoral%2520Programs%2520-%2520RM%7C%26adID%3D44734752800%26device%3Dc
  • 5/23/2018 Olive Reloaded or How to Emulate Juniper Routers _ GNS3 Page 5

    http:///reader/full/olive-reloaded-or-how-to-emulate-juniper-routers-gns3-pag

    7/2/2014 Olive reloaded or how to emulate Juniper routers | GNS3

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

    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 interface

    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 automati

    Your kernel might have ethernet filtering (ebtables, bridge-nf, arptables) enabled, and traffic gets filtered except ARP and STP. The easiest way to disabl

    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 [http://www.linuxfoundation.org/en/Net:Bridge] .

    # 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 [http://openvpn.net/] you can create several tap interfaces with Add a new TAP-Win32 virtual Ethernet adapter and rename them w

    something like Tap1, Tap2 and so on

    Lets say we have created 1 Tap interface and renamed it as Tap1. Right click this Tap1 interface on Windows Control Panel Network Connections an

    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. -m96 -hdaR1.img -localtime\

    -netnic,vlan=1,macaddr=00:aa:00:60:01:01,model=e1000 \

    -nettap,vlan=1,ifname=tap0

    Mac OS X

    On Mac OS X, download and install the TunTap package [http://tuntaposx.sourceforge.net/] .

    qemu R1.img -m96 -nographic-daemonize-serialtelnet::2001,server,nowait \

    -localtime-netnic,vlan=1,macaddr=00:aa:00:60:00:01,model=e1000 \

    -nettap,vlan=1,ifname=tap0,script=no

    We need to give this interface an ip address:

    sudoifconfigtap0 198.18.0.250/24up

    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 t

    run Qemu under Administrator privileges. Please also note that it will stopany other traffic on your interface.

    For PCAP:

    qemu R1.img -m96 -nographic-daemonize-serialtelnet::2001,server,nowait \

    -localtime-netnic,macaddr=00:aa:00:60:01:01,model=e1000 \

    -netpcap,ifname=eth0

    For LCAP:

    qemu R1.img -m96 -nographic-daemonize-serialtelnet::2001,server,nowait \

    -localtime-netnic,macaddr=00:aa:00:60:01:01,model=e1000 \

    -netlcap,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 didnt te

    PCAP/LCAP on Windows.

    http://tuntaposx.sourceforge.net/http://openvpn.net/http://www.linuxfoundation.org/en/Net:Bridge
  • 5/23/2018 Olive Reloaded or How to Emulate Juniper Routers _ GNS3 Page 5

    http:///reader/full/olive-reloaded-or-how-to-emulate-juniper-routers-gns3-pag

    7/2/2014 Olive reloaded or how to emulate Juniper routers | GNS3

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

    Pages: 1 2 3 4 5 6 7

    Notepad

    Driving Direction

    133 comments

    Add your comme

    Older Comments

    Olive to Dynamips or Pemu

    The lastest patch also added a udp option to allow networking to a Dynamips or pemu.

    qemu R1.img -m96 -nographic-daemonize-serialtelnet::2001,server,nowait \

    -localtime-netnic,vlan=1,macaddr=00:aa:00:60:00:01,model=e1000 \

    -netudp,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 interfa

    between Olive and GNS3, you can link a firewall or a router per NIO UDP.

    [http://blog.gns3.net/wp-content/uploads/2009/10/NIO_UDP_GNS3.png]

    Of course, you can do the same with other NIOs like NIO TAP to connect to your olive using a TAP interface.

    Next Entry: How to emulate Cisco ASA

    Posted in Juniper

    Tags: Dynamips Emulation GNS3 Juniper JunOS Olive Qemu

    You can follow any responses to this entr y thro ugh the RSS 2.0 Feed . You can leave a response , or trackback from your own site.

    HakimK October 6, 2010 at 15:39

    http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-931http://blog.gns3.net/2009/10/olive-juniper/trackback/http://blog.gns3.net/2009/10/olive-juniper/feed/http://blog.gns3.net/tag/qemu/http://blog.gns3.net/tag/olive/http://blog.gns3.net/tag/junos/http://blog.gns3.net/tag/juniper/http://blog.gns3.net/tag/gns3/http://blog.gns3.net/tag/emulation/http://blog.gns3.net/tag/dynamips/http://blog.gns3.net/category/juniper/http://blog.gns3.net/2009/12/how-to-emulate-cisco-asa/http://blog.gns3.net/wp-content/uploads/2009/10/NIO_UDP_GNS3.pnghttp://blog.gns3.net/2009/10/olive-juniper/comment-page-2/#commentshttp://blog.gns3.net/2009/10/olive-juniper/7/http://blog.gns3.net/2009/10/olive-juniper/6/http://blog.gns3.net/2009/10/olive-juniper/4/http://blog.gns3.net/2009/10/olive-juniper/3/http://blog.gns3.net/2009/10/olive-juniper/2/http://blog.gns3.net/2009/10/olive-juniper/
  • 5/23/2018 Olive Reloaded or How to Emulate Juniper Routers _ GNS3 Page 5

    http:///reader/full/olive-reloaded-or-how-to-emulate-juniper-routers-gns3-pag

    7/2/2014 Olive reloaded or how to emulate Juniper routers | GNS3

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

    Ive followed all the instructionbut after qemu -m 256 -hda olive-base.img -boot c -localtime -nographic -serial stdio, nothing happen. No qemu window appear and I

    only can see stderr and stdout files in the Qemu folder.

    stderr notepadshows:

    qemu: could not op en serial device mon:stdio

    stdout notepad shows:

    Unable to open driver: stdio

    Im try ing to install olive in WinXP SP3 with qemu-0.11.0.patched.win32.

    did anyone have the same p roblem as me?

    Philip

    Hi,

    I always encounter this error (ELF Binary Type 0 Not Known). Do I missed something?

    Thanks

    Octobe r 12, 2010 at 18:43

    Brad

    Everything went smoothly following the directions exactly a written, t ill I actually got t o pkg_add.

    The VM complained about not enough space, saying I needed to change PKG_TMPDIR to a location that had at least 905682568 bytes. I cleaned out files I dont need any

    more and made sure PKG_TMPDIR was p ointing to /var/tmp. After clening out the files I had 1060060 K bytes free. So that should be enough. But kept gett ing same error.

    Octobe r 17, 2010 at 03:51

    juber

    O tried to run scp [email protected]:~/Desktop /jinstall-8.5R1.14-domestic-signed.tgz /var/tmp command but request gets t imed out.

    I put my PCs hostname instead of user, even i tried with the user i logged in with in my pc but still the request is getting timed out ssh: connect to host 10.0.2.2 port 22:

    Operation time out

    I wasted my 3 days to resolved this dont know y its not working.

    I had p ut only qemu -m 256 -hda olive-base.img -boot c -localtime command when booting olive image cause when i p ut qemu -m 256 -hda olive-base.img -boot c -localtime \

    -net nic,macaddr=00:aa:00:60:01:01,model=e1000 -net user the qemu doesn start.

    Please help guys

    No ve mb er 13, 2010 a t 16:57

    arvind

    hi while try ing to up load Junos iam getting following error.

    scp [email protected]:xxxxx\jinstall \var\tmp

    ssh: connect to host 10.0.2.2 port 22: Operation timed out.

    I thought my antivirus firewall might be blocking the udp and t cp p ackets so disabled that and t ried .. then also i was unsuccessful pl help here.

    No ve mb er 21, 2010 at 00:58

    Carlos M

    FTR, the pcap check in the patch is wrong.

    Compiler barfs at not caster int return and also,

    the $TMPC should be abefore the $LIBPCAP for the test compile to work.

    No ve mb er 28, 2010 a t 23:11

    Max Dece mb er 17 , 2010 at 02:23

    http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-1172http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-1034http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-973http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-971http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-964http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-936
  • 5/23/2018 Olive Reloaded or How to Emulate Juniper Routers _ GNS3 Page 5

    http:///reader/full/olive-reloaded-or-how-to-emulate-juniper-routers-gns3-pag

    7/2/2014 Olive reloaded or how to emulate Juniper routers | GNS3

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

    Does anyone running this on a MAC OS X 10.6 know the replacement option for -cdrom in the QEMU command:

    qemu -m 256 -hda olive-base.img -cdrom 4.11-RELEASE-i386-miniinst.iso \ -boot d -localtime

    /Volumes doesnt work. Us ing the mount point doesnt work. I had t his working on 10.5, but remember -cdrom didnt work.

    Any help is appreciated!

    Thanks!

    Aamir Maqbool

    Hi, Ive installed the olive by following the above procedure. However Im facing currently t wo p roblems.

    1. I configure the Juniper Router in GNS3 and commit changes bye using commit command. But it does not take effect. until unless I reload all the routers.

    2. Im unable to find s erial interfaces, ATM interfaces & Sonet interfaces.

    Can Anyone p rovide me the help regarding this.

    Janua ry 13, 2011 at 09:51

    Cristian Vnd

    Resolved JUNOS image upload p roblem :

    My settings

    - tap-interface with DHCP : ip taken 10.0.2.16

    - Core FTP (mini-sftp -server) to up load your junos image (username=user,password=user)

    then

    sfttp [email protected]:jinstall-8.5R1.14-domestic-signed.tgz /var/tmp

    from your freebsd VM

    March 2, 201 1 at 02:35

    Ryan

    Im not able to proceed with the following command:

    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

    It p roduces a stderr.txt file containing:

    qemu: invalid op tion `-daemonize`

    If I remove this option, it produces another error:

    qemu: could not open monitor device `stdio`

    Anyone else having this same issue?

    Marc h 26, 2011 at 12:52

    neor

    Where do I put this command

    qemu-img create -f qcow2 olive-base.img 4G

    July 16, 2011 at 22:47

    jomih

    Hi to all,

    Ive tried to emulate JUNOS in GNS3 without success.

    When I use t he command qemu -m 256 -hda olive-base.img -boot c -localtime \ -net nic -net t ap,ifname=tap0 -net nic,macaddr=00:aa:00:60:01:01,model=e1000 -net us er

    (in Ubuntu 10.04) and after creating the tap interface with tunctl, I get t he following message:

    cant add tap0 to bridge wlan0: operation not supported

    Ive tried to do it using the eth0 interface instead of wlan0, but I got t he same results.

    can anyone t ell me whats wrong??

    Thanks!!

    July 19, 2011 at 06:29

    http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-4130http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-4129http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-4091http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-4082http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-3004
  • 5/23/2018 Olive Reloaded or How to Emulate Juniper Routers _ GNS3 Page 5

    http:///reader/full/olive-reloaded-or-how-to-emulate-juniper-routers-gns3-pag

    7/2/2014 Olive reloaded or how to emulate Juniper routers | GNS3

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

    Older Comments

    Trackbacks /Pingbacks

    GNS3 0.7RC1 | El mundo de IMD

    GNS3 Announcement: GNS3 Technical Blog | GNS3 Labs ::

    Cisco Router Simulator Network Topologies

    GNS3 Announcement: GNS3 0.7RC1 Released! | GNS3 Labs ::

    Cisco Router Simulator Network Topologies

    GNS3 0.7RC1 Released! ( nov 30 news! ). CCIE Quest.

    How to emulate Cisco ASA | GNS3

    GNS3 supporte maintenant JunOS ! | Telecom-Reseaux

    GNS3 0.7rc1 supports JUNOS Lets try it out (Part 1)

    Technology, Computers, Networking, IT, Educational, Plus stuff

    that I like

    CCIE Sec Vracks - So Do You Want to be a CCIE? -

    2bccie.com

    CCIE Quest

    Gns3 0.7.1-2 on Ubuntu 10.04 LTS [the easy way]

    Technology, Computers, Networking, IT, Educational, Plus stuffthat I like

    JNCIA-M/JNCIS-M sample exams & lab kit? - TechExams.net

    IT Certification Forums

    Belajar mengemulate JUNOS di GNS3 Iwing's Blog @_@

    Juniper router in GNS3 - TechExams.net IT Certification Forums

    How to Emulate CISCO ASA Learning Network

    How to Emulate CISCO ASA Just Sharing

    How to install Vyatta 6.1 Core LiveCD on Qemu image in Linux

    Brezular's Technical Blog

    JUNOS in GNS3 Internet Protocols

    Cisco Dynamips and Juniper Olive: A little clarity on router

    emulators, please - The Network Hub

    How to setup Linux Microcore 3.x Router Qemu Image in Fedora

    Linux part1 Brezular's Technical Blog

    GNS3 Qemu Troubleshooting Brezular's Technical Blog

    Leave a Reply

    jos em

    hi,

    once olive is loaded, I configure an ip address for the en0 interface and do a commit but the check-out fails with this message:

    vci/vpi/allow-any-vci is required

    how is this possible if my interface is en0?

    Se pte mb er 23, 2011 at 21:09

    http://blog.gns3.net/2009/10/olive-juniper/comment-page-3/#comment-4146http://brezular.wordpress.com/2011/04/02/gns3-qemu-troubleshooting/http://brezular.wordpress.com/2011/01/26/how-to-setup-linux-microcore-3-x-router-qemu-image-in-fedora-linux-part1/http://itknowledgeexchange.techtarget.com/networkhub/cisco-dynamips-and-juniper-olive-a-little-clarity-on-router-emulators-please/http://ippoint.wordpress.com/2010/10/04/junos-in-gns3/http://brezular.wordpress.com/2010/09/25/how-to-install/http://ji8an.wordpress.com/2010/08/27/how-to-emulate-cisco-asa/http://learnboutnetwork.wordpress.com/2010/08/25/how-to-emulate-cisco-asa/http://www.techexams.net/forums/juniper-certifications/56994-juniper-router-gns3.html#post438272http://iwing.wordpress.com/2010/06/21/belajar-mengemulate-junos-di-gns3/http://www.techexams.net/forums/juniper-certifications/54624-jncia-m-jncis-m-sample-exams-lab-kit.html#post414638http://sushantwagle.wordpress.com/2010/05/16/gns3-0-7-1-2-on-ubuntu-10-04-lts-the-easy-way/http://www.brainbump.net/2010/02/gns3-0-7-released-kudos-to-gns3-team/http://www.2bccie.com/cisco-certification/ccie-ccie-sec-vracks.htmlhttp://sushantwagle.wordpress.com/2009/12/30/gns3-07rc1-supports-juniper-part1/http://www.telecom-reseaux.net/outils/gns3-supporte-maintenant-junos-550http://blog.gns3.net/2009/12/how-to-emulate-cisco-asa/http://stuckinactive.wordpress.com/2009/12/02/gns3-0-7rc1-released-nov-30-news/http://www.gns3-labs.com/2009/11/30/gns3-announcement-gns3-07rc1-released/http://www.gns3-labs.com/2009/11/30/gns3-announcement-gns3-technical-blog/http://mundoimd.com/2009/11/29/gns3-0-7rc1/http://blog.gns3.net/2009/10/olive-juniper/comment-page-2/#comments
  • 5/23/2018 Olive Reloaded or How to Emulate Juniper Routers _ GNS3 Page 5

    http:///reader/full/olive-reloaded-or-how-to-emulate-juniper-routers-gns3-pag

    7/2/2014 Olive reloaded or how to emulate Juniper routers | GNS3

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

    Name ( required)

    Mail (will not be published) (required)

    Website

    Submit Comme nt

    Back to T 2014 GNS3 Proudly powered by WordPress & Green Park 2 by Cordobo

    http://wordpress.org/