0.2.7-RC1 - PowerPC platforms

Hello all,

The 0.2.7-RC1 release is available. It mainly introduces support for the PowerPC architecture. You will be able to mix MIPS and PowerPC platforms in the same hypervisor instance.

New platforms, port adapters and features:

  • Cisco 2600 platform. Possible Network Modules: NM-1E, NM-4E, NM-1FE-TX, NM-16ESW. NM-4T is not supported. This platform is very good for “CE” routers (less memory and less CPU power used) in your labs. Don’t forget to set the appropriate amount of RAM for recent IOS images ;
  • Cisco 7200 NPE-G2: basically working (excepted integrated GigabitEthernet ports), but not recommended for common use (a lot of bugs remain) ;
  • Cisco 7200 new Ethernet Port Adapters: PA-2FE-TX (2 FastEthernet ports), PA-GE (1 GigabitEthernet port), C7200-I/O-2FE/E, C7200-I/O-GE+E. These PA and IOcards are based on the Intel i82543 chip, which is incompletely emulated. Please let me know if you encounter strange problems with them.
  • Greg Anuzelli added support for PCAP capture on virtual interfaces. You can capture Serial (Cisco HDLC, PPP, Frame Relay) and Ethernet packets. ATM is not supported. This will require a Dynagen upgrade.
  • “Sparse memory”: this feature will allow to start more routers per hypervisor instance. The virtual memory is only allocated when required, and Ghost RAM is loaded only once (if used). This will also require a Dynagen upgrade.

Bug fixes:

About the switch platforms (3550, 3560, …), please read http://7200emu.hacki.at/viewtopic.php?t=658 , whose the conclusion is that without the help of Cisco Systems, it is probably impossible to do it (specific ASICs, POST tests at boot, etc.)

Files:

0.2.7-RC1 binary for Linux x86 platforms

0.2.7-RC1 binary for Linux x86_64 platforms

0.2.7-RC1 binaries for Windows XP and 2000

0.2.7-RC1 source code

Chris.

212 Responses to “0.2.7-RC1 - PowerPC platforms”

  1. Mr. Loopback Says:

    Thanks a lot Chris for all your effort. God bless you!

  2. sebastan Says:

    hi chris thanks a lot for the new release man.

    chris in the new release notes u have not mentioned which 2600 model is emulated and how to use them any special swiotches to activate them or so.

    can u pls provide us with the details for it.

    regards

    sebastan

  3. marwooj Says:

    Thank you !!!

  4. Terry Says:

    Excellent work - thanks!

  5. carth Says:

    Wow chris

    excellent

  6. Marpione Says:

    Once again,

    thank you so much for the new release. You’re the man!

    Marpi

  7. Marpione Says:

    Hey sebastan.

    the dev_c2600.c says:
    { “2610″ , “CISCO2600-MB-1E” , 0×0091, TRUE },
    { “2611″ , “CISCO2600-MB-2E” , 0×0092, TRUE },
    { “2620″ , “CISCO2600-MB-1FE” , 0×0094, TRUE },
    { “2621″ , “CISCO2600-MB-2FE” , 0×00a2, TRUE },
    { “2610XM” , “CISCO2600-MB-1FE” , 0×036a, TRUE },
    { “2611XM” , “CISCO2600-MB-2FE” , 0×036b, FALSE },
    { “2620XM” , “CISCO2600-MB-1FE” , 0×036c, TRUE },
    { “2621XM” , “CISCO2600-MB-2FE” , 0×036d, FALSE },
    { “2650XM” , “CISCO2600-MB-1FE” , 0×036e, TRUE },
    { “2651XM” , “CISCO2600-MB-2FE” , 0×036f, FALSE },

    These are the new supported models

  8. hktco Says:

    Love to see you back to the blog! Thanks for your effort!

  9. digital Says:

    Thank you so much Prof. Chris!!!

  10. myios Says:

    thanks! you are grate.haha!

  11. sad Says:

    great work thanks

  12. lotus Says:

    thank you very much again. chris.

  13. Spalter Says:

    Hi Chris,
    Thanks a lot for all your work.
    I have access to a big Cisco LAB. Please let me know if you need some hardware infos (Pictures of some cards, … whatever).

  14. lost-bit Says:

    Chris:

    Your emulator platform is, without any doubt, amazing and the best.

    Thank you for your permanent effort and excellent work.

  15. Sean Says:

    I’ve been building RPMs for FC6 of both Dynagen and Dynamips. If someone could host them, I’d be happy to provide the rpms and srpms.

    Sean

  16. gl3nlea Says:

    Chris
    A million thx. You are great great.

  17. sebastan Says:

    hi Marpione could u pls tell me how to use them . i mean what switches i need to use in dynamips. i don;t use dynagen.

  18. sebastan Says:

    hi chris is it possible for ur to get the 4-t card also working for serial interfaces. it will be great . thanks a lot for this great innovation.

    regards

    sebastan

  19. Frank Says:

    Want also to say: Thanks. Great. :-)

  20. sebastan Says:

    hi chris can u pls specify the 2600 router models which are supported in this release. are the the normal 2600 series routers or the XM series routers.

    i tried loading both of them it starts with loading and then says shutdown.

    none of them seems to work.

    can u pls help.

    regards

    sebastan

  21. chris Says:

    sebastan> To display the models, just use “dynamips -P 2600 -h”. You set the model with “-t” option (like “-t 2610XM”). Uncompress the image before booting it, there are problems to boot compressed images directly.

    Thanks to all for the nice words.

  22. Onemore NPE Says:

    Great job !

  23. sebastan Says:

    hi chris thanks a lot . i hope u could add that switch thing in the release note. it will be really helpful to people.

    chris could i just ask u is there is a difference between the 2610xm and 2611xm models. i guess both the XM models are based on the same hardware architecture.

    cause i could see u could make 2610xm,2620xm and 2650xm and not the odd series. i was just wondering .

    chris i have also asked helped from people in linux-mips.org. to find out abt any hardware level debuggers which could tell us abt how we can guess the hardware architecture with the post test and all.

    have u checked out that site. they have added many links to ur site. as a example for mips emulator.

    i think u could get help from people in that forum.

    i know that the switch thing is impossible without cisco;s help but i am still trying for some help.

    i guess even the pictures of the chipset won;t be of any use to u right.

    if they could help u chris pls let me know. so i can send them to u .

    waiting for ur reply chris.

    regards

    sebastan

  24. Reza Says:

    Thanks a lot Chris

  25. VOICE Says:

    Thanks a lot Chris for all your effort. God bless you!
    Chris ,I found “NPE-G2″and”C7200-IO-GE-E”does not work ,”PA-2FE-TX”"PA-GE”"C7200-IO-2FE”and 2600 platform work very good.

  26. longhorn88 Says:

    hi chris, I try to use 2600 platform ,it seems does not work.What is the problem?

    C:\test>dynamips -P 2600 -t 2621 -r 128 c2600-advsecurityk9-mz.123-4.T6.bin
    Cisco Router Simulation Platform (version 0.2.7-RC1-x86)
    Copyright (c) 2005-2007 Christophe Fillot.
    Build date: Feb 14 2007 18:51:35

    Virtual RAM size set to 128 MB.
    IOS image file: c2600-advsecurityk9-mz.123-4.T6.bin

    CPU0: carved JIT exec zone of 16 Mb into 512 pages of 32 Kb.
    NVRAM is empty, setting config register to 0×2142
    C2600 instance ‘default’ (id 0):
    VM Status : 0
    RAM size : 128 Mb
    NVRAM size : 128 Kb
    IOS image : c2600-advsecurityk9-mz.123-4.T6.bin

    Loading BAT registers
    Loading ELF file ‘c2600-advsecurityk9-mz.123-4.T6.bin’…
    ELF entry point: 0×80008000

    C2600 ‘default’: starting simulation (CPU0 IA=0xfff00100), JIT enabled.
    ROMMON emulation microcode.

    Launching IOS image at 0×80008000…
    Self decompressing the image : #################################################
    ################################################################################
    ########################################################################### [OK]

    8`Shutdown in progress…
    Shutdown completed.

    C:\test>

  27. wangzb Says:

    You’re best!

  28. PK Says:

    Sebastan : stop moaning about things you clearly don’t understand. If there won’t be a catalyst emulator, get over it and get on with your life, and stop harassing Chris about it. BTW, your continued use of ‘u’ and ‘ur’ instead of ‘you’ and ‘your’ is not exactly a proof of intelligence/etiquette.

    Chris, great work. I’m amazed.

  29. ErikEspo Says:

    Chris you ROCK! Some people don’t really know or appreciate what you have done and want more modules and more chassis. but these are the people that don’t know the difference between any of them anyway and would be better served by Boson. HA. Keep up the good work

  30. supergoodd Says:

    Thanks Chris

  31. vovcher Says:

    Great work,

    but not only built-in Gigabits don’t work.

    “no shut” on the build-in interfaces of C7200-IO-2FE leads to IOS (12.0(32)S6) hang-up. Comman line just stops.

  32. vovcher Says:

    But this happens only when the socket is bound to built-in FEs.
    If there is no socket bound - box survives no shut… Though such interfaces are useless…

  33. sebastan Says:

    hey pk i am not complaining abt anything . i am just asking abt things that would be required for emulating the catalyst. i got resources by which i can help what he is looking for. but i just wanted to know what will be required for that.

    i am not cribing abt any module and chassis i am very much happy with dynamips and what chris has given us. i am using it everyday for 5 to 6 hrs.

    u don;t tell me that i am asking for more and more like other.s

    regards

    sebastan

  34. kand Says:

    Hi, Chris,

    My high regard to you…your work has helped a lot people…

    Had no issue so far with x86/_64, lab running fine, but perhaps need a little direction for PPC related issue.

    I encountered some error when compiling using powerbook G4.
    It related to rom2c.c and utils.h

    Some parse error, undeclared and incompatible implicit declaration.

    Does it need certain version of gcc compiler or else ?

    any advice or direction would appreciated..

    Again, thanks to Chris….

  35. Wolfie Says:

    Chris, many thanks for yout great works…..
    Is any update available for Dynagen?

  36. Zerich0 Says:

    I would like to thank you fo your try and your offer. Great job for one more time.
    You’re helping me a lot.

    Zerich0

  37. chuks Says:

    Chris, thanks for all your effort. This software is really amazing
    I am getting addicted to dynamips!!!!

  38. Skipe Says:

    Chris,
    thank you very much for stil workning on with this project.
    And I am also glad to hear you again :)!
    Skipe

  39. Skipe Says:

    Chris,
    about NM-4T and 26xx. It is unsupported by the real 26xx hardware so I think it will be impossible to emulate it on the not supported platform. The only hardware exclusion from 26xx is 2691 for which it is supported.
    http://www.cisco.com/en/US/products/hw/routers/ps259/products_data_sheet09186a0080091b8b.html
    Table 8. Supported Platforms

    Skipe

  40. Beat Says:

    hay PK
    leave these PK kind of things in PK this is an international forum bro. :)

  41. tarugok Says:

    Chris and Greg, Good Men You Are!

    I salute you guys for such an amazing works…

    More power to you!

  42. Mihai Says:

    Thanks for the new release. I have one question: If i want to use the 2600 with dynagen, it requiers a new release of dynagen? Becaue:

    dynagen lab1.net

    Reading configuration file…

    fujitsu, router R2, model = the value “2600″ is unacceptable.
    fujitsu, router R1, model = the value “2620″ is unacceptable.

    Thanks

  43. Zerich0 Says:

    I’ve the same problem like Mihai.
    Any idea about the new version of Dynagen?

    Thanks!

  44. digital Says:

    of course guys it won’t woooooooork! Didn’t you read Chirs release notes? and by default and by common sense, any NEW features WILL require and updated DanyGen because ultimately the current release cannot understand that Prof Chris has made it possible to run the 2600 and neither it can update itself by itself! :D

    Greg Greg, there is a new release of Dynamips! where are you brother!! :) I can’t wait to test the new ghost RAM feature! Can it make me run 20 Routers at one time on my dying PII PC with 64RAM?! ahhahahha that will be swwwweet! :D

  45. yLke Says:

    Hi Chris, thanks a lot for this tool! This makes my life way easier at Cisco TAC :) finally I have the time to do my lab tests without wasting my time searching or waiting for a free equipment :)

    Thanks again! Keep it up!

  46. PK Says:

    Hey Beat, who’s the wanker here ? Guess it’s you :

    Beat Says:

    December 7th, 2006 at 7:44 pm
    thanx for the new release u rock man.what about COS and multcasting in NM module are thay working ?

    Beat Says:

    January 17th, 2007 at 2:15 pm
    is NM-16ESW module supporting COS and Multicast ?

    Beat Says:

    January 17th, 2007 at 2:16 pm
    i am talking about the dynamips i know real module support it

    thanx in advance

    Beat Says:

    January 20th, 2007 at 8:40 am
    jxsky>no but chris is working on it and i hope he will do it. as we know he is the most intelligent guy in history of networking he is a legend.

    Beat Says:

    February 8th, 2007 at 11:30 am
    we will not leave u like that chris u have help us just for nothing so we love u for nothing. if u are not making any more updates not aproblem bro but keep in touch.

  47. Brian Says:

    Hi, does anyone know if I can run other image versions than just IOS Base? Do Enterprise Services, Advanced IP Services, etc. work? What about VPN/IPS/3DES featuresets? Thanks.

  48. Greg A Says:

    Hey guys,
    With a little luck I’ll have an updated Dynagen out on Sunday. I’ve been working with Chris during the 0.2.7 process but I still have a few things to clean up before I can cut a good release.

  49. digital Says:

    Very nice Dr. Greg! :) and thank you so much again!

  50. sad Says:

    PK =====> STOP it dude, you are a trouble maker in here.

    we been here since ages and never had to tell others bad stuff, so please respect this place and respect the people in here who have been helping others.

    We all love Chris, so stop making your self as his body guard !!!! please you drivig the froum into silly nonsense by ur posts.

    Chris great job, thanks man and we waitting on greg to upload the stuff.

    regards

  51. CCIEbydynamips Says:

    hi Chris,

    I am problem loading 2650XM router with 12.4(11)T image.

    error output is here
    http://img71.imageshack.us/my.php?image=2600erroruu0.jpg

  52. gl3nlea Says:

    Thanks Greg,

    We are all waiting for your update.

  53. VOICE Says:

    DynamipsGUI 2.3 update http://xiaofan4444.vdisk.cn/SHARECLUB/showshare.php?sid=42715
    English edition

  54. Beat Says:

    PK take it easy bro. do u see what “Sad” says read again we all love Chris so please calm down and dont mess up this forum with ur b**l sh**
    thnx

  55. CLRGomes Says:

    Dear All
    CCIEbydynamips, I saw your msg, and I have the same problem, if you try with normal IOS, without descompressed, there is diferent result, but it can not load.

    ############ [OK]
    KÿûÉ/Æ’Shutdown in progress…
    Shutdown completed.

    Chris, thanks a lot, dynamips is amazing.
    Please could you help us with 2600 router model?
    Thanks

    CLRGomes

  56. Olivier Says:

    Chris, great job ! Do you think it’s possible to run NPE-G2 image natively on a Mac Mini for instance since it’s using the exact same CPU ?

  57. ccie33 Says:

    VOICE, do you have a direct link. Can’t find the download link. Nothing in English !!! sorry

  58. _ali_ Says:

    we love you, man! :D

  59. odin81 Says:

    hi chris..
    thx for the update and the capture thing, thats realy usefull.
    i’ll test it if the new dynagen verison is out.

  60. Tim Says:

    Waw, Really waaw. This guy is a genius, so give the genius some time to work and amaze us.

  61. Network.Freek Says:

    Hi Chris,

    Thank you for the new release. Your work is very invaluable for me. Keep the faith for the 3550 and 3560. Hopefully, Cisco Systems (or maybe other people) can give help for the POST test at boot, the specific ASIC etc.

    I can run a 2600 IOS with just 16MB RAM. Impecable!

    Little question, how to include NM-16ESW module in 2600 platform?

    Which 2600 IOS can run NM-16ESW module? I have tested some old IOS whit no result.

    Thank you

  62. VOICE Says:

    ccie33,there is direct link about DynamipsGUI 2.3 download
    http://www.vdisk.cn/API/fileq.php?sid=2152222.1171790060.1235690503

  63. Cake Says:

    Wow,

    Looks like PK’s been a naught boy!. Just ignore the comment since one bad apple does not always ruin the bunch.

    I wonder if the current dynagen can handle the new changes? There is no news on the dynagen site. Hmmm just thinking…

  64. saddad Says:

    Network.Freek ===> how you can run it ?
    i keep getting error that the module cant work, did Greg uploaded he new release ???

  65. sad Says:

    Network.Freek ====> you cant include the NM-16ESW module in 2600 platform i guess, coz its only supported on 36xx routers, please anybody confirm am giving right infos.

    still waitting on someone to tell me how they able to run the 2600 router since the new relase did not published yet !!

    waitting on any help please

  66. Network.Freek Says:

    Sad, Saddad.. simple Men,

    dynamips-xp -r 16 –idle-pc=0×80262c3c -P 2600 ..\C2600-i-.BIN

  67. Network.Freek Says:

    Hi,

    I am very interrested to test the 2600 platform.


    From Chris’ announcement:
    Cisco 2600 platform. Possible Network Modules: NM-1E, NM-4E, NM-1FE-TX, NM-16ESW. NM-4T is not supported. This platform is very good for “CE� routers (less memory and less CPU power used) in your labs. Don’t forget to set the appropriate amount of RAM for recent IOS images ;

    NM-16ESW is supported in Cisco 2600 platform. But as I have said, I’ve tried this module on some old 2600 IOSes with no success. Need try newer 2600 IOS to get the benefit of this switching module on 2600 platform.

    It will be also awesome to have serial interface module working with 2600 IOS. Is there serial interface module supproted in 2600 platform?

    Many thanks

  68. ccie14745 Says:

    Support for NM-16ESW apparently extends to all 2600 series routers based on: http://www.cisco.com/en/US/products/hw/routers/ps259/products_data_sheet09186a00801aca3e.html

    This worked for me:

    dynamips-wxp.exe -P 2600 -r 64 -X -p 1:NM-16ESW C2600-IS.BIN

    I decompressed IOS 12.3.22 IP Plus, which seems to support the module just fine.

  69. Network.Freek Says:

    Thank you ccie14745. I’ve just tried some new IOSes and nm-16esw is recognised using just 48MB RAM. This is one example that tested and worked:
    dynamips-w2000 -r 48 -P 2600 –idle-pc=0×804b0cc0 -X -p 1:NM-16ESW ..\C2600-ip.BIN
    the IOS is c2600-ipbase-mz.123-19.bin

    Now I want to simulate frame relay with 5 virtual 2600s. The problem is, I still don’t know how to simulate serial interface in each virtual 2600.

  70. MyOwn Says:

    just to say thanksssssssssssss ………… although as usual i am late:) was busy with some CCSP stuff.

    Thanks again for this “Dynamite”.

  71. MyOwn Says:

    cisco Etherswith comparison for different models.

    http://www.cisco.com/en/US/products/hw/routers/ps259/products_qanda_item0900aecd802a9470.shtml

    HTH

  72. SmartmarZZ Says:

    Thx a lot Chris!

    Amazing Tool !!!

    CU
    SmartmarZZ

  73. jumbo Says:

    yLke,
    geeze are you really working on cisco TAC? What about trying to talk to somebody “influential” over there about Chris’s issues with POST tests for 3550 (details over here: http://7200emu.hacki.at/viewtopic.php?t=658)?

    Or somebody has a better idea?

    jumbo

  74. Greg A Says:

    I just released Dynagen 0.9.0. Changes:
    * Added packet capture, via the “capture” command. Capture files are written to the host on which the dynamips server is running in PCAP format (i.e. can be opened with tcpdump, Wireshark, etc.). I’ll add a more detailed walkthrough of this feature in the tutorial soon.
    * Added support for all the new 2600 models Chris just added
    * Added support for sparsemem. Enable with “sparsemem = true” at either the top level of the network file or in the device defaults or device section
    * Support for the new adapters for 7200s: PA-2FE-TX, PA-GE, C7200-IO-2FE, C7200-IO-GE-E. Specify the new IO cards with “slot0″ options, and the new adapters with “slotx” options, where x is 1-6.
    * Support for the new NPE-G2

    It turns out Sourceforge is having an extended outage of their ssh access (for the past few days and possibly extending until the 21st!) which means that web pages cannot be updated. So I’ve temporary thrown up a new page for Dynagen at http://dynagen.googlepages.com until I have the time to put together something more permanent. So please look there for the new release.

    Finally, at the gracious insistence of some really great folks here at the blog, forums, and via emails I’ve decided to accept donations via Credit Card / PayPal via the web site. I’ll use the funds for the betterment of the Dynagen project (for example, to replace my aging P4 development / dynamips server, acquire Cisco hardware, etc). Dynagen is (and will remain) free, so please do not feel obligated. But if the existence of the project has helped you out (e.g. saved you money in purchasing CCIE study equipment) and you feel like showing your gratitude donate whatever you feel is fair. And hopefully Chris will get a donate button set up on his site soon so folks can send some well deserved gratitude his way too.

  75. carth Says:

    VOICE,

    with given URL I couldn’t find the download button for DynamipsGUI 2.3

    could you provide us link like rapidshare or megaupload?

    I am sorry i don’t know, can i ask for rapidshare link here.

  76. Mihai Says:

    Hi,

    Greg, is the new release of dynagen supporting the NM-16ESW in 2600?
    I don`t have problems with NM-16ESW if i start it directly in dynamips:

    dynamips -P 2600 -r 128 C2600-IP.BIN -X -p 1:NM-16ESW –idle-pc=0×806e349c
    Cisco Router Simulation Platform (version 0.2.7-RC1-x86)
    Copyright (c) 2005-2007 Christophe Fillot.
    Build date: Feb 14 2007 18:38:15

    X.25 software, Version 3.0.0.
    1 Ethernet/IEEE 802.3 interface(s)
    16 FastEthernet/IEEE 802.3 interface(s)

    If i start it from dynagen, i receive :

    Unexpected exception to CPUvector 300, PC = 80125128
    -Traceback= 80125128 80122D60 8047A1B4 80115758 80115758 8047A274 806C4A38 806C4A2C 806C4B8C 804792D0 8047C808

    I tried with 2 pc, the error is the same.

    Thanks.

  77. vman Says:

    Nice work Chris, and Greg. Both your utils/apps/programs are more than helpful. I use them both in daily working life to test router configurations.

    I have asked this before and didn’t see any response. Is it possible to simulate/emulate the PIX platform (PIX 505, 515, 515E, 525, 535)? If these could be emulated it would be awesome.

    Keep up the good work everyone who is developing for this wonderful simulator and associated apps.

  78. Greg A Says:

    Can you post a section of your lab that recreates the problem? I’ll take a look at it.

  79. digital Says:

    Greg, i guess people did not get your option with the 2600! Maybe they put [2600] instead of [2650XM] for example! That “XM” is the whole story guys! :D

  80. digital Says:

    BUT! I got strange results (my console becomes something like faulty TV screen :)) when i use the follwoing config:

    [localhost]
    [[2651XM]]

  81. dam1on Says:

    Hi all,

    I’ve been running dynamips for a while and got use to the cli implementation. Is it worth while converting my understanding to dynagen? Or can I still do most things with the cli? I’m just wondering if I’m missing something :).

    As alway, love ya work Chris,

    D

  82. digital Says:

    Dr. Greg,
    I’m getting this error:

    Unexpected exception to CPUvector 300, PC = 804A4A1C
    -Traceback= 804A4A1C 804A2350 8042E914 80495000 80495000 8042E9D4 8028B034 8028B034 8028B128 803D5A24 803C9E88 803C9324 803C8F8C 8038200C 80394E28 80430F78

    My Net configuration lines are:

    [localhost:7201]
    udp = 11000
    [[2651XM]]
    ghostios = True
    sparsemem = True
    image = c2600-is-mz.122-13.T16.bin
    ########################
    [[ROUTER BB1]]
    model = 2651XM
    console = 2009
    idlepc = 0×8073b8c0
    ram = 64
    e1/1 = S1 1
    #######################

    The IOS loads normally but once i “unshut” the f0/0 interface the IOS crashes!

    Thank you

  83. ccie14745 Says:

    Chris makes it very plain that half of the XMs are working yet. I would only play with these features if you intend on helping Chris work out the bugs involved. Until serial connectivity is implemented, the 2600 routers aren’t useful in most topologies anyway.

    Output from “dynamips.exe -P 2600 -h”

    Available C2600 chassis drivers:
    * 2610
    * 2611
    * 2620
    * 2621
    * 2610XM
    * 2611XM (NOT WORKING)
    * 2620XM
    * 2621XM (NOT WORKING)
    * 2650XM
    * 2651XM (NOT WORKING)

  84. Mihai Says:

    I use a very simple config :

    [localhost]

    [[ROUTER R1]]
    image = /home/mihai/IOSEMU/C2600-I-.BIN
    idlepc = 0×803c934c
    ram = 128
    model = 2620
    slot1 = NM-4T
    f1/0 = R2 f1/1
    mmap = false

    [[router R2]]
    image = /home/mihai/IOSEMU/C2600-IP.BIN
    idlepc = 0×806e349c
    ram = 128
    model = 2620
    slot1 = NM-16ESW
    mmap = false

    dynagen starts without problems, the only problem is that telnet R2 gives :

    Unexpected exception to CPUvector 300, PC = 80125128
    -Traceback= 80125128 80122D60 8047A1B4 80115758 80115758 8047A274 806C4A38 806C4A2C 806C4B8C 804792D0 8047C808

    In dynamips i don`t have errors:

    dynamips -P 2600 -r 128 C2600-IP.BIN -X -p 1:NM-16ESW –idle-pc=0×806e349c
    Cisco Router Simulation Platform (version 0.2.7-RC1-x86)
    Copyright (c) 2005-2007 Christophe Fillot.
    Build date: Feb 14 2007 18:38:15

    X.25 software, Version 3.0.0.
    1 Ethernet/IEEE 802.3 interface(s)
    16 FastEthernet/IEEE 802.3 interface(s)

  85. dam1on Says:

    I’d just like to point out to those studying for CCIE labs. Serial is important, but only a very small part of the real exam. Routing, switching, QoS, Multicast, etc which all run on the less resource hungry 26xx

    Also the only main difference between the 26xx and the XM is processor performance, memory and DSP, which I don’t really think is that relevant for most scenario’s (correct me if I’m wrong). If you need serial use a couple of 7200’s for the frame cloud and 2600’s connected for everything else.

    Just thought I’d mention.

    D

  86. zerich0 Says:

    Thanks a lot Greg for your help.
    I tried to configure a C2600 (C2620 XM) with a NM-4E interface but only one interface (E0/0) was available all the rest
    interfaces were not.
    I was trying this using two different ios images (c2600-adventerprisek9-mz.123-14.T7.bin, c2600-jk9s-mz.123-22.bin) but the result was the same.

    Any idea?

    Thanks a lot
    zerich0

  87. yLke Says:

    Jumbo,

    If I could I would help but i cannot .. since i’m on the TAC, my account is limited to TAC resources, and has no access to engineering notes/documents..
    So just like everybody else, I’m hoping that some day some other gays pops up with the requested information :)

    anyway, Chris if there’s anything I can do to help you let me know

  88. yLke Says:

    sorry for the misspelling, i guess it’s still too early in the morning :)

  89. Greg A Says:

    digital,
    LOL I see what you mean about the “TV screen”. Errors scroll by so fast it looks like static. There is a problem with some of the newer images (ones that can typically only be used on XM routers). Chris has fixed this and the next version should contain the fix.

  90. Greg A Says:

    Regarding the NM-16ESW, it seems to be touch and go depending on the IOS image set. For example, it works fine for me using 12.3.22 IP Plus on a 2621, but it is not recognized on a 2610 using IP/FW/IDS PLUS IPSEC 3DES BASIC. In this case you see the module in a show diag, but it is not recognized. I would guess this is an IOS issue, not a dynamips issue, because I see it in the show diag.

  91. Greg A Says:

    zerich0,
    The NM-4E showed up in the config for me in a test I just did using a 2620XM. I was using 12.4(12) advanced ip services. By the way, don’t forget to increase the RAM allocated to the router if need be. By default dynamips only allocates 64 MB and some images will need more than that.

  92. netics Says:

    Hi Guys
    i maybe wrong on this
    but after the sparse mem option - has anyone noticed any increase in the CPU consumption
    or maybe its just me

    Chris- You Rock!!!! merci beaucoup

    thanks
    -me

  93. mike Says:

    Chris
    I believe you have done a great and a lot of work on the cisco router, we own you a lot on your personal efforts.
    do you have any plan to develop something similar on a Juniper router ? like M5 ?

  94. digital Says:

    Yes i did notice “a little” increase but that’s O.K!
    Sparse mem option reduced my “mem” consumption from “4GB PF” to only 1.2GB! This is an amazing improvement!

    The ability to fix bugs and improve the overal performance AND adding new router models in just 2 months that’s more amazing than the “DynaLove” itself! :D

    Chris, what do you eat man? Maybe i should eat the same food! heheheheh :)

  95. netics Says:

    Chris Chris,
    I tried “sparseCPU= true” and “bringback_PentiumII_toLife = true”
    and said dynamips “stop asking too much too soon”

    Thanks for the new release- the memory consumption has just reduced dramtically-
    Amazing work, Chris
    Truly wonderful

    cheers!

  96. hris Says:

    Does the sparsemem feature work with the real memory(mmap=false) ?

  97. sada Says:

    can you help me;

    i have installed 0.2.5 it works, but how i can upgrade, i have dropped the files in the directory but i still get msg.
    Error: Unknown command ’set_con_tcp_port’

    plz help

  98. digital Says:

    sada, i don’t see any reason to delete the old version before installing the newer one! even if you did, installing the new version should put every file back to its normal place!! For upgrading, just double-click on the .exe setup file and follow the instructions to install! :)

  99. Zerich0 Says:

    Greg,
    I think that I found the error. When I put the NM-4E interface in slot 1 everything was ok and the 4 ethernet interfaces were available plus 1 FE in 0/0 (by default I think).

    When I put it in slot 0, only one interface (E0/0) was available.
    Thanks for your help!
    zerich0

  100. Mark Says:

    dam1on - IMHO, having spent a lot of time trying to figure out how to get the command-line options to work with DynaMIPS, I think it is better to use DynaGen. There are some things which are just easier, like the application of the idle_pc value dynamically (maybe this is a hypervisor feature, which I haven’t fooled around with in command-line mode). Also, the using INI-type files helps to draw out your configuration in a relatively easy-to-picture-and-parse format. No having to worry about ports, etc., also makes life easier, and so I also grappled with whether I wanted to beat my head against a wall to work out the command-line issues (syntax, ordering, ini-file maintenance, etc). Also, since the learning curve for DynaGen is so slight, you lose nothing by the small investment in giving it a try.

  101. dam1on Says:

    Mark> I’m already using idle-pc, and other “features”, i.e.

    -X
    -G
    -idle-pc
    -b
    -f

    So is there any benefit moving to dynagen? i.e. am I missing something other than just simplification? There’s mention of “sparsemem” and CPU, and somebody mentions a mem saving from 4gb down to 1.5. I run around 4 routers on a macboo pro, with 1gb of ram just fine (apart from the heat :(

    Ta for feedback,

    D

  102. Matthew Says:

    thanks a lot Chris I love you so much…

    by the way i have some problem to bring up 2600 routers..
    below is my .net file..

    [localhost]

    [[ROUTER R1]]
    image = D:\dynagentest\c2600-entbasek9-mz.124-11.T1.bin
    #idlepc = 0×803c934c
    ram = 128
    model = 2621XM
    #slot1 = NM-4E
    console = 10001
    autostart = false
    mmap = false

    [[router R2]]
    image = D:\dynagentest\c2600-entbasek9-mz.124-11.T1.bin
    #idlepc = 0×8047ca7c
    ram = 128
    model = 2621XM
    slot1 = NM-16ESW
    console = 10002
    autostart = false
    mmap = false
    =============================================

    and i have also tried like this as well

    model = 2621XM
    ghostios = False
    autostart = False

    [localhost]
    udp = 20000
    port = 7200

    [[2621XM]]
    image = D:\dynagentest\c2620XM-adventerprisek9-mz.124-12.bin
    ram = 128
    nvram = 256
    confreg = 0×2102
    slot1 = NM-16ESW

    [[ROUTER r1]]
    console = 10001
    confreg = 0×2102
    model = 2621XM
    ==================================================

    but all they are hang after decompressed the image..
    and shows me

    Connected to Dynamips VM “R2″ (ID 1, type c2600) - Console port

    ##################################################################################### [OK]
    N€!;

    like this and never moves…

    can some please tell me what is wrong with me ..

    thanks in advance..

    thanks again Chris..

  103. netics Says:

    HI guys
    i have tried getting the best idle-pc value for IOS 3700 Software (C3725-SPSERVICESK9-M), Version 12.4(4)T7
    Each time none of the values returned via Dynagen had a “*” marked next to it indicating the potentially best value
    each single instance of a 3725 with this IOS gives me 32% CPU
    has anyone had better luck ??

    -Thanks

  104. kedge Says:

    I tried to run the following .net file to test the 2600 series IOS “c2600-entbasek9-mz.124-12.bin�. It allows me to run the Dynagen, however, when I try to start R1, R2 and telnet to those individually, Dynamips goes in Loop mode and starts giving errors.

    Running as follows:
    -dynamips-0.2.7-RC1
    -dynagen-0.9.0_dynamips-0.2.7-RC1_Win_XP
    -Win XP SP2

    I tried with all the available C2600 chassis drivers and having the same problem.

    ————————————————————————————–
    autostart = false

    [localhost]

    [[2650XM]]
    image = \Program Files\Dynamips\images\c2600-entbasek9-mz.124-12.bin

    #############################################################
    ## To display the models, just use “dynamips -P 2600 -h�.
    ## You set the model with “-t� option (like “-t 2610XM�).
    #############################################################
    ## Available C2600 chassis drivers:
    # * 2610
    # * 2611
    # * 2620
    # * 2621
    # * 2610XM
    # * 2611XM (NOT WORKING)
    # * 2620XM
    # * 2621XM (NOT WORKING)
    # * 2650XM
    # * 2651XM (NOT WORKING)
    #############################################################
    ## Available C2600 Network Module drivers:
    # * CISCO2600-MB-1E
    # * CISCO2600-MB-2E
    # * CISCO2600-MB-1FE
    # * CISCO2600-MB-2FE
    # * NM-1E
    # * NM-4E
    # * NM-1FE-TX
    # * NM-16ESW
    #############################################################

    #npe = npe-400
    ram = 160
    #idlepc = 0×601c8658

    [[router R1]]
    console = 2000
    model = 2650XM

    [[router R2]]
    console = 2001
    model = 2650XM
    ————————————————————————————–

    Is it a bug for 12.4 versions or my .net file need to be modified?

    Please let me know.

    Thank you Chris and Greg for your efforts……….

  105. Mark Says:

    dam1on - DynaGen doesn’t enhance DynaMIPS as far as I know, it’s just a front-end. I tend more towards a command-line mentality myself, but I like the ease of using DynaGen (including the aforementioned dynamic application of the idle_pc value without having to restart the instance, which was new to me at least) including the ability to then just share the ‘.net’ files with others rather than the cumbersome CLI syntax/batch-files/scripts and associated virtual FR switch, etc. files.

  106. digital Says:

    Prof Chris,
    I just noticed something! Why the 3640 routers (with the 16ESW module) generate a HUGE vritual RAM file compared to the 7200? In the previous version when i set the ram = 128 i used to get “c3600_R1_nvram” file that is 128KB size but now it’s 128MB! :S The 7200 is still 128KB which is normal and “compressable” :)

    Thanks again!

  107. Aly Says:

    Hello Chris,

    Thank you for granting my request of emulating 2600 series
    Serial interfaces and we are good to go :D
    I noticed this bug:

    Module CISCO2600-MB-2E and CISCO2600-MB-2FE have only 1 port instead of 2
    Please check if you can replicate this error

    C:\Dynamips>dynamips -P 2600 -p 0:CISCO2600-MB-2E C2600-TE.BIN
    M860 processor: part number 0, mask 0
    1 Ethernet interface
    128K bytes of NVRAM.
    8192K bytes of processor board System flash (Read/Write)

    Router#sh ip int br
    Interface IP-Address OK? Method Status Prot
    ocol
    Ethernet0/0 unassigned YES unset administratively down down

  108. Aly Says:

    Chris>

    Is it possible to emlate these modules on the 2600 series ?
    They contaon both Serial and Ether interfaces

    NM-1E2W
    NM-2E2W
    NM-1FE2W
    NM-2FE2W

    Thanks

  109. dam1on Says:

    Hi all,

    I’m trying to do some QoS labs and setup 2 routers with a fa link between them. Also one router has a tap0 interface to the local linux machine. The linux machine has a 8mb file on it and it running tftp server. It seems to take a long time to tftp the file through 1 router to the other (long time = hour(s)).

    Is this expected? What sort of throughput should I expect? Is there a way to improve? QoS is difficult if things aren’t to some kind of scale, no big deal if this is what is expected though, I can always use the real stuff.

    Any comments welcome,

    Thanks again,

    D

  110. Mark Says:

    dam1on - You know, short of telnetting through a NIC interface, I haven’t tried sending files (yet) through the virtual network, so I can’t say if that’s normal behavior or not. How well does it transfer when you aren’t messing with QoS? That would be my baseline (i.e., if transfer speeds were 50% of what I would expect with real equipment, then I would expect at least half the performance with QoS as well).
    It doesn’t really sound as I would expect though, so I would check the following if the TFTP server had logged any comms problems (such as re-transmits, or if the router shows long periods of …!!….!…. during the transfer). Either way, I would probably monitor the traffic as it goes through (for example, on the linux box use tcpdump or snoop) to try to get an idea of how it looks. One other thing I used to notice was that I had to set the speed / duplex on the Fa interface I mapped to my NIC port explicitly (but you should see any duplex error messages in your console logs). I don’t think any debugs would help you based on what I know of your problem.
    Anyway, that’s my 2 cents.

  111. dam1on Says:

    Hi Mark,

    I’ve not put any QoS features on yet. I use the tftp server for other real things. I most get good results in terms of file (i.e. !!!!!!!!!!!!!!!!!!!!!!), however each one takes around 5 - 10 minutes. interfaces are all good, i.e. mtu, speed, duplex. I suspect it is something to do with interupts and clocks, etc as I’d expect maybe 20 - 40% of real performance (only a guess). Other things that might be affecting it are linux, if you think about it the linux host is processing the same packets 4 - 5 times (i.e. host -> router -> host via fa -> router, and back again).

    Things like frame relay and lmi are slow too but not unusable. This maybe related.

    Just so nobody gets the wrong end of the stick, I’m not complaining, just investigating ;).

    Cheers

    D

  112. ccie14745 Says:

    Dam1on: You’ve noticed what Chris describes in the Wiki:

    “Of course, this emulator cannot replace a real router: you should be able to get a performance of about 1 kpps (depending on your host machine), to be compared to the 100 kpps delivered by a NPE-100 (the oldest NPE model). So, it is simply a complementary tool to real labs for administrators of Cisco networks or people wanting to pass their CCNA/CCNP/CCIE exams.”

    Essentially, since there’s a software emulation occurring, don’t expect the get any real performance from the simulation. Real-world router/switch hardware is the only way to investigate QoS with proof-of-service testing. Dynamips just won’t support that.

    Keep investigating though. Dynamips is an amazing development for network junkies the world over!

  113. Mark Says:

    dam1on - I tested myself, WinXP NIC bound to a NAT-ed interface on a virtual 7200, virtually connected to another virtual 7200 via FastEthernet interface, and achieved a rate of about 1500 Bytes / sec … at that rate, I transferred about 3.25MB in ~30 minutes … not blisteringly fast, but considering how many other things I am doing on my laptop it’s about what I could hope for, I guess.

  114. Mark Says:

    I should add that I am having other issues as well, and I have not overly optimized my configuration (beyond a decent idle_pc value for this image) - the source is another laptop on the same subnet as my laptop:
    R02#copy tftp disk0:
    Address or name of remote host [10.215.82.67]?
    Source filename [test.bin]?
    Destination filename [test.bin]?
    Accessing tftp://10.215.82.67/test.bin…
    Loading test.bin from 10.215.82.67 (via FastEthernet1/0): !!!O!!!OOOOO!!!!O!OO!!OO!OOOO!O

  115. chris Says:

    Hello Mark,

    Yesterday I found a very stupid in the DEC21140 chip emulation. Maybe the 0.2.7-RC2 will give better performance results. There is also a lot of work to do on the interrupt handling.

  116. chris Says:

    Aly> Why not, but it requires to emulate a WIC-1T, I’ll take a look at this (I don’t know what can be the complexity of this).

  117. Aly Says:

    Chris>
    Please advise if this is a correct bahaviour in dynamips
    To have 2 Ethernet interfaces you can’t use
    Dynamips>dynamips -P 2600 -p 0:CISCO2600-MB-2E C2600-TE.BIN

    I noticed this in the code:
    struct c2600_mb_id c2600_mainboard_id[] = {
    { “2610″ , “CISCO2600-MB-1E” , 0×0091, TRUE },
    { “2611″ , “CISCO2600-MB-2E” , 0×0092, TRUE },
    { “2620″ , “CISCO2600-MB-1FE” , 0×0094, TRUE },
    { “2621″ , “CISCO2600-MB-2FE” , 0×00a2, TRUE },

    When I tried to run the 2611 it did has 2 interfaces
    E:\dynamips0.2.7RC1>dynamips.exe -P 2600 -t 2611 C2600-TE.BIN

    M860 processor: part number 0, mask 0
    2 Ethernet interfaces
    128K bytes of NVRAM.

  118. Aly Says:

    All>
    Please check if anyone can replicate this BUG
    using the NM-16ESW module

    Interfaces are always in FULL duplex mode disregarding the config

    SW1#sh run int fa1/0
    Building configuration…

    Current configuration : 56 bytes
    !
    interface FastEthernet1/0
    duplex half

  119. Amit Says:

    Hi Chris,

    you are simply great!!!!! , who are u? , I know you are a CISCO GOD without help of CISCO.

    I know you are still working on catalyst switches why? because one day you will emulate this also….

    but no problem mate , if it is not posible becuase I know you you have already done a outstanding job….

  120. sebastan Says:

    hi all can someone pls help me as to how to bridge 3 routers. i need 3 routers ethernet segment to look like a multi-access segment.

    i am not using dynagen i am using dynamips. can someone pls tell me the command and the switches . i am not able to figure it out from the release notes.

    i am using 2691 router in the emulator which loads with 2 ethernet interfaces in the slot 0.

    waiting for ur someone;s reply.

    regards

    sebastan

  121. Mark Says:

    Sebastan - I also was getting frustrated trying to figure out the proper port pairs for multiple things, but DynaGen has spared me the problem. I would put reference a virtual ethernet switch where, for example his port 26010 would talk to router R1’s port 26011, his port 26020 would talk to router R2’s port 26021 and his port 26030 would talk to router R3’s port 26031. Provided, in the virtual switch config file you specify all his interfaces which you will be connecting to your virtual router interfaces to be all within the same VLAN, you should be good to go. IMHO, start using DynaGen - it really spares your brain-power for more important matters and you could lab that scenario up in minutes (in fact, it comes with a sample ethernet switch lab, I believe).

  122. sebastan Says:

    hi buddy thanks for ur instant reply. but i tried using dyangen i couldn;t figure it out from there. i am use to dynamips and i like the cli .

    hope u could help me with the cli for it via dynamips.

    regards

    sebastan

  123. Massimiliano Says:

    Hi Chris,

    just an info, is possible to run PPC platform faster on a mac/osx with G4 processor?
    I mean, JIT goes faster cause with Intel cpu u can translate in realtime, maybe that just for a similar architecture like ppc and g4 things could go better?
    (yes I’m a diehard risc fan..;) )
    Thanks,

    Massi

  124. Rod Says:

    Sebastan> I had a bit of a struggle simulating a shared ethernet as well, so you might like to see the configs I came up with.
    The trick is to create a config file and let one of the dynamips instances also act as a virtual switch or bridge.

    Router1
    dynamips c7200-jk9s.122-19.bin –idle-pc=0×60522118 –disk0=0 -p 0:C7200-IO-FE -s 0:0:udp:10000:127.0.0.1:10001 -p 1:PA-A1 -s 1:0:udp:20000:127.0.0.1:20001 -r96 -X -i1 -E switch.cfg

    Router2
    dynamips c7200-jk9s.122-19.bin –idle-pc=0×60522118 –disk0=0 -p 0:C7200-IO-FE -s 0:0:udp:10002:127.0.0.1:10003 -r96 -X -i2

    Router3
    dynamips c7200-jk9s-mz.122-19.bin –idle-pc=0×60522118 –disk0=0 -p 0:C7200-IO-FE -s 0:0:udp:10004:127.0.0.1:10005 -r96 -X -i3

    The first instance referred to a switch.cfg file that contains the following:
    IF:I1:udp:10001:127.0.0.1:10000

    IF:I2:udp:10003:127.0.0.1:10002

    IF:I3:udp:10005:127.0.0.1:10004

    DOT1Q:I1:1
    DOT1Q:I2:1
    DOT1Q:I3:1

    ——————–
    Or alternatively if you want a virtual bridge: (mine is called bridge.cfg)
    # Connection to instance “I0″
    I0:udp:10001:127.0.0.1:10000

    # Connection to instance “I1″
    I1:udp:10003:127.0.0.1:10002

    # Connection to instance “I2″
    I2:udp:10005:127.0.0.1:10004

  125. MyOwn Says:

    hi,

    I think i found a bug:

    I have connect one of loop back network adapters to a switch and i am able to ping that loopback adapter. but when i disable it from windows and then re-enable it again then i am not able to ping that interface again without restarting the dynagen.

    Can any one confirm this behavior? or i have some issue with my machine?

    Thanks in advance.

    Best Regards,

  126. Mark Says:

    There, Rod spared me the trouble of labbing it up - that is what I was trying to say.

  127. sebastan Says:

    hi rod thanks a lot man for ur detailed reply. could u pls tell me how to create the bridge.cfg file and where to place it.

    and should the mapping mentioned in the cfg file be same as the mapping done for the routers in dynamips.

    can u pls tell me the steps in detail.it would of great help to me .

    thanks once again .

    waiting for ur reply.

    regards

    sebastan

  128. VOICE Says:

    carth,you can download from ftp://abc:abc@www.abh.cn

  129. Beat Says:

    it kind a stupid question but how come i know which IOS relate to which 2600 type of router unlike 3600 series router IOS thay chases are already mantioned in IOS name like c3640 and c3660 but what i see is all of the 2600 series of ios are like c2600. soo i am lil bit confused or may be i am wrong. please correct me.
    Kind Regards

  130. sebastan Says:

    hi beat u are right buddy. for 2600 series platform evenif u download a XM series ios or normal ios. the ios name starts from c2600 only.

    regards

    sebastan

  131. Rod Says:

    Sebastan> The bridge.cfg or switch.cfg files can be created with notepad if you are using Windows or using vi if you are on linux.

    In the example I posted, the IOS and the bridge.cfg or switch.cfg files were all located in the same directory I ran the router commands from. You should be able to specify the path to the files if you want to.

    The mapping in the switch.cfg or bridge.cfg files should correspond to what you have configured in the routers.

    P.S. I can’t take too much credit for working this all out, it is described in the release notes.

  132. carth Says:

    Thanks voice

    thanks for the ftp link

  133. Networker Says:

    Hi Chris and all fellows,
    I am wondering if any body tried Cisco Router and Switch Security Manager (SDM) to connect to a dynamips instance. SDM is included in new CCNP exams for configuring IPsec VPNs and other security features.

    I did try it and I was able to connect to one instance (router) after enabling ip http server, creating a local user for privilege level 15 and bridging the router ethernet port with my PC’s LAN interface.

    It loads all features but there is a problem. SDM cannot write config changes to the router. I see a message when SDM completes loading, saying “SDM needs to write a temporary file to your router’s Flash”. I think this is the source of problem, SDM cannot write changes to file based running config of dynamips.

    Strange enough, some of the changes are written to running config, for example, I created a loopback interface and configured an IP address in SDM, the loopback interface was created in running config but ip address could not be written.

    SDM is a wonderful tool for less experienced Cisco users to manage routers using a GUI interface. I think Chris can accomodate SDM connectivity in dynamips.

    Thanks for this wonderful tool and looking for SDM support.
    If anybody is looking for latest version of SDM, you can download one from this url:

    http://www.cisco.com/pcgi-bin/tablebuild.pl/sdm
    username: anonymous
    password: test@my.com

  134. ccsr Says:

    hello chris,can it support VNM(Voice Network Module)?
    I want to do VOIP LAB ,thanks!

  135. CZ Says:

    hi I have 2620 working with NM-8T(A/S)

    Can we Add that module in 2600 series

  136. CCIEbydynamips Says:

    hi greg i am getting this error please help
    Reading configuration file…

    Error:
    Invalid line at line “0″.
    {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}{
    \f1\fmodern\fprq1\fcharset0 Courier New;}}

    Press ENTER to continue
    thansk

  137. Frank Says:

    Thank you so much Chris and Greg A. This (Dynamips) is a really good tool.

    Thanks all, I passed my third CCIE.

    Frank

  138. Greg A Says:

    CCIEbydynamips,
    Did the blog scramble your error, or is that the actual error?

  139. Greg A Says:

    Congratulations Frank! Earning a 3rd CCIE is quite an achievement. You should post in the CCIE section of the blog.

  140. digital Says:

    Frank! 3rd CCIE? what do you guys eat? huh! :D

  141. CCIEbydynamips Says:

    Greg> this is actual error which i am getting. for more information when i save my .net file in Courier New font than this error comes and when i save that file with arial font than only this line comes
    Error:
    Invalid line at line “0″.
    {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}
    thanks

  142. jumbo Says:

    CCIEbydynamips,
    this is strange,
    can you pls post your .net file?

  143. big_gena Says:

    Hello.

    Neither cnfg nor configuration parameter doesn’t work for me. When I’m starting the lab it asks me if I would like to import them. And every router starts with default setup.
    What is the problem?
    Part of my .net file:
    [localhost]
    console = 2001

    [[3745]]
    image = \Program Files\Dynamips\images\c3745-advsecurityk9-mz.123-13a.bin
    # On Linux / Unix use forward slashes:
    # image = /opt/7200-images/c7200-jk9o3s-mz.124-7a.image
    ram = 256
    ghostios = True
    sparsemem = True
    idlepc = 0×60154058

    [[ROUTER SW1]]
    model = 3745
    slot1 = NM-16ESW
    fa1/15 = SW2 fa1/15
    cnfg = c:\program files\dynamips\sample_labs\simple1\SW1.cfg

    [[router SW2]]
    model = 3745
    slot1 = NM-16ESW
    configuration =

  144. CCIEbydynamips Says:

    hi jumbo

    here is my config file

    autostart = false

    [localhost]

    [[7200]]
    image = \Program Files\Dynamips\images\c7200.image.bin
    npe = npe-400
    ram = 160
    mmap = false

    [[ROUTER R1]]
    s1/0 = R2 s1/0

    [[router R2]]
    thanks

  145. Greg A Says:

    CCIEbydynamips,
    Sounds like you are saving your file in RTF format, not txt. Open the file with notepad and I bet it will look garbled there too.

  146. Greg A Says:

    big_gena,
    I believe there is a bug with importing a config if an nvram file does not previously exist. Not sure if this is your issue or not. But if it is, do a “write mem” for each router, then restart the lab and say yes to import.

  147. Aly Says:

    Chris>

    I wanted to check the coede to see if I can help with it
    but i could not relly understand most of the code

    Is it possible to produce more documentation and explanation on it so more people can contribute

    I know I am not a very good programer but i think i can help if I grasp it a little more

    Thanks

  148. big_gena Says:

    Greg A,
    I did this, nothing work. Inside nvram file (*_rom) I can see my config, but router boots empty, and startup-config cannot be readed after router booted.

  149. big_gena Says:

    Greg A,
    Wow!!! It depends on version IOS I use!!!
    It doesn’t work with c3745-advsecurityk9-mz.123-13a.bin , but works with c3745-advsecurityk9-mz.123-11.T3.bin

  150. Simon_sts Says:

    Hi, I´m having trouble to set the specific MAC address in the dynamips command like:
    root@01:/usr/CISCO# ./dynamips image36.bin -X -P 3600 -t 3660 –idle-pc=0×6062eb2c -m=00:60:5c:e8:73:00
    Cisco Router Simulation Platform (version 0.2.7-RC1-x86)
    Copyright (c) 2005-2007 Christophe Fillot.
    Build date: Feb 14 2007 18:38:15

    Idle PC set to 0×6062eb2c.
    root@:/usr/CISCO#

    The simulator just hang up. Without -m parameter the command works fully

  151. Simon_sts Says:

    Sorry, the correct command is: ./dynamips image36.bin -X -P 3600 -t 3660 –idle-pc=0×6062eb2c -m 00:60:5c:e8:73:00

    But not work too.

  152. Mikhail Says:

    Hello!
    Can anybody describe how I can yose Sparse memory?

  153. Greg A Says:

    big_gina,
    Huh, that is surprising. To me anyway. :)

  154. MyOwn Says:

    Hi Chris,

    i will request to have a look at
    http://www.cisco.com/en/US/products/ps5854/products_qanda_item0900aecd802a9470.shtml

    and if possible can you emulate any of these.

    (EtherSwitch Service Modules (NME-16ES-1G, NME-16ES-1G-P, NME-X-23ES-1G, NME-X-23ES-1G-P, NME-XD-48ES-2S-P, and NME-XD-24ES-1S-P)
    As these are more closer to 35xx functionality….

    This is just hope… which is my best friedn.

  155. khristov Says:

    Hello,
    In the release notes it is written that PA-POS-OC3 is working, but I cannot make UDP connectivity between two instances using POS.
    Can you please provide some information?

    Thank You

  156. Aly Says:

    MyOwn,

    about the EtherSwitch Service Modules and 3550 emulation
    I want to share you my experience in this

    I was able to do the CCIE LAb workbook using the current EtherSwitch module without any troubles!
    So for CCIE emulation you are good :D

    Iam only waiting for the Serial WAN emulation on the 2600 roiuters so I can work on the LAB with good cpu performance

    Using the 3600 the routers gives slow ping response after applying routing redistribution and BGP and ospf session starts to timeout

  157. digital Says:

    Aly,
    I disagree with you that the current switch module is good enough for the IE! The disability to do more complex spanning tree topology (MST vs. PVST) calls the need for more advance switching modules! This is beside the the more advance multicasting and QoS which the 35xx has different command than the router!

    As for emulating more routers, i do feel that it’s fairly redendant as we have more routers module to play with! I would suggest that more attention is given to security appliances than what we already have! ;)

    I wish i can know programming so i can help in this area! maybe after my current IE exam then i will devote more time and search.

  158. Chi Says:

    Hi guys,

    Can someone help me with my problem loading 2610 router

    here’s my config:
    # Simple lab
    autostart = true

    [localhost]

    [[2610]]
    image = C:\Program Files\Dynamips\images\c2600A.image
    ram = 128 # Amount of Virtual RAM to allocate to each router instance.

    [[ROUTER R1]]
    model = 2610
    slot2 = NM-16ESW

    Loading the image is fine but after it I got this “Çi” and waited for 30 min still the same.

    Connected to Dynamips VM “R1″ (ID 0, type c2600) - Console port

    ################################################################################################################################# [OK]
    Çi

  159. cx Says:

    same problem about :
    ################################################################################################################################# [OK]
    Çi

    sometimes Çi is only a “|”

  160. cake Says:

    Hi Digital,

    I have attempted to use NM-16ESW with th dynamips with not much success. Well depend what the definition of success is. The NM-16ESW supports vlans and VTP in vlan trunking mode. Not in config mode.

    Also bpduguard is has different options and there are no rootguard options. So not knowing what other differences there were between this module and a 3550, I gave up.

    How did you overcome the differences. Was it my IOS I wonder.

    Thanx

  161. cake Says:

    Hi Digital,

    CORRECTION:-

    I have attempted to use NM-16ESW with th dynamips with not much success. Well depend what the definition of success is. The NM-16ESW supports vlans and VTP in vlan DATABASE mode. Not in config mode.

    Also bpduguard is has different options and there are no rootguard options. So not knowing what other differences there were between this module and a 3550, I gave up.

    How did you overcome the differences. Was it my IOS I wonder.

    Thanx

  162. sebastan Says:

    i have a nice suggestion with little investment.

    take a good high end pc buy the intel quad multiple adapters. buy 2 3560 or 3550 and connect them to routers in dynamips. if i were going for ccie routing and switching or service provider then i would have surely done that. since chris has mentioned clearly that 3550 or 3560 cannot be emulated in any condition without cisco’s help.

    regards

    sebastan

  163. digital Says:

    Cake,

    regardless of the IOS version/feature set, the NM-16ESWwill give you the same basic commands!
    Mr. Sebastan is right! no option but to get the “real” switches with the quad card if possibe! (yah, i hate that “real” thing by now!)
    As for me, i’m not that rich so i go with rack rentals to practice the switching portion! :)

    Chris, are there any intension for the PIX in future? Some of the PIXes used to run on Intel processors previously
    which i guess make it easier to emulate than the routers. No?

  164. sebastan Says:

    hi digital online rack will be expensive. i would suggest buy second switches and sell them back once u are done will will get good returns for it.

    if the NM-16SW

  165. sebastan Says:

    hi digital online rack will be expensive. i would suggest buy second switches and sell them back once u are done will will get good returns for it.

    if the NM-16SW-G was emulated it still as lot many features a compared to NM-16SW.

    regards

    sebastan

  166. MyOwn Says:

    lets face reality… if you purchase 2 3560 and 2 3550 each will cost you no less than 2k USD so total will be 8k or more. Where as you can purchase 2USD/hour a full rack. SO a purchase of 1k will be essentially equal to 500 hours which i personally are sufficient to go up to CCIE level, along with having Dynamips.

    These are only mine personal views and nothing else.. Every one should have to know his limitations. But if some one can afford then he should have a rack.. … if I can i have two by now.

    HTH

  167. shiva7 Says:

    Win2000 and .7RC1?

    This is all I get on my win2000 … works great with previous versions of dyn … anyone got .7 working on win2000?

    Thx.

    C:\sim-iewb>
    C:\sim-iewb>dynamips-w2000.exe

    C:\sim-iewb>
    C:\sim-iewb>
    C:\sim-iewb>dynamips-w2000.exe c7200.bin

    C:\sim-iewb>
    C:\sim-iewb>

  168. sebastan Says:

    hi all can some buddy pls help me with setting up virtual bridge with dynamips cli.

    rod helped me a lot .

    but i am stuck again.

    here;s my config

    R1

    dynamips-wxp.exe -r 96 -X -P 2691 -s 0:0:udp:10000:127.0.0.1:10001 -b -i0 bridge.cfg c2691-jk9o3s-mz.123-21.bin

    R2

    dynamips-wxp.exe -r 96 -X -P 2691 -s 0:0:udp:10002:127.0.0.1:10003 -i1 -b bridge.cfg c2691-jk9o3s-mz.123-21.bin

    R3

    dynamips-wxp.exe -r 96 -X -P 2691 -s 0:0:udp:10004:127.0.0.1:10005 -i2 -b bridge.cfg c2691-jk9o3s-mz.123-21.bin

    config of my bridge file

    # Connection to instance “I0″
    I0:udp:10000:127.0.0.1:10001

    # Connection to instance “I1″
    I1:udp:10002:127.0.0.1:10003

    # Connection to instance “I2″
    I2:udp:10004:127.0.0.1:10005

    i have placed this bridge file in the folders of R1, R2 and R3.

    can somebody pls help me or tell me where i am going wrong in this.

    waiting for reply.

    regards

    sebastan

  169. yifree Says:

    Hello.
    1�Can Dynamips emulate Cisco 7600 Series and Cisco 7600 Series?
    2�Can Dynamips emulate VPLS?
    Thanks!

  170. Rod Says:

    sebastan>
    You only need to run the bridge from 1 router instance, not all 3.

    Also you have “-b -i0 bridge.cfg” in your first instance.
    It should be more like “-i0 -b bridge.cfg”

    Regards,
    Rod

  171. sebastan Says:

    rod thanks once again man. u mean to say the file has to be present in only one folder. and the name of the file should be as mentioned.

    i am still not getting it mate.

    can u pls paste ur configs for it.

    eagerly waiting for ur reply.

    regards

    sebastan

  172. Mark Says:

    Well, Rod beat me to it yet again, but here’s what he was trying to say:

    R1:

    dynamips-wxp.exe -r 96 -X -P 2691 -s 0:0:udp:10000:127.0.0.1:10001 -i0 -b bridge.cfg c2691-jk9o3s-mz.123-21.bin

    R2:

    dynamips-wxp.exe -r 96 -X -P 2691 -s 0:0:udp:10002:127.0.0.1:10003 -i1 c2691-jk9o3s-mz.123-21.bin

    R3:

    dynamips-wxp.exe -r 96 -X -P 2691 -s 0:0:udp:10004:127.0.0.1:10005 -i2 c2691-jk9o3s-mz.123-21.bin

  173. sebastan Says:

    hi marks thanks a lot man. mark could u also pls tell me contents of the bridge file. the bridge file config which i had posted here is it right.

    and should i put the bridge file only in the R1 folder.

    can u pls confim on this and help me little more.

    thanks a million again.

    waiting for ur reply.

    regards

    sebastan

  174. Mark Says:

    sebastan> Here’s what I would have to say on the subject:

    1) Where you put the ‘bridge.cfg’ file doesn’t matter, so long as you specify the whole path after the ‘b’ switch. For example, if you put the ‘bridge.cfg’ file under your ‘C:\Progra~1\DynaMIPS’ directory (I used the 8.3 name for the “Program Files” directory because I don’t know if DynaMIPS supports paths with spaces), your command-line would include the following:
    -b C:\Progra~1\DynaMIPS\bridge.cfg

    2) The contents you had looked okay, although I had left comments (the lines preceded by ‘#’) in mine … below is a sample of a ‘Bridge_Ethernet.cfg’ file I had used for a lab for someone else … I’m pretty sure it worked when I used it, now I just let DynaGen automagically handle this for me:

    IF:E990:udp:10990:127.0.0.1:10991
    IF:E991:udp:11990:127.0.0.1:11991
    IF:E992:udp:12990:127.0.0.1:12991
    IF:E993:udp:13990:127.0.0.1:13991
    IF:E994:udp:14990:127.0.0.1:14991
    IF:E995:udp:15990:127.0.0.1:15991
    IF:E996:udp:16990:127.0.0.1:16991
    IF:E997:udp:17990:127.0.0.1:17991

    ACCESS:E990:99
    ACCESS:E991:99
    ACCESS:E992:99
    ACCESS:E993:99
    ACCESS:E994:99
    ACCESS:E995:99
    ACCESS:E996:99
    ACCESS:E997:99

    It looks like, if you only copied his bridge.cfg, you did not specify what ‘vlan’ each port will be in (or what type ‘dot1q’ (trunk) or ‘access’).

    3) Start using DynaGen as it takes that guess-work out of the equation for you. If you already have plenty to remember regarding pure networking, why waste precious brain-cycles on the caveats of command-line switches for DynaMIPS if you don’t have to? For example, the sample lab called ‘ethernet_switch’ has a ethsw1.net file with the following contents … which should look fairly uncomplicated (obviously it is a sample file, so to make it work with DynaGen on your machine, you’d have to ensure the path to the images is the same, and put in the correct NIC registry hash (for the last line) if you wanted to bind an interface to your real NIC):

    # Simple Ethernet Switch lab
    autostart = false

    [localhost]

    [[7200]]
    image = \Program Files\Dynamips\images\c7200-jk9o3s-mz.124-7a.image
    # On Linux / Unix use forward slashes:
    #image = /opt/7200-images/c7200-ik9o3s-mz.124-5a.image
    npe = npe-400
    ram = 160

    [[ROUTER R1]]
    F1/0 = S1 1

    [[router R2]]
    F1/0 = S1 2

    [[router R3]]
    F1/0 = S1 3

    [[ethsw S1]]
    1 = access 1
    2 = access 20
    3 = dot1q 1
    #4 = dot1q 1 NIO_gen_eth:eth0
    4 = dot1q 1 NIO_gen_eth:\Device\NPF_{B00A38DD-F10B-43B4-99F4-B4A078484487}

  175. sebastan Says:

    hi mark thanks for ur detailed explaination but this is what i am getting.

    R1:

    dynamips-wxp.exe -r 96 -X -P 2691 -s 0:0:udp:10000:127.0.0.1:10001 -i0 -b bridge.cfg c2691-jk9o3s-mz.123-21.bin

    R2:

    dynamips-wxp.exe -r 96 -X -P 2691 -s 0:0:udp:10002:127.0.0.1:10003 -i1 c2691-jk9o3s-mz.123-21.bin

    R3:

    dynamips-wxp.exe -r 96 -X -P 2691 -s 0:0:udp:10004:127.0.0.1:10005 -i2 c2691-jk9o3s-mz.123-21.bin

    contents of my bridge file.

    # Connection to instance “I0″
    I0:udp:10000:127.0.0.1:10001

    # Connection to instance “I1″
    I1:udp:10002:127.0.0.1:10003

    # Connection to instance “I2″
    I2:udp:10004:127.0.0.1:10005

    when i boot r1

    H:\r1>dynamips-wxp.exe -r 96 -X -P 2691 -s 0:0:udp:10000:127.0.0.1:10001 -i0 -b
    bridge.cfg c2691-jk9o3s-mz.123-21.bin
    Cisco 7200 Simulation Platform (version 0.2.6-RC5-x86)
    Copyright (c) 2005,2006 Christophe Fillot.
    Build date: Dec 7 2006 11:19:24

    Instance ID set to 0.
    Virtual RAM size set to 96 MB.
    netio_desc_create_udp: unable to connect to 127.0.0.1:10001
    NETIO_BRIDGE: unable to create NETIO descriptor
    IOS image file: c2691-jk9o3s-mz.123-21.bin

    CPU0: carved JIT exec zone of 16 Mb into 512 pages of 32 Kb.
    NVRAM is empty, setting config register to 0×2142
    C2691 instance ‘default’ (id 0):
    VM Status : 0
    RAM size : 96 Mb
    NVRAM size : 128 Kb
    IOS image : c2691-jk9o3s-mz.123-21.bin

    Loading ELF file ‘c2691-jk9o3s-mz.123-21.bin’…
    ELF entry point: 0×80008000

    C2691 ‘default’: starting simulation (CPU0 PC=0xffffffffbfc00000), JIT enabled.
    ROMMON emulation microcode.

    Launching IOS image at 0×80008000…
    Self decompressing the image : ################################################
    ###############################################################################
    ###############################################################################
    ###################### [OK]

    the image bootups but it says unable to connect to that port.

    after booting r1 when i boot r2 this is what i get

    H:\r2>dynamips-wxp.exe -r 96 -X -P 2691 -s 0:0:udp:10002:127.0.0.1:10003 -i1 c26
    91-jk9o3s-mz.123-21.bin
    Cisco 7200 Simulation Platform (version 0.2.6-RC5-x86)
    Copyright (c) 2005,2006 Christophe Fillot.
    Build date: Dec 7 2006 11:19:24

    Instance ID set to 1.
    Virtual RAM size set to 96 MB.
    netio_desc_create_udp: unable to connect to 127.0.0.1:10003
    C2691 ‘default’: unable to create NETIO descriptor for NM slot 0

    H:\r2>

    could u pls help how to achieve this.

    thank u for ur help once again.

    regards

    sebastan

  176. Mark Says:

    I think I see what’s wrong … I roughly re-created what you were doing, but using a 3640 with an NM-16ESW module (slot 1 only, so not how I changed the -s 0:0 to -s 1:0 for example) since that’s the only IOS I had handy … I see the problem you had with the bridge.cfg and I’ve realized I never used the virtual bridge, only the virtual switch - which is what I would recommend here as well (partially because I must’ve decided I couldn’t figure out the virtual bridge either, and also because you have the luxury of choosing different VLANs, trunk ports, etc). To make that work, change your bridge.cfg (or rename it to ethernet.cfg and change) as follows, and reference it with the -E switch instead of the -b switch:

    IF:R1:udp:10000:127.0.0.1:10001
    IF:R2:udp:10002:127.0.0.1:10003
    IF:R3:udp:10004:127.0.0.1:10005

    ACCESS:R1:1
    ACCESS:R2:1
    ACCESS:R3:1

    The above section creates the mappings, and then places the instances into the same VLAN (1) as access ports.

    The following are my actually lines for launching the three router instances:

    R1.bat:
    ..\..\dynamips-wxp.exe -r 96 -X -P 3600 –idle-pc 0×603e0068 -p 1:NM-16ESW -s 1:0:udp:10001:127.0.0.1:10000 -i0 -E ethernet.cfg ..\..\images\c3640-jk9o3s-mz.124-10a.bin

    R2.bat:
    ..\..\dynamips-wxp.exe -r 96 -X -P 3600 –idle-pc 0×603e0068 -p 1:NM-16ESW -s 1:0:udp:10003:127.0.0.1:10002 -i1 ..\..\images\c3640-jk9o3s-mz.124-10a.bin

    R3.bat:
    ..\..\dynamips-wxp.exe -r 96 -X -P 3600 –idle-pc 0×603e0068 -p 1:NM-16ESW -s 1:0:udp:10005:127.0.0.1:10004 -i2 ..\..\images\c3640-jk9o3s-mz.124-10a.bin

    Try that out and let me know if it works for you … Below is the proof that THIS configuration works:
    R1#show run int fa1/0
    Building configuration…

    Current configuration : 83 bytes
    !
    interface FastEthernet1/0
    no switchport
    ip address 10.0.0.1 255.255.255.0
    end

    R1#show cdp neighbors
    Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
    S - Switch, H - Host, I - IGMP, r - Repeater

    Device ID Local Intrfce Holdtme Capability Platform Port ID
    R2 Fas 1/0 178 R S I 3640 Fas 1/0
    R3 Fas 1/0 175 R S I 3640 Fas 1/0
    R1#ping 10.0.0.2

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 212/236/332 ms
    R1#ping 10.0.0.3

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.0.0.3, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 68/176/460 ms
    R1#

  177. sebastan Says:

    hi mark i will try it out and will let u know by tommorrow. surely thanks a lot once again for ur time and help.

    regards

    sebastan

  178. cake Says:

    I had the oportunity to go to a CCIE training. To my suprise I found a CISCO employee there. He mentioned that CISCO have an internal Emulator that they use to emulate routers only. But they do not emulate switches. He said it is because of the complex architechure of ASICS. I suppose CISCO could do it if they wanted to, but it must be expensive and time consuming for them not to emulate Switch for internal use.

  179. yLke Says:

    hi cake,

    that’s very interesting, because I’m a cisco employee as well but I never heard such a tool before :) Are you sure he wasn’t referring to dynamips ? :P
    Whenever I had to use routers/switches to quickly check something I was told to use the lab equipment or to use the ‘calo’ system (which is a huge lab where almost all the cisco products are available for testing purposes), but nobody mentioned an emulator which could be also used :)

  180. Mark Says:

    yLke> I’ve also heard of a cisco emulator already available (for Cisco use, anyway), and I believe it is Sun(SPARC)-based. IOUlive is what it was called, but I’ve never worked with it (no SPARC equipment available … that I want).

  181. digital Says:

    as i heard also, the cisco emulator is not as good as dynamips!!
    also, if they could not emulate the switches it is because the people
    who tried were not Chris! :D If they only they can give the required
    info to Chris!!! It will be solved! ;)

  182. new2bies Says:

    yLke, I agree with cake on that. Cisco had or still have a Linux based router emulator that was first implemented with the idea that Customers will give it a try first b4 buying their products/hardwares.

  183. dam1on Says:

    As I understand it IOU is only available to Cisco IOS developers and not the general Cisco tech staff. Also I heard its more generic, i.e. more platforms than dynamips.

  184. sebastan Says:

    the iou is available for tac people for simulating scenarios. it;s a low cpu intensive program. and it does not boot a specific router series with like dynamips . it only boots the required ios to test features. it supports all the ios. for the switchs they have incorporated external switches that is connected via multiple nics on the ios machine.

    regards

    sebastan

  185. MyOwn Says:

    ack04R1#sh ver
    Cisco Internetwork Operating System Software
    IOS ™ Solaris Software (UNIX-JS-M), Version 12.2(11)T, DEVELOPMENT TEST SOFTWARE
    TAC Support: http://www.cisco.com/tac
    Copyright (c) 1986-2002 by cisco Systems, Inc.
    Compiled Sun 04-Aug-02 11:47 by ccai
    Image text-base: 0×0019AE50, data-base: 0×0124B668

    ROM: Bootstrap program is Solaris

    Rack04R1 uptime is 0 minutes
    System returned to ROM by reload
    Running default software

    Solaris Unix (Sparc) processor with 65536K bytes of memory.
    Bridging software.
    X.25 software, Version 3.0.0.
    SuperLAT software (copyright 1990 by Meridian Technology Corp).
    TN3270 Emulation software.
    1 Ethernet/IEEE 802.3 interface(s)
    1 Serial network interface(s)
    8K bytes of non-volatile configuration memory.

    Configuration register is 0×0

    Rack04R1#

  186. Vikas Says:

    Hi All ,

    Can anoyone tell me How to connect two Gigabit interfaces together .

    Can we use the following syntax in dynagen :

    g0/1 = R2 g0/1

    But after setting the ip and making it up .. it does not ping…

  187. Joseph Says:

    Hi,
    I am struggling with getting Dynamips running on 2 Laptops (via cross over cable) so that I can run the InternetworkExpert lab and don’t have a clue where to start to configure this setup. Your help experts are highly appreciated.

    Regards, JS

  188. LAB Says:

    Hey Mayown,

    Do you have a IOU system???

  189. sthen Says:

    the nojit build is broken:

    mips64_jit.o(.text+0×465): In function `mips64_jit_fetch_and_emit’:
    : undefined reference to `mips64_emit_single_step’
    collect2: ld returned 1 exit status

  190. Greg A Says:

    Vikas,
    I found some bugs regarding gig interfaces in Dynagen yesterday. Currently gig interfaces are most likely unusable. But the fixes will be in the next release.

  191. sebastan Says:

    hi greg any idea what will be the new features available in dynamips.

    just curious to know. what is chris working on these days.

    regards

    sebastan

  192. Mark Says:

    Joseph> It’s pretty easy …. all you need is an ethernet interface on one of your virtual devices to be mapped to your actual NIC, for example, on each system - from there, it’s a simple matter of enabling Layer-3 on the virtual intefaces and pinging across. I’ve never actually configured two virtual networks to talk as such, but if I can get a virtual network to talk to a real one, then I know it’s possible.
    For example:

    C:\Program Files\DynaMIPS>dynamips.exe -e
    Cisco Router Simulation Platform (version 0.2.7-RC1-x86)
    Copyright (c) 2005-2007 Christophe Fillot.
    Build date: Feb 16 2007 22:07:32

    Network device list:

    rpcap://\Device\NPF_GenericDialupAdapter : Network adapter ‘Adapter for generic dialup and VPN capture’ on local host
    rpcap://\Device\NPF_{DE1DB11E-05FB-487A-A26B-549983E1ED67} : Network adapter ‘MS LoopBack Driver’ on local host
    rpcap://\Device\NPF_{6E26EC4A-9CAA-4FDD-BC08-FD66EF19362B} : Network adapter ‘Intel(R) PRO/Wireless 2200BG Network Connection’ on local host
    rpcap://\Device\NPF_{18FEDCD8-0217-4C8C-A817-C6DF7F1DFB6E} : Network adapter ‘Broadcom NetXtreme Gigabit Ethernet Driver’ on local host
    rpcap://\Device\NPF_{57F27146-AEB3-40D2-B46F-5014BFBE2F97} : Network adapter ‘MS LoopBack Driver’ on local host
    rpcap://\Device\NPF_{381BA153-1E46-4199-A1FF-793224A5E7ED} : Network adapter ‘MS Tunnel Interface Driver’ on local host
    rpcap://\Device\NPF_{621EBCE3-03E7-4D61-9154-C01510611840} : Network adapter ‘Bluetooth BNEP from TOSHIBA’ on local host

    would cause me to create the following to get my LAN NIC to talk to the rest of the world as follows:

    dynamips-wxp.exe -X -i 996 -t npe-200 -r 128 -p 0:C7200-IO-FE -s “0:0:gen_eth:\Device\NPF_{18FEDCD8-0217-4C8C-A817-C6DF7F1DFB6E}” –idle-pc=0×613f0720 ..\images\c7200-jk9o3s-mz.122-15.T17.bin

    and, for example if my TRUE operating system interface has an address of 10.215.82.42 and a gateway of 10.215.82.1, then putting an IP on the Fa0/0 interface as follows should let me talk to that LAN at least:

    config t
    !
    interface FastEthernet 0/0
    ip address 10.215.82.240 255.255.255.0 ! Make sure this address is available
    no shutdown
    !
    ip route 0.0.0.0 0.0.0.0 10.215.82.1 250 name RL_LAN ! bound to physical NIC
    !
    end
    !
    ping 10.215.82.1

    which, first ping will time out as ARPing, etc., occurs but subsequent ones should be fine:

    Router#ping 10.215.8
    *Mar 16 08:20:08.031: %SYS-5-CONFIG_I: Configured from console by console2.1

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.215.82.1, timeout is 2 seconds:
    .!!!!
    Success rate is 80 percent (4/5), round-trip min/avg/max = 4/22/48 ms

    Router#ping 10.215.82.1

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.215.82.1, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 20/80/220 ms

    and then just work out any issues with duplex settings, etc.

  193. Joseph Says:

    Mark, extremely thankful. Dynamips gave exceptions when running the command line. However, I managed to do it via .ini after digesting your post. Joseph.

  194. digital Says:

    Chris, i found a bug in STP again! My topology is as follows:

    SW3
    / \
    / \
    / \
    SW1/ SW2
    \ /
    \ /
    \ /
    SW4

    There are 3 VLANs in every switch (VLAN 111, 222, 333) and every switch should be the root for one VLAN via the “spanning-tree vlan [VLAN-ID] root primary”, i.e SW1 is the root for VLAN 111 and SW2 is the root for VLAN 222 and so on.
    The switches are connected via 2 fastE each that is bundled with EtherChannels and made into trunks.

    Can you look into this issue pls?!

    Thank you so much

  195. digital Says:

    ah it seems the blog forum screwed the topolgy! i will post in hacki forum!

  196. Elac Says:

    This is a terrific tools. Thanks Chris.

    A question:
    I’m trying to create a switch environment with NM-16ESW on my laptop in the office. After using for 2 days, my switch port was disabled by company’s network guys (for excessive traffic I’m not quite sure the reason.) Any suggestion on that? what should I be careful or should I disable some specific services to avoid impacting the network environment?
    Is CDP a culprit?
    I was thinking if I don’t use eth option to bridge NIC, there should not be any traffic from dynamips to the network, the traffic should be contained on my local laptop. Am I right?

    A lot thanks to Chris again.

  197. Ryan Says:

    YOU RULE!!!!

    Please, keep up the excellent work. Your efforts are much appreciated by many.

  198. Arthur King Says:

    Hi,

    How to set Mac Address in dynagen? Thanks

  199. Mark Says:

    Elac> As a network manager, they should not be able to tell you are running a virtual network if you have CDP disabled and are not participating in dynamic routing. More likely, there is something else (spyware / viral) running on your machine which is tripping their alarms. Since you have winpcap installed, you might want to run WinDump.exe a few minutes before you start up DynaMIPS, monitoring the connection to the network, and after you start DynaMIPS, monitoring the connection to the network, to see if you notice any difference in the traffic patterns … you will probably be able to filter out all kinds of crap. I am assuming you haven’t done anything strange like bridge two laptop NICs together, and bind one DynaMIPS instance to one of them, because essentially then you would be talking to the network.

  200. Greg A Says:

    Elac,
    If they had bpduguard configured the virtual switch would errordisable the port. However that would occur pretty much instantly, not after two days. In any event, you shouldn’t bridge to a production network. In theory you could cause a lot of problems, e.g. injecting bad routes via eigrp/ospf/etc. And you are correct, not configuring bridging to your NIC will prevent any “packet leakage”.

  201. Mark Says:

    Ah, I forgot the spanning-tree issue - good point. If you did connect a switchport with spanning-tree enabled to the network, not only might you have triggered their bpduguard (which they would wisely run), but if it weren’t for that, you could’ve caused spanning-tree to re-converge, which by default causes up to 45 seconds of interruption to that VLAN at least.

  202. feiy Says:

    hi,can u add the support to huawei router?

  203. JP Says:

    If you code it, feiy, it will be added, no doubts…

  204. noyp Says:

    hello guys,
    i got this error everytime i run dynamips, here’s the screenshot
    http://7200emu.hacki.at/files/dynamips_106.jpg i have no idea what is going on, my net files just keeps on reading the config file

  205. digital Says:

    noyp, is that really an error? :D
    as for the “my net files just keeps on reading the config file”, just leave it until it finishes reading! It takes a while for first time users! not kidding! :)

  206. wangzb Says:

    Please, keep up the excellent work.

  207. Notreal Says:

    Hi Chris, I would really like to donate some euro for this project. Do you own a Paypal account or the like?

  208. _ali_ Says:

    Hello!

    I don’t want to bother anyone, but I was wondering whether ISDN will be supported :D.

    thanks, guys!

  209. Mihai Says:

    Hi there!

    I’m writing a GUI for Dynamips and i have some problems when i try to get the idle-pc. Can u give me some details about idle-pc? Is there any other method to get the idle-pc beside ctrl+] i?

    thanks

    Mihai

  210. Mark Says:

    _ali_> As of ‘June 2nd, 2006 at 8:45 am ‘, Chris suggested he may be able to make it available at some point. There was also a lot of discussion in July of 2006 on the subject, but since then Chris has made headway into emulating more important features, like different hardware platforms and the ether-switch module, in addition to memory usage improvements, etc. I would be willing to bet it’s still on the todo list, but probably lower than you might like. For me, as ISDN is no longer on the CCIE R&S exam, it’s not on my wish-list, although it would be helpful to fool with in general - not to mention would be nice to do away with expensive and still-crappy ISDN simulators in the home lab.

  211. _ali_ Says:

    Hello,

    I’m not in a hurry. There are a lot of things I’ve learned using Dynamips and I am still learning a great deal. ;) I was curios I guess, that’s all.

    10x for the effort, guys!

  212. MRosa Says:

    Has anyone had any compiling problems in this release?

    I´m trying to compile it in Fedora Core 4 and get these errors:

    In file included from net_io.c:43:
    net_io_filter.h:24: error: syntax error before pcap_t
    net_io_filter.h:24: warning: no semicolon at end of struct or union
    net_io_filter.h:25: warning: type defaults to int in declaration of dumper
    net_io_filter.h:25: warning: data definition has no type or storage class
    net_io_filter.h:26: error: syntax error before } token
    make: ** [net_io.o] Erro 1

    Since I don´t have libpcap in the correct version, I made HAS_PCAP?=0 in the Makefile.

    I know nothing about C/C++ to correct this by myself, can anyone educate me? :) Thks in advance.