0.2.5 Release Candidate 2 (RC2)
Hello all,
The 0.2.5-RC2 is available for download. The important changes are essentially bugfixes:
- It is now possible to compile dynamips on Mac Intel with the JIT support (many thanks to Ben Low who gave me access to his Mac) ;
- The TCP console binding problem is solved ;
- The hypervisor command parser has been enhanced (particularly for filenames with blanks, but I think it will require a dynagen update) ;
- The “Hypervisor: unable to create TCP sockets” problem is fixed. Now, it should be able to re-bind immediately (I incorrectly used the setsockopt() function)
- Two hypervisor commands have been added to manage virtual Ethernet switches: “ethsw clear_mac_addr_table ” and “ethsw show_mac_addr_table “. Their names are explicit enough I think
- The non-JIT mode is a bit faster (on my system, 45 seconds to boot an image instead of 60) ;
- …
Files:
0.2.5-RC2 binary for X86 platforms
0.2.5-RC2 binary for X86_64 platforms
0.2.5-RC2 binaries for Windows XP and 2000
Enjoy ![]()
July 27th, 2006 at 10:57 pm
“Enjoy
”
No doubt we will. Thanks so very much! Going to test staright away.
July 27th, 2006 at 11:06 pm
You can bet it!!!! we will work hard on it
July 27th, 2006 at 11:17 pm
Fac3k> Thanks
I read your problem described in the forum, I would like to see your dynamips_log.txt file after you get the error message.
Freddy Bello> Can you please the “ethsw show_mac_addr_table” with your config that has problems ? Thanks in advance.
July 28th, 2006 at 12:07 am
Chris,
I sent you a PM at hacki with the PA-4B chip info.
I will send out the PA-4B card via FedEx tomorrow (Friday). I will PM a tracking # when i get it.
July 28th, 2006 at 1:18 am
Hi Chris and Greg,
I explicit define the exec area size in dynagen, it seems the cpu workload is 100%, the idle-pc funtion is disable. But when I comment out the exec_area = 128 ,and run again, the idle pc function works again .
Is it a bug or not?
July 28th, 2006 at 2:36 am
I boot an image in 10’s, your system is slowest. hoho!
July 28th, 2006 at 8:11 am
Marco:
I found something about ccie lab configure maybe wrong and I corrected your interface No. in topology. Please click this link: http://hacki.at/7200emu/viewtopic.php?p=51#51
And I have made a small lab topology , the link is http://hacki.at/7200emu/viewtopic.php?p=52#52
for CCNA and CCNP
July 28th, 2006 at 8:29 am
Thank you very much. It is wonderful .
I suggest if it can simulat cisco Calalyst switches .
July 28th, 2006 at 12:04 pm
steven.sun>
I can’t see the picture,pls post the changes in the forum.
July 28th, 2006 at 2:28 pm
u r our hero Chirs ^_^
July 28th, 2006 at 2:31 pm
May it be that idle-pc numbers changed in RC2 ?
I’ve some images that were running fine with RC1 and now hogs the CPU with RC2…
July 28th, 2006 at 2:39 pm
chris> It is not that much of a problem as I can sucessfully use different config (bridging on linux side), however I think something is wrong there and it is worth fixing if possible.
Hope it is more less clear.
Your ordered dynamips_log.txt is here http://7200emu.hacki.at/viewtopic.php?p=53#53
July 28th, 2006 at 2:41 pm
hi,marco:
the link is normal , I find the picture is not be shown before you login in the forum, after you login in it , you can see the normal picture
July 28th, 2006 at 6:18 pm
Chris thanx for your efforts
after running the 0.2.5 Release Candidate 2 (RC2) i got my CPU 15% - 25%
My PC is AMD 64 with 1.5 Gs of Ram and i do run 5 Vitrual routers @ the same time, will soon add more while keeping an eye on CPU usage.
The only point here is my RAM usage is 1.25 Gs out of 1.5 which is too much, wonder if there is any efforts to make it less.
Overall i still have a good lab to practice and thnx Chris and all who contribute this project.
Best regards
July 28th, 2006 at 9:26 pm
Hmmmmm, I connect one router with 3 fast eth interfaces to virtual ethernet switch. There are two eth sw in my lab. Each of them connect together. When i configure Eigrp on this router on more tha one interface, the following message hase arrived:
*Jul 28 23:08:03.419: IP-EIGRP(Default-IP-Routing-Table:30): Neighbor 172.16.46.6 not on common subnet for FastEthernet3/0
R3(config-if)#
*Jul 28 23:08:16.379: IP-EIGRP(Default-IP-Routing-Table:30): Neighbor 172.16.46.4 not on common subnet for FastEthernet3/0
But this happens and wneh i issue the network statement under th eEigrp proccess on other router. I don’t use Dynagen.
Someone has any idea ? I use swithes only for multiple fa connections, and “create” VLANS
Once again, does anyone hove idea what is the problem ?
July 28th, 2006 at 11:44 pm
Chris,
What other PA’s do you need? I can’t guarantee I can get any PA’s for you. But a list of PA’s you need will help me search. Hey maybe someone else can chip in some PA’s.
July 29th, 2006 at 3:41 am
london:
after running the 0.2.5 Release Candidate 2 (RC2) i can run 10 Vitrual routers in the same time,and only use my ram 1.1G.but i got my CPU 95% - 100%.My route is r1-r2-r3-r4-r5-r6-r7-r8-r9-r10 connect,and only run ospf like this area1-area0-area2.i don’t konw why my cpu is so high?when i use 1 Vitrual routers,cpu is only 2%.
July 29th, 2006 at 4:32 am
can someone gives me a help documents on how to use the latest feature of this excellent simulator!!!!!!!!!!!!!
thank you very much!
July 29th, 2006 at 6:30 am
Chris, i’m facing a bg problem
When i use eigrp with fa ethe interfaces with two virtual eth switches, hello packets are transmitet out and in every interfaces from every router, causing this messages:
Jul 29 08:30:17.991: IP-EIGRP(Default-IP-Routing-Table:10): Neighbor 20.20.20.6 not on common subnet for FastEthernet3/0
*Jul 29 08:30:28.511: IP-EIGRP(Default-IP-Routing-Table:10): Neighbor 30.30.30.1 not on common subnet for FastEthernet2/0
*Jul 29 08:30:41.263: IP-EIGRP(Default-IP-Routing-Table:10): Neighbor 20.20.20.6 not on common subnet for FastEthernet3/0
*Jul 29 08:30:51.871: IP-EIGRP(Default-IP-Routing-Table:10): Neighbor 30.30.30.1 not on common subnet for FastEthernet2/0
*Jul 29 08:31:03.267: IP-EIGRP(Default-IP-Routing-Table:10): Neighbor 20.20.20.6 not on common subnet for FastEthernet3/0
*Jul 29 08:31:13.975: IP-EIGRP(Default-IP-Routing-Table:10): Neighbor 30.30.30.6 not on common subnet for FastEthernet2/0
*Jul 29 08:31:26.707: IP-EIGRP(Default-IP-Routing-Table:10): Neighbor 20.20.20.6 not on common subnet for FastEthernet3/0
*Jul 29 08:31:37.643: IP-EIGRP(Default-IP-Routing-Table:10): Neighbor 30.30.30.6 not on common subnet for FastEthernet2/0
*Jul 29 08:31:47.687: IP-EIGRP(Default-IP-Routing-Table:10): Neighbor 30.30.30.1 not on common subnet for FastEthernet2/0
*Jul 29 08:31:59.523: IP-EIGRP(Default-IP-Routing-Table:10): Neighbor 20.20.20.6 not on common subnet for FastEthernet3/0
*Jul 29 08:32:10.535: IP-EIGRP(Default-IP-Routing-Table:10): Neighbor 30.30.30.6 not on common subnet for FastEthernet2/0
Whats the problem
:( 
July 29th, 2006 at 10:19 am
Hris,
This has absolutely nothing to do with the dynamips. Go pick up a book and do some reading on eigrp.
July 29th, 2006 at 11:51 am
tymfr > there is a very useful read me file will answer your questions, don’t forget the tutorial file in the dynamips
Carry Big > there is so many issues involved in here, first the ram allocated for each virtual router, you suing 9 X 160 MB —-> this should 1440 MB of ram so keep that in ur mind. The only issue i noticed when it comes to CPU is the IOS version and the idlepc values associated with it.
We all must keep in mind that this is a new stuff and it is under development each day so we should expect it to be better soon as Chris keep updating it and fixing some common issues and adding more features.
Best regards
July 29th, 2006 at 12:03 pm
ris>
Don’t make me a stupid !!!
This is not a lan hib to transmit broadcast/multicast packets ot every interfaces-it’s a ether switch !!!
I post this, because when i make a single fa connection from router to the switch, the are no problems, but when i connect 3 fast ethernet interfaces from each router to the swithes, the problem has arised. So that, i think, that the problem isn’t in an eigrp behaviour
July 29th, 2006 at 12:15 pm
tron> In theory, the values should work the same. How did you determine them ?
vmissouril> First, many thanks for sending a PA-4B
At this time, I don’t have special needs, it depends of what users want now …
hris> Can you please post your IOS configs, your eth sw configs and the command lines you are using ?
July 29th, 2006 at 12:24 pm
Hris,
What can I say, you must be right !! It’s so obvious, something is definitely wrong with the Dynamips ! I just cannot believe I didn’t see that before, I’m sooo sorry.
Yap, don’t bother troubleshooting your config. I mean, you CANNOT be that stupid right ? So it’s definitely for sure something is wrong with Dynamips. :-))
baw ha ha
July 29th, 2006 at 12:34 pm
I think the easy way to know what element is faulty is to have the full configuration (IOS + dynamips). Then we’ll be able to troubleshoot with a precise view.
July 29th, 2006 at 1:14 pm
So,
ris, a don’t claim, that i’m right, but i already say: With more instances, some thing have changed
July 29th, 2006 at 1:20 pm
IF:E2:udp:10030:127.0.0.1:10029
IF:E4:udp:10026:127.0.0.1:10025
IF:E6:udp:10028:127.0.0.1:10027
IF:E8:udp:10024:127.0.0.1:10023
IF:E13:udp:10098:127.0.0.1:10099
This is the config of bridge1.(working config)
Similar is for bridge2.
I just connect instances to specified ports.
Thats all.
And when i run ospf on 3 or more fa eth int, error messages for virtual links has arised. The adjacency is established, the routes are transmited, but this messages does not stop flooding console.
Also, wneh i issue “no eigrp log-neighbor-warning” command, the “network not on common subnet” message continue to disrupt me :
July 29th, 2006 at 1:21 pm
I stop disturb you, ris !!!
July 29th, 2006 at 1:47 pm
hris> Can you also please post the IOS configs and your command lines ?
July 29th, 2006 at 1:55 pm
Chris
Based on what you say that its based about what users want now, let me leave this comment:
if u ask most users in here they would recommend a 3500 or 3560 Switches to complete the CCIE lab practice + adding a Gig port to the 7200 router it self as so far we only get the Fast Ethernet, adding this Giga port to the 7200 is an awsom move. Trust me Chris you will make a huge help for all people who want to achieve the CCIE and cant get those expensive 3550 or 3560 switches, but i don’t think this is easy to request such a thing, as its going to take from you lots of time, as its differ from the dynamips for the 7200, but what i can say man you know the stuff better than anyone of us that’s why we keeping an eye on your moves
So far we can practice all the core techs. in the routers, nothing missing except involving a 3550 or 3560 switches in the lab, that will make it huge steps into CCIE world.
Dont forget that ISDN and ATM had been removed from the CCIE lab it self, so that’s my recommendations is to focus on the 3550 or 3560 switches + adding another Geg interface for the 7200 router.
Finally the only thing i can afford to say is THANKS for helping us that much … your in our minds all time for helping us that way, and looking forward to hear from you what’s next: hopefully 3550 or 3560 , G interface for the 7200 router.
Hopefully! but it’s entirely up to you Chris but we have faith in you
Best regards
July 29th, 2006 at 2:04 pm
hris>
May i ask you please:
if you run ONE virtual router do you see any of those messages ???
Based on your replay i will tell you whats your problem.
Best regards
July 29th, 2006 at 2:22 pm
london >
I do agree with you if we can emulate the catalyst 3550 or 3560, it help for all people who want to achieve the CCIE. I am now starting to prepare the CCIE. For now, I am lack of 3550 to practise switcing, but I konw that emulate a 3550 is very very difficult to achieve this.
Although ATM and ISDN had been removed from CCIE R&S track, CCNA, CCNP as well as other CCIE tracks may still be useful.
I suggest that emulate ISDN switch and enhance the virtual switch feature first, such as adding a virtual PC that allow ping or trace them from router.
July 29th, 2006 at 2:24 pm
Marco, since you’re preparing for CCIE, I would like to know if you’ve encountered any major limitations in using dynamips to create complex topologies.
July 29th, 2006 at 2:42 pm
Chris >
Thanks for your respond.
but can you please clearify some points :
you working on Emulate ISDN swtich, do you mean to make it to work as a ISDN simulator ??? is that what you mean ??? If so then you need to add a BRI interfaces for the 7200 router, just correct me if am wrong.
you wanna add virtual PC, hmmm this is new stuff lol, do you mean adding Virtual PCs and making them able to connect to subnets as if they real to test conectivity or ACLs?? is that what you mean ???
Well thats sounds perfect
but if making the emulation of 3550 switch difficult, hmm then i think we have no options just to buy them
but again it will required more than 5 or 6 NICs on the PC to make connections between the 5 or 6 virtual Routers and the the real 3550 swtiches that we will add to our network.
I mean is there anyway to connect the 5 or 6 virtual routers to two real 3550 switches ???? i really dont know if there is away to do this in dynamips
best regards
July 29th, 2006 at 2:59 pm
london> The first step is to emulate a PA-4B. This might be possible, since vmissouril offered one. After that, why not an ISDN switch (I need some doc about the ISDN protocols like Q.921/Q.931).
I didn’t speak of virtual PC, but what I would do is to find a userland TCP/IP stack that could be integrated into dynamips and that could be used to build autonomous elements.
About the 3550/3560, it requires to write a PowerPC emulation, and then to understand how the very complex ASIC work on these platforms. Without datasheets, I don’t know how it would be possible. Remember how difficult it was to have working serial interfaces whereas it is clearly less complicated.
July 29th, 2006 at 3:12 pm
Hi Chris,
PowerPC emulation as you may be aware has been done in PearPC project (pearpc.sourceforge.net). I have worked with it (installed a FreeBSD on it and did assembly programming etc) in uni. I have heared that MacOS has been tested on it.
It is a really great project (perhaps comparable to your great job).
But the ASIC thing I don’t know how one should proceed. We need very good documentation on internal architecture of the switch.
Regards,
Mac
July 29th, 2006 at 3:26 pm
Chris,
The PA-4B-U ISDN is en route. I mailed it friday. It should take 4-6 Business days to get to you.
The tracking # is worthless so just give me a heads up when it arrives. I had to use USPS. (FedEx & UPS waned $75 for shipping)
July 29th, 2006 at 3:52 pm
Hris,
Don’t leave us all in suspence. Ha ha.. Show us your config .
July 29th, 2006 at 4:18 pm
Chris > thanks for the info and yes will try to do some more search on the docs that might be usefull, let us know Chris if you need stuff that you think it might be helpfull to buy or to send.
ris> cool down man … you changing the discussion to useless topics …. no one knows everything about anything … even Chris the one who done this great project saying its doable but required more knowledge and docs … we all here to learn not to hunt mistakes … so please just stop teasing Hris as this is not the proper place for this type of jokes !!!
vmissouril > thanks for helping Chris and all of us.
Hris> please let me know if your messages still pops up when you have only one virtual router running, as this is a good way to do some troubleshooting stuff…. so am waiting for your respond.
Best regards
July 29th, 2006 at 4:26 pm
Mac > thats a very good news, i just contacted one of my friends who work with Cisco, and he will do his best to get me the docs for the internal architecture for the 3550 & 3560 switches …. i think its more to focus now on the PA-4B ……
PowerPC hmmm this cool stuff … lets wait for more search on this info.
Best regards
July 29th, 2006 at 4:59 pm
If anyone wants some info on the PA-4B-U & PA-8B-ST here is a cisco link.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios111/ca111/pabri.htm
July 29th, 2006 at 10:47 pm
Chris,
my bad. I started using 12.1 versions with posted idle-pc values and
they are not good with the IOS I downloaded.
Be carefull, same c7200-p-mz.121-27b.bin file has an offset of some bytes,
so may be cisco is doing some small changes w/o changing names.
(Posted 0×60541950 my version 0×605419b8)
On the eigrp side, hris:
I assume you are using different UDP ports for different bridges and a different bridge instance for each network?
What you describe would happen if you have only one broadcast domain…
Also, AFAIK, dynamips is only capable of starting 1 bridge or switch per instance.
I do not use dynagen so I don’t know if that can complicate matters.
July 30th, 2006 at 3:51 am
I have no idea why some of you say some protocols do not work properly like the case above about EIGRP! I have created my complex CCIE Lab that has 12 routers and run EIGRP, OSPF, BGP and RIP v2 with no problem whatsoever!! everything is looks fine and dandy
I LOVE THIS SOFTWARE AND WAITING TO SEE THE CAT SWITCHES IF IF IF POSSIBLE!!
July 30th, 2006 at 4:08 am
Digital,
Could you send me uour LAb and configs??
trancarede@hotmail.com
THX
July 30th, 2006 at 5:28 am
Hi, Chris, thanks for your working!
I found a POS interface problem. The command “pos framing sdh” and “pos flag c2 25″ didn’t working. The information as follows:
==============================================
Router#sh running-config | begin POS
interface POS1/0
no ip address
pos framing sdh
pos flag c2 25
!
interface Serial2/0
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
Router#sh controllers pos 1/0
POS1/0
SECTION
LOF = 0 LOS = 0 BIP(B1) = 0
LINE
AIS = 0 RDI = 0 FEBE = 0 BIP(B2) = 0
PATH
AIS = 0 RDI = 0 FEBE = 0 BIP(B3) = 0
PLM = 0 UNEQ = 0
LOP = 0 NEWPTR = 0 PSE = 0 NSE = 0
Active Defects: None
Active Alarms: None
Alarm reporting enabled for: SF SLOS SLOF B1-TCA B2-TCA PLOP B3-TCA
APS
COAPS = 0 PSBF = 0
State: PSBF_state = False
Rx(K1/K2): 00/00 Tx(K1/K2): 00/00
S1S0 = 00, C2 = 00
CLOCK RECOVERY
RDOOL = 0
State: RDOOL_state = False
PATH TRACE BUFFER: STABLE
Remote hostname :
Remote interface:
Remote IP addr :
Remote Rx(K1/K2): / Tx(K1/K2): /
BER thresholds: SF = 10e-3 SD = 10e-6
TCA thresholds: B1 = 10e-6 B2 = 10e-6 B3 = 10e-6
Clock source: line
Interface POS1/0
Hardware is Packet over Sonet
posdw_ds=0×6579DBFC, base reg=0×3C800000, pc_fpga=0×3CF00000, suni_reg=0×3CE00000
no_buffers=0, no_forward=0, rx_overrun=0
rx ring entries=128, tx ring entries=256
rxring=0×771A3A00, rxr shadow=0×6579E178, rx_head=1, rx_enabled=1
txring=0×71A3F00, txr mp shadow=0×6579E3AC, txr pak shadow=0×6579E7E0
tx_head=39, tx_tail=43, throttled=0 enabled=0
tx_count=4 tx_fullring=0 err_int=44
tx_limited=0, mci_txcount_enabled=0, mci_txcount=256
particle pool cache = 657A5040, cache_end = 0×5C0, PHY link up
ip_turbo_fs = 0×60090084
proc_ctrl FPGA_status = 0×7F
CRC16, Scrambling disabled, Byteswap enabled
ais-shut = FALSE
Rx_K1= 0×00 Rx_K2= 0×00 Tx_K1= 0×00 Tx_K2= 0×00
POSDW RX PLX registers:
CBROM=0×00000000, CFCS=0×00000000, CFLT=0×00000000
CBMEM=0×00000000, CBIO=0×00000000, CBLOCAL=0×00000000
range_pci_local=0×00000000, remap_pci_local=0×00000000
bus_desc_pci_local=0×00000000, range_local_pci=0×00000000
remap_local_pci=0×00000000, remap_pci_rom=0×00000000
cb_local_pci =0×00000000
POSDW TX PLX registers:
CBROM=0×00000000, CFCS=0×00000000, CFLT=0×00000000
CBMEM=0×00000000, CBIO=0×00000000, CBLOCAL=0×00000000
range_pci_local=0×00000000, remap_pci_local=0×00000000
bus_desc_pci_local=0×00000000, range_local_pci=0×00000000
remap_local_pci=0×00000000, remap_pci_rom=0×00000000
cb_local_pci =0×00000000
POSDW CS PLX registers:
CBROM=0×00000000, CFCS=0×00000000, CFLT=0×00000000
CBMEM=0×00000000, CBIO=0×00000000, CBLOCAL=0×00000000
range_pci_local=0×00000000, remap_pci_local=0×00000000
bus_desc_pci_local=0×00000000, range_local_pci=0×00000000
remap_local_pci=0×00000000, remap_pci_rom=0×00000000
cb_local_pci =0×00000000
Router#
===============================================
July 30th, 2006 at 8:52 am
Tron,
I think it was me who posted the old idle-pc values of the c7200-p-mz.121-27b.bin.
Same thing happened to me the Idle Values changed after i used a newer version of dynamips !!
So do you think the idle-pc value changes necause of different dynamips versions or cisco chamged the IOS binary recently !!
Anyway now i just try to get the idle-pc values whenever i change the IOS
but sometimes it not very easy !
Press RETURN to get started!
00:00:07: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
00:00:08: %SYS-5-CONFIG_I: Configured from memory by console
00:00:08: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, ch
ed state to down
00:00:08: %SYS-5-RESTART: System restarted –
Cisco Internetwork Operating System Software
IOS ™ 7200 Software (C7200-P-M), Version 12.1(27b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Tue 16-Aug-05 21:51 by pwade
00:00:10: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to admini
atively down
Please wait while gathering statistics…
Done. No suggestion for idling PC
Please wait while gathering statistics…
Done. No suggestion for idling PC
Please wait while gathering statistics…
Done. No suggestion for idling PC
July 30th, 2006 at 8:59 am
All,
What do you think is the Best IOS version which has MPLS features and consumes the least PC resources
I think the IOS c7200-p-mz.121-27b.bin is the best with only 6.36 MB size
What do you think
July 30th, 2006 at 12:17 pm
London,
It’s the people that doesn’t try to troubleshoot their config before blaming the software that is wasting everybody’s time. And nobody called him stupid except himself and it’s sooo true. Just by looking at the error, we can tell it’s a IP address config error and yet he doesn’t even want to listen and check. Read the messages above.
As for Internal documents on 3550, I suggest you freeze and think clearly before you even talk to your friend about it. You are just going to get this project into trouble. There IS a reason why open source developers will not look at commercial code even if you give it to them. I think Chris has to make a stand on this. He has had to removed certain code from this project due to similar issue some time earlier and I think he knows what I’m talking about.
July 30th, 2006 at 3:41 pm
I’m sorry to trouble you :
It shows:”memzone_create_file: open: Permission denied”, when i use the dynamips.
Can you help me find the reason ? Otherwise , I have to reinstall my system
===========================================
D:\mnq>dynamips-wxp.exe -r 64 -t npe-400 C7200.bin
Cisco 7200 Simulation Platform (version 0.2.5-RC2-x86)
Copyright (c) 2005,2006 Christophe Fillot.
Instance ID set to 0.
Virtual RAM size set to 64 MB.
IOS image file: C7200.bin
CPU0: carved JIT exec zone of 16 Mb into 512 pages of 32 Kb.
memzone_create_file: open: Permission denied
Bootflash: unable to map file ‘c7200_i0_bootflash’
memzone_create_file: open: Permission denied
NVRAM: unable to map file ‘c7200_i0_nvram’
memzone_create_file: open: Permission denied
disk_create: open: Permission denied
C7200 ‘default’: incomplete initialization (no memory?)
C7200 ‘default’: unable to initialize the platform hardware.
Unable to initialize router instance.
D:\mnq>
=========================================
July 30th, 2006 at 8:38 pm
Hi all,
First of all thanks to crish for all his efforts and an excelent job.
my experience with dynamips starts with pre24 and it was better to use RC1 and RC2 i found that in my lappy i can simulate 6 router’s with celeron 1.4 512 MB ram.
my configuration is here
# All the f0/0 interfaces are on VLAN 1 and the F1/0 interfaces are on VLAN 2
autostart = false
[localhost]
[[7200]]
image = \PROGRA~1\Dynamips\images\c.bin
npe = npe-200
ram = 128
nvram = 512
idlepc = 0×606f8894
midplane = vxr
[[Router RA]]
f0/0 = LAN 1
s1/0 = RB s1/0
[[Router RB]]
s1/1 = RC s1/1
s1/2 = RD s1/2
[[Router RC]]
s1/0 = RD s1/0
[[router RD]]
s1/1 = RE s1/1
[[Router RE]]
f0/0 = LAN 2
My experience says
calculate your own idlepc value with the npe and required ram.
use midplane vxr it gives you more router instance
increase your pagefile size in windows so that it can use that as RAM.
chnage nvram to 512 and use RC2 for fastboot
use teraterm for telneting to router’s.
use dynagen managment console to start router’s one by one and use autostart = false.
once a router starts press enter to go to user mode put enable command than check your CPU utilization.
Anybody want other good experience to run more instance do write here.
i will be happy to help you all.
and last but not the least dynamips ROCKS and crish too.
You are god
cheers
CCIE by dynamips
July 31st, 2006 at 12:33 am
hadlley>
It seems that your ios version is up-to-date, you should at least allocate 96 MB ram,otherwise, it cannot initialize it. Try to increase memory size for each instance.
July 31st, 2006 at 1:41 am
simply AWESOME !!
you deserve a nobel prize for this !!!
July 31st, 2006 at 6:56 am
Hi Marco,
Thanks for your reply,
But it’s same , when i change the ram=128 or others. So ,i think it’s caused by OS XP.
========================================
D:\mnq>dynamips-wxp.exe -r 64 -t npe-400 C7200.bin
Cisco 7200 Simulation Platform (version 0.2.5-RC2-x86)
Copyright (c) 2005,2006 Christophe Fillot.
Instance ID set to 0.
Virtual RAM size set to 64 MB.
IOS image file: C7200.bin
CPU0: carved JIT exec zone of 16 Mb into 512 pages of 32 Kb.
memzone_create_file: open: Permission denied
Bootflash: unable to map file ‘c7200_i0_bootflash’
memzone_create_file: open: Permission denied
NVRAM: unable to map file ‘c7200_i0_nvram’
: Permission denied: open
disk_create: open: Permission denied
C7200 ‘default’: incomplete initialization (no memory?)
C7200 ‘default’: unable to initialize the platform hardware.
Unable to initialize router instance.
D:\mnq>dynamips-wxp.exe -r 128 -t npe-400 C7200.bin
Cisco 7200 Simulation Platform (version 0.2.5-RC2-x86)
Copyright (c) 2005,2006 Christophe Fillot.
Instance ID set to 0.
Virtual RAM size set to 128 MB.
IOS image file: C7200.bin
CPU0: carved JIT exec zone of 16 Mb into 512 pages of 32 Kb.
memzone_create_file: open: Permission denied
Bootflash: unable to map file ‘c7200_i0_bootflash’
memzone_create_file: open: Permission denied
NVRAM: unable to map file ‘c7200_i0_nvram’
memzone_create_file: open: Permission denied
disk_create: open: Permission denied
C7200 ‘default’: incomplete initialization (no memory?)
C7200 ‘default’: unable to initialize the platform hardware.
Unable to initialize router instance.
D:\mnq>
========================================
July 31st, 2006 at 9:48 am
Litte tips for lower cpu value.
Remember to set console line time to 0 so it will never timeout
(config)#line con 0
(config-line)#exec-t 0 0
Otherwise when it timeout, you get 100% cpu.
July 31st, 2006 at 10:09 am
Joe this is just a workaround. This problem is already known and has been solved -> http://www.ipflow.utc.fr/blog/?p=33#comment-2260 (read reply to Fac3k)
July 31st, 2006 at 2:09 pm
Fac3k
Thank you for your information. Now I know I have been using the wrong idle-pc value. I find a new idle-pc value base on your suggestion. Thank you.
Also any resolution when telnet from one router to another router, the CPU % rise to nearly 100%? Right now I define the aux port to avoid telnet between routers.
July 31st, 2006 at 2:11 pm
Hi all ,
Thanks for your help.
Now it works normally , I think “memzone_create_file: open: Permission denied ” is caused by dynamips in conflict with the Dynagen with different version ?
Anyway , it’s working now! Let’s enjoy the it!
Best regards
July 31st, 2006 at 4:32 pm
hi, everyone. I found if I foramt bootflash: , CPU will up to 100%.
what’s the matter, can you help me ??
I use dyanmips CR2, dynagen 0.4.2.1.
IBM T41, P1.6G,384M .
Thank you !!
July 31st, 2006 at 5:45 pm
http://photo.163.com/photos/redboynono
marco: you can try this link to see the topology
August 1st, 2006 at 12:06 am
Hadlley,
What is your IOS versions ? Increase it further to 256 if it’s a newer IOS versions or else, use IOS 12.1 . The error message was very clear, you have insufficient memory.
August 1st, 2006 at 12:22 am
steven.sun>
Well, I get it. Thank you!
August 1st, 2006 at 3:58 am
Joe, when you use the correct idlepc value the telnet problem will be solved as well.
August 1st, 2006 at 2:32 pm
Why not base the emulator on qemu?
It would benefit from the portable (and ported) JIT engine.
August 1st, 2006 at 5:12 pm
Sorry , Missed posted , reposted here . JimL
I know I have to be doing something wrong here . But it appears that libelf does not exist on my system . Would someone please be so kind as to point me in the correct direction . Tia , JimL
$ uname -a
Linux dohwkh204101 2.6.16.1 #4 SMP Fri Jun 16 10:46:58 PDT 2006 i686 unknown unknown GNU/Linux
$ cat /etc/slackware-version
Slackware 10.2.0
$ make
Linking rom2c
cc: /usr/lib/libelf.a: No such file or directory
rom2c.c:16:20: libelf.h: No such file or directory
rom2c.c: In function `main’:
rom2c.c:25: error: `Elf32_Ehdr’ undeclared (first use in this function)
rom2c.c:25: error: (Each undeclared identifier is reported only once
rom2c.c:25: error: for each function it appears in.)
rom2c.c:25: error: `ehdr’ undeclared (first use in this function)
rom2c.c:26: error: `Elf32_Phdr’ undeclared (first use in this function)
rom2c.c:26: error: `phdr’ undeclared (first use in this function)
rom2c.c:27: error: `Elf’ undeclared (first use in this function)
rom2c.c:27: error: `img_elf’ undeclared (first use in this function)
rom2c.c:40: warning: implicit declaration of function `elf_version’
rom2c.c:40: error: `EV_CURRENT’ undeclared (first use in this function)
rom2c.c:40: error: `EV_NONE’ undeclared (first use in this function)
rom2c.c:45: warning: implicit declaration of function `elf_begin’
rom2c.c:45: error: `ELF_C_READ’ undeclared (first use in this function)
rom2c.c:47: warning: implicit declaration of function `elf_errmsg’
rom2c.c:47: warning: implicit declaration of function `elf_errno’
rom2c.c:47: warning: format argument is not a pointer (arg 3)
rom2c.c:51: warning: implicit declaration of function `elf32_getphdr’
rom2c.c:53: warning: format argument is not a pointer (arg 3)
rom2c.c:62: warning: implicit declaration of function `elf32_getehdr’
rom2c.c:73: warning: value computed is not used
make: *** [rom2c] Error 1
August 2nd, 2006 at 4:34 am
Chris,
Will the simulator work for Dual Processors (2 physical processors) and windows Server 2003??
Thanks for your reply!
August 2nd, 2006 at 5:51 am
>digital: The dynamips can work for windows 2003 server.My computer is
running win2003,every thing is OK.
August 2nd, 2006 at 6:48 am
hello averybody
how and where can I use the commands “ethsw clear_mac_addr_table” and “ethsw show_mac_addr_table”?
my dynagen is 0.4.2.072206
and I am using 0.2.5 Release Candidate 2 (RC2)
thanks
August 2nd, 2006 at 9:27 am
>digital: I think the dynamips can work for Dual Processors when u run multi-vitrual routers in the same time.
August 2nd, 2006 at 2:01 pm
digital>
I have a duo core t2300 , 2 Gb memory and dynamips work fine , my load is 38% in CPU0 and 43% in CPU1 , well i don’t known if this values are good , but worked to mee…
I use archlinux but i believe with W2003 worked too..
Sorry my poor english
August 2nd, 2006 at 2:22 pm
Hi,
I am having fun with my lab build with the dynamips. I have seen some commercial remote lab where there is a web page with the lab topology. Then by moving the mouse over the router, a finger appear. A click of mouse will launch a reverse telnet to the router console. I know it is written in java. Did anyone give me some clue because I am not that good in java and web page writing. Any source source, I just need to call the telnet program to particular address and port number.
Thank you.
August 2nd, 2006 at 2:40 pm
to babydr,
seems you lost your libelf
make sure install a copy at /usr
August 3rd, 2006 at 4:22 am
Thanks for the suggestions!
LAB> How many router instances did you run to get your CPU to 38-43% ?? and how was the performance? Did the ping and routing protocols have any issue? I tried to run 10 instances on my P4 (1.8 Ghz) with 512 RAM but the ping test was like a snail!! and some ospf and EGRP neighbers fail due to the slow reachability along the way for the keep-alive heartbeats!! It’s like neighber up and down from time to time due to slow processing!
Thanks in advance guys!
August 3rd, 2006 at 10:55 am
digital,
I get “decent” response times on a PIII 450 /256MB with 4 routers running with -X and 64MB of memory each. (~80% CPU doing IGP + BGP)
I follow the advise of having small old IOS files (12.1) for doing that.
Just 2 x 12.4 instances brings my poor baby to stall.
On another front, anybody with a quick recipe to make the local host
able to talk to the routers ? W2k based.
I don’t really know if/how TAP interfaces can be used
I’ve been able to attach to “unused” ifs, but got nice BSOD when trying
the live one.
August 3rd, 2006 at 1:48 pm
Digital>
I run 9 intances , i have a core duo t2300 with 2Gb memory , when i ping i get 40/60 ms between serials interfaces(i believe with that value is very high, but …..) , i run OSPF and BGP and i want run MPLS too.
August 3rd, 2006 at 1:57 pm
tron>
I don’t understand what u meant by the “running with -x” can u explain more please?
As far your question regarding the local host able to talkto the routers, yes u can!
run the file “network device list” and copy the value into your config file “the .net” file. So your setting should look someting like this:
F0/0 = NIO_gen_eth:\Device\NPF_{B00A38DD-F10B-43B4-99F4-B4A078484487}
So the value “B00A38DD-F10B-43B4-99F4-B4A078484487″ is what you need to get from the “network device list”…
August 3rd, 2006 at 2:14 pm
I hope you didn’t scare hris away, ris. This forum is to help, not hurt or hinder - to be honest, one of the non-tested CCIE portions is client-facing skills, and a better way to get useful information from hris in order to assist him could’ve been tried as opposed to a dogbert approach. Anyway, it is also apparent that his grasp of English is not as native as yours or mine, so perhaps his tone was misinterpreted.
If you still need help, hris, please post, please provide your (relevant) configuration info, etc., and we will try to assist - obviously if it IS a problem with the application, identifying it would benefit us all, and if it is a problem with your application of the config then it might be a useful and learning exercise for some of us.
August 3rd, 2006 at 3:16 pm
babydr> I use Mandriva myself, but found I had the same problem as you.
In my case I needed to install libelfutils1-devel & libelfutils1-static-devel I’m not familiar with Slackware but hopefully this may help you.
August 3rd, 2006 at 3:43 pm
Hi guys,
I’m having trouble to make 8 simulator with frame-relay..
what i did is like this :
1: dynamips-wxp –idle-pc=0xffffffff805e1fb4 -r 128 -t npe-400 -p 1:PA-8T -s 1:0:udp:10411:127.0.0.1:10418 c7200-jk9s-mz.122-34.bin
2: dynamips-wxp –idle-pc=0xffffffff805e1fb4 -r 128 -t npe-400 -p 1:PA-8T -s 1:0:udp:10422:127.0.0.1:10428 c7200-jk9s-mz.122-34.bin
3: dynamips-wxp –idle-pc=0xffffffff805e1fb4 -r 128 -t npe-400 -p 1:PA-8T -s 1:0:udp:10433:127.0.0.1:10438 c7200-jk9s-mz.122-34.bin
4: dynamips-wxp –idle-pc=0xffffffff805e1fb4 -r 128 -t npe-400 -p 1:PA-8T -s 1:0:udp:10444:127.0.0.1:10448 c7200-jk9s-mz.122-34.bin
5: dynamips-wxp –idle-pc=0xffffffff805e1fb4 -r 128 -t npe-400 -p 1:PA-8T -s 1:0:udp:10455:127.0.0.1:10458 c7200-jk9s-mz.122-34.bin
6: dynamips-wxp –idle-pc=0xffffffff805e1fb4 -r 128 -t npe-400 -p 1:PA-8T -s 1:0:udp:10466:127.0.0.1:10468 c7200-jk9s-mz.122-34.bin
7: dynamips-wxp –idle-pc=0xffffffff805e1fb4 -r 128 -t npe-400 -p 1:PA-8T -s 1:0:udp:10477:127.0.0.1:10478 c7200-jk9s-mz.122-34.bin
8: dynamips-wxp –idle-pc=0xffffffff805e1fb4 -r 128 -t npe-400 -p 1:PA-8T -s 1:1:udp:10418:127.0.0.1:10411 -s 1:2:udp:10428:127.0.0.1:10422 -s 1:3:udp:10438:127.0.0.1:10433 -s 1:4:udp:10448:127.0.0.0:10444 -s 1:5:udp:10458:127.0.0.1:10455 -s 1:6:udp:10468:127.0.0.1:10466 -s 1:7:udp:10478:127.0.0.1:10477 c7200-jk9s-mz.122-34.bin
i can put only 4 up and after that no more.. is that the port configuration problem ? or other thing ?
Please give me an advise…
August 3rd, 2006 at 4:51 pm
i had a mistake on that after i fixed i can put 7 but not the Frame-relay SW
August 3rd, 2006 at 6:04 pm
digital,
-X option to dynamips will tell it not to use its own disk based VM, i.e. map the emulator memory to your machine’s.
I know about the mapping to real interfaces, but it has caused me trouble (BSOD, blue screen of death) when using it with an active interface.
That was why I was asking about TUN/TAPP interfaces in w2k…
August 4th, 2006 at 3:50 am
Hi tron,
Thanks for ur reply! I’m still quite blur about the -X option! Where do i have to add this option and how does the syntax look like??!
I’m using the dynampis on windows and the options are included in the “.net” file something looks like this…
————————————————————————————-
[localhost]
[[7200]]
idlepc = 0×607df800
image = \PROGRA~1\Dynamips\images\C7200-IK.BIN
npe = npe-400
ram = 96
[[ROUTER R1]]
s1/0 = F1 1
[[ROUTER R2]]
s1/0 = F1 2
[[ROUTER R3]]
s1/0 = F1 3
[[ROUTER R4]]
s1/0 = F1 4
[[FRSW F1]]
1:102 = 2:201
1:103 = 3:301
1:104 = 4:401
2:203 = 3:302
2:204 = 4:402
————————————————————————————-
So, in the “.net” file where does the -X option be and how will it look like?
Furthermore, I’ve seen people use tne command line as in …
————————————————————————————–
1: dynamips-wxp –idle-pc=0xffffffff805e1fb4 -r 128 -t npe-400 -p 1:PA-8T -s 1:0:udp:10411:127.0.0.1:10418 c7200-jk9s-mz.122-34.bin
————————————————————————————–
I’m still not clear why would people still use the command line when they can put everything nice and neat in the “.net” file!!
Anyone can explain please? Greatly appreciated….
Thank you all.
August 4th, 2006 at 10:17 am
Hello,all,
Who can tell me how to use the following Option in ‘README-0.2.5′?And for your convenience it’s very nice to give me one example to use it.Thnx a lot.
=======================================
-U : Console in on serial interface
(default is on the terminal)
———————————————————————-
: “device{:baudrate{:databits{:parity{:stopbits{:hwflow}}}}}}”
=======================================
August 4th, 2006 at 5:08 pm
Mark> I can’t stress how true the point you made is. Without solid client-facing interfacing skills, certification is a moot point. In fact, look at how much time doctors have to spend learning ‘bedside manners.’
August 4th, 2006 at 7:58 pm
Is this “idle pc” thing working properly with dynagen, specially when running more than 1 instance??
I’m having bad time getting this to work!
August 4th, 2006 at 9:37 pm
digital > “-x” as a dynamips command line switch is the same as “mmap = False” in Dynagen. Currently, this is the default. However, starting with the next version I am going to change the default to “mmap = True” for two reasons. The first so it matches the dynamips default, which should make troubleshooting easier for Chris and me if things are as similar as possible whether folks choose to use dynagen or the dynamips command line. Second, if you don’t have enough RAM to support -X you may experience crashes. It also seema that people are starting to run into the cygwin 2GB process limit. It is safer to default to mmap on, and experienced users can turn it off manually once they are sure they have the memory to support it.
August 4th, 2006 at 9:39 pm
dxixg> I haven’t added support for those hypervisor commands yet in a published version. 0.4.3 will add two CLI commands “show mac [switchname]” and “clear mac [switchname]” which will do pretty much what you’d expect!
August 5th, 2006 at 3:13 am
Mark> You are the one starting to waste people’s time with idealistic replies. He is not replying because he figured out that it was his mistake and that it was exactly what I pointed out to him. There is no such thing as untested CCIE portion. :-)) . Even after allowing for possible language issues, his reply is still arrogant , especially when he doesn’t know what he was talking about.
http://www.ipflow.utc.fr/blog/?p=36#comment-2640
I have not seen complaints about CCIEs with bad people skills, just complaints about CCIE these days with lack of real technical/troubleshooting skills.
netn> When you died from being treated by a doctor with lousy medical skills, then maybe you want to discuss again what is important , real skills or “smooth talking” , or maybe you prefer the doctor that tells you, your family is dead because the needle isn’t working properly, and when you tell him it cannot be, he starts screaming at you not to think he’s stupid and that many needles changes things :-))
Anyway, enough time wasted, I don’t think you two will understand what I’m saying anyway. So don’t waste the space on Chris blog to reply this.
August 5th, 2006 at 6:49 am
Greg A,
Thank you so much for your reply! One more question if you don’t mind. Soon i will have my new system that will have an AMD 64 with WinXP 64-bit and i would like to have Dynagen but the 64-bit version. How do i go about it? The current Dynagen is for the windows standard 32-bit! I only found the AMD64 with a bin file and i presume that is for the Linux only and i need the Windows version….
Thanks a gain!
August 5th, 2006 at 8:30 am
Greg, could you please take a look at my previous post regarding the idle-pc variable, and advise whether or not it is supported by the current dynagen release.
Thanks
August 5th, 2006 at 1:48 pm
KB,
Yes, idle-pc support is in Dynagen (thanks to Chris supporting it in the hypervisor) and should work just fine. Can you detail the problem you are having, and the process you are using for determining the value?
August 5th, 2006 at 1:58 pm
digital,
I don’t have any experience with Windows or Linux on 64 bit systems so unfortunately I can’t answer your question. Maybe someone else can chime in here? I would think you would need to compile Dynamips from source, and I would also think you would need a 64 bit Cygwin to do that. But as per the Cygwin FAQ: “As far as we know no one is working on a native 64 bit version of Cygwin.”
With respect to Dynagen itself, it is Python code “compiled” with py2exe. If there is a 64 bit Python interpreter for Windows you could just use that to run the Dynagen source and then you would be 64 bit. But I don’t think a 64 bit version of just the Dynagen front end is what you want. You probably want 64 bit Dynamips.
August 5th, 2006 at 4:47 pm
Thanks Chris.
one instance od router takes 85% of my resources and two runs more than 100%.
does Dynagen runs perfect on Linus? i have p4 3 gig and 2 gig memory.
need to run at least 6 routers
August 5th, 2006 at 9:40 pm
Here is a T1 PA for the 7200 Series
http://cgi.ebay.com/Cisco-7200-7206-7204-PA-2CT1-PRI-7500-7507-7513_W0QQitemZ140012983118QQihZ004QQcategoryZ28037QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
If anyone wants to help chris with PA’s get it and sent it to him. I helped him out with ISDN. someone step up. =)
August 5th, 2006 at 9:44 pm
I would buy it, but I was in a car accident on sunday. I have to pay the deductible whis is $500. =(
August 5th, 2006 at 10:53 pm
Hi,
Unfortunatelly my country is not on the PayPal list,but I will send them email tomorrow to ask is it possible to take amount from my visa electron.If that suit them I ‘ll ask Chris for shiping address.This is at least what I can contribute for all great and amazing work from both Chris and Greg.
August 6th, 2006 at 11:45 am
hi all!
is anyone else having a problem with the PA-FE-TX port adapter? i am able to load this adapter, but i can only use the first port.. (eg. fa 1/0).. fa 1/1, 1/2, and 1/3 do not show up when i do a “show ip interface brief”.. the bindings are ok, as the udp ports i use show up when i do “netstat -a” on the command prompt
i temporarily changed my config to PA-4E instead, and it is working fine.
August 6th, 2006 at 11:52 am
ooops.. sorry, just found out PA-FE-TX only has 1 port
August 6th, 2006 at 5:19 pm
Dynagen version 0.4.3 has been released - show / clear mac commands in the CLI for managing MAC address tables of virtual switches, plus a few other features and several important bug fixes. Be sure to read the README for a major change regarding the mmap default! Get it at the usual place: http://dyna-gen.sourceforge.net
August 7th, 2006 at 12:23 am
Hi Greg,
Although i ran the Dynagen wtih virtual RAM disk, after my 7th instance it crashed! I used 128 Virtual Disk RAM for each router. Is this a bug?
As I’m not using the actual RAM on my PC, it should work with any amount of RAM allocated since it takes it from the Hard Drive! Am I right?
Thank you once again!
August 7th, 2006 at 1:16 am
digital,
Is this under Window? Check out the last item of the FAQ in the tutorial (http://dyna-gen.sourceforge.net/tutorial.htm). This might be what you are running into.
August 7th, 2006 at 10:11 am
hi, Chirs, can you help me ?
c:\dynamips\dynagen s1.net
Reading configuration file…
Traceback (most recent call last):
File “dynagen”, line 615, in ?
File “dynagen”, line 350, in import_config
File “dynamips_lib.pyc”, line 62, in reset
File “dynamips_lib.pyc”, line 1522, in send
socket.error: (10054, ‘Connection reset by peer’)
c:\dynamips
my dynamips version is RC2, I use all versions dynagen, the information are the same.
August 7th, 2006 at 10:14 am
Hi Greg,
Thanks for your explanations! However, 7 instances @ 128 MB RAM each would be less than 2 GB, right!
Anyway, i’ve been trying to figure out who to do the multiple instances of Dynamips as explained in the doc file but it seems the explanations are’nt that clear. For instance, i did as required:
updated the “dynamips-start.cmd” file to look like:
————————————————————————————
start /belownormal /min “Dynamips” “dynamips.exe” -H 7200
start /belownormal /min “Dynamips” “dynamips.exe” -H 7201
————————————————————————————
My .net file looks like:
———————————————————————————–
[MyPC]
[[7200]]
idlepc = 0×6099ccdc
disk0 = 32
image = C7200-JS.BIN
npe = npe-100
ram = 128
Midplane = std
#****************************
[[ROUTER R1]]
console = 2001
s2/1 = R2 s2/1
#***************************
[10.11.45.51]
udp = 11000
[[7200]]
[[ROUTER R2]]
console = 2002
———————————————————————————–
Since this looks exactly like the example given in the doc file, when i tried to run it, the “Reading configuration file…” message stops there and first of the Dynamips become:
————————————————————————————-
Cisco 7200 Simulation Platform (version 0.2.5-RC2-x86)
Copyright (c) 2005,2006 Christophe Fillot.
Hypervisor TCP control server started.
Shutdown in progress…
Shutdown completed.
————————————————————————————-
while the other is:
————————————————————————————-
Cisco 7200 Simulation Platform (version 0.2.5-RC2-x86)
Copyright (c) 2005,2006 Christophe Fillot.
Hypervisor TCP control server started.
————————————————————————————-
Nothing is moving after this….
What else am I missing??
Thanks a lot for you help…
August 7th, 2006 at 10:18 am
Hi Chris,
regarding T1 PA
http://cgi.ebay.com/Cisco-7200-7206-7204-PA-2CT1-PRI-7500-7507-7513_W0QQitemZ140012983118QQihZ004QQcategoryZ28037QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
I have spoked with them and they cant process credit card payments, but they suggest another way to pay ie wire transfer.If you are interested please send me a email so I can provide your address as shipping address.
Regads.
August 7th, 2006 at 10:33 am
Hi Greg,
I solved the issue!!
Thank you!
August 7th, 2006 at 2:25 pm
Chris,
First off thank you for this incredible project. Wow, It has been very helpful in my network research.
I have a question about the crypto functionality. I noticed that this command is not available in the emulator. Is this because I have something misconfigured? If this is truly missing are there plans to add it in the future? The consequence of not having this functionality is no ssh and vpn which would be really cool to have.
I also noticed that there doesn’t seem to be any way to get to rommon mode…am I correct?
Again thanks for this work!
-david
August 7th, 2006 at 3:10 pm
dear chris,
i was able to obtain a 4-port ethernet pci card last weekend, and i have just added it to my pc(running windows 2003); i was eager to test it to map ethernet ports out of 4 instances of dynamips. to my surprise, when i ran “dynamips -e”, none of the new ports came out of the list!
i did some checking: i copied a netio string of a previously existing single-port nic and searched within the registry for a match, and i did find lots of registry entries for this; i further searched for the entries of the 4 new ports within the registry, and they have corresponding entries as well. now this baffles me… is this a bug? can this be corrected? may i use a quad-port ethernet pci card to connect to a physical switch?
my quad-port ethernet pci card is by radisys, with an on-board pci-to-pci bridge and 4 intel gd82559er embedded ethernet controllers. another quad-port card by lsi logic might be arriving this week; i will try if the same thing happen as well.
August 7th, 2006 at 3:11 pm
I would like to add that I’ve also managed to get a co-worker who is going for his second CCIE to begin to use DynaMIPS - it keeps him from being anchored to his home lab evenings and weekends, able to take his lab on-the-road or to his desk rather than tossing over ideas until he gets home. For him, and for myself, I would like to issue a thanks for making this available to us all.
As for crypto - if it’s software crypto - I’ve used it in DynaMIPS for several items: both secure tunnels and secure traffic between routers. I may’ve missed what you mean (perhaps hardware encryption?), but essentially the IPSEC functionality is a feature-set of the IOS.
Finally, I have a question - I cannot, for the life of me, figure out how to configure a ‘virtual ethernet switch’. How do I get all, for example, e5/0 interfaces to see each other? The best I’m able to do is configure a series of point-to-point ethernet connections, where 5 routers talk to 1 and the 6th one has the reverse port map which allows them to talk. That’s not what I hoped for, which is for all ethernet interfaces to see each other as on the same VLAN/network. For starters, I’ve been unable to figure out how to reference slot/port in the -E configuration file, but then where do I specify the virtual broadcast domain? Anyway, I’ve been checking the forums, and I know other people have it working, but I have been unable to hash this bit out and would appreciate it if someone could assist me in setting that up.
Regards and thanks again.
August 7th, 2006 at 3:12 pm
Wei - I am curious, can you install WinPCap and run WinDump with the -D switch and does it pick up your interfaces as well? Software can be found at: http://www.winpcap.org/
August 7th, 2006 at 3:32 pm
Mark> you’re right; when i ran “windump -D” on my machine, the new interfaces didn’t show as well. i guess i’ll just have to redirect this issue to winpcap’s developer. thanks a lot for your help!
August 7th, 2006 at 4:02 pm
lotus,
That message implies that there is a communications problem between dynagen and dynamips. Can you post the details of your setup: OS, if dynagen & dynamips are on the same system or different systems, your lab “s1.net”, and the output from a “dynagen -d s1.net”. Thanks.
August 7th, 2006 at 4:10 pm
Wei - I think that it would more be a function of the OS than the pcap DLL. Windows sees all four ports? i.e., if you type ‘ipconfig.exe /all’ you see all of these interfaces? If you go into control panel / Network Connections are these ports disabled? If not, can you assign IPs to the ports and ping them from yourself? Ultimately, can you throw them on a network and ping their addresses from another host (pc, router, switch)?
I know with multi-port NICs from Compaq/HP, their drivers allow you to team interfaces into a single virtual NIC - and this hides the individual ports from the windows environment such that it only sees the new virtual fault-tolerant (or load-balancing, or aggregate) interface that’s configured. I’d probably start by hitting the vendor’s website to see what tools they have for managing the NIC. Regards.
August 7th, 2006 at 4:21 pm
c7200:~# uname -a
Linux c7200 2.6.8-3-686-smp #1 SMP Thu Feb 9 07:05:39 UTC 2006 i686 GNU/Linux
c7200:~# dynamips -e
Cisco 7200 Simulation Platform (version 0.2.5-RC2-x86)
Copyright (c) 2005,2006 Christophe Fillot.
Instance ID set to 0.
Network device list:
eth0: no info provided
any: Pseudo-device that captures on all interfaces
lo: no info provided
what is wrong?
how can I do conecting a virtual router to a real network?
August 7th, 2006 at 4:44 pm
Mark> first of all, thanks for your kind assistance in this matter
overview:
i have an onboard intel pro/100 ve nic, 4 x hp en1207d-tx pci 10/100 fe adapters, and a quad-port radisys EBN-1400 fe adapter in my desktop pc.
1. all ports including the four ports of the EBN-1400 are listed in the network adapters section on the device manager. the ports on the EBN-1400 are displayed as 4 entries of “intel gd82559er embedded ethernet controller.” (for those having ideas of plugging this board into the PIX, i can tell you here: it doesn’t work this way!)
2. i can see the mac addresses as well as the statuses of all the installed adapters using “ipconfig /all.”
3. since my onboard intel nic and the hp en1207d-tx’s are all disabled but did show up using the “windump -D” command, i don’t think the problem lies with whether the nic is up or not. in fact, i am just using these interfaces as different router ethernet interfaces that i would map to plug into a c3524-el-en switch. 2 quad-port cards can plug 6 routers with single ethernet interfaces and 2 routers with dual ethernet ports… one can keep on boosting imagination when these ports are used as dot1q trunks
i did browse over winpcap and windump’s website, went through their supported nics(a lot of cards aren’t listed there but is supported, like the hp en1207D-tx i had).
what can i say? all of these is not possible without chris’ and greg’s massive effort on dynamips and dynagen.
August 7th, 2006 at 5:17 pm
How do I configure the frame relay switch for global dlci addressing? I tried something like (for dlci 100,101,102):
[[FRSW F1]]
1:100 = 2:101
1:100 = 3:102
2:101 = 3:102
but dynagen complains about “duplicate keyword name”. Instead, using
[[FRSW F1]]
1:100 = 2:101
2:101 = 3:102
3:102 = 1:100
results in “unable to create VC”. Is global addressing possible at all?
Thanks.
August 7th, 2006 at 8:08 pm
Mark,
As far as crypto and related functionality…when I boot up the emulator the crypto, ipsec, ssh, etc. commands are not available. Am I the only one who has this issue? If so it might be my ios image. Any help is apreicated in advance (if that is even posible).
-david
August 7th, 2006 at 10:12 pm
Thanks for the great stuff.
I have found a minor problem with the Windows version that amounts to a documentation error as I see it.
The correct parameter to use for idle-pc is:-
In the file *.net
idlepc = 0x……
And not idle-pc = 0x……
This was hard for me to figure out, ended up using
strings on dynagen.exe phew!!
Also the “-H” option to dynamips is not documented in the
on-line help. It was hard for me to figure out
how to specify –idle-pc on the command line
since is is mutually exclusive with -H I now realise.
Hope that is of some help.
Thanks again,
Douglas.
August 8th, 2006 at 1:46 am
Doug Scott,
Where in the documentation for Dynagen did you see a reference “idle-pc”? In the tutorial and the all_config_options.txt I only see the keyword being documented as “idlepc”. Maybe I should accept both “spellings” to remove the possibility of confusion?
August 8th, 2006 at 3:12 am
Davide,
At first glance your frame-relay issue seems like a major oversight on my part! I’m pretty sure dynamips itself supports it. I’ll mark that as a bug.
August 8th, 2006 at 8:13 am
does this virtual router work with syslog server?
maybe i should just try it
August 8th, 2006 at 9:10 am
David,
It is definately an IOS issue, I have had an emulator running with an IPSEC config and connected to it remotely using the Cisco VPN client so it definately works. What IOS image are you using? You need to be running an image which supports those featureswhioch would probably be a minimum of IP/PLUS.
August 8th, 2006 at 1:08 pm
Hi Yannick,
Dynagui is awesome….i was thinking can we replace the image of the router with that oa a cisco 7200’s image….is it possible…
And the images of real port adapters in place of the squared ones…
Like…the area in the image where the port reside mapped by the cordinates ….
Just thinking….
August 8th, 2006 at 1:58 pm
Wei> No problem, I hope you got that card to work for you now.
David> Yes, it is your image … personally, I’ve tried it with the advanced enterprise version 12.4.9(T), and this has the security features: size = 30,929,380, name = c7200-adventerprisek9-mz.124-9.T.bin
hbb> funny you should ask about the syslog - yes it works (I had thrown Kiwi Syslog daemon on another machine to test automating router/switch changes, etc. and it worked fine). I am expecting everything to work since, as far as the IOS is concerned, it doesn’t know that it isn’t running on a Cisco (although, while you can do a show CDP neighbor, since your MAC is most likely not a Cisco MAC, your neighbor does not show you in thier cdp neighbor list, if you have it enabled on both sides).
August 8th, 2006 at 3:01 pm
could anyone help me on this
today I turn to run Dynamips on Linux, but due to my unfamiliar with Linux, i don’t know where the problem is.
On Mandriva Linux, I brigded 7200’s F0/0 to Linux’s eth0, but I cannot made a successful ping between F0/0 and eth0. What’s more, I can ping another real PC in the same subnet from 7200 freely.
All firewall on Mandriva Linux has been shutdown, and of coz it can reply other PC’s ping normally.
August 9th, 2006 at 2:51 pm
friends,
I can solved the problem 100% CPU. How can I know my idlepc number. Thanks for while.
August 9th, 2006 at 2:52 pm
Mark> thanks for your kind wishes, i had the card running finally
what i did was to replace winPcap v3.1 with v4.0beta, and everything else looked pretty good. i was able to put up 8 router instances connected fully-meshed using the virtual frame-replay switch, and every router has an ethernet port(configured using dot1q trunking) to the 3524 switch. i was able to test rip, igrp, eigrp, ipsec, gre, ha vpn + hsrp, bgp… so far the only problem that i see was that of “show cdp neighbor,” which output i observed is different than what comes out of a real router. i will post the difference between the two in my next post.
i’ll be replacing the radisys card and the 4 hp en1207d-tx’s with 2 lsi logic’s quad cards tomorrow; i hope everything continues to run smoothly.
my system: msi 845G max + P1.7 Celeron + 1.25G ram, FSB overclocked to 116mhz(cpu~1.98G), cpu is 80-90% when idle.
August 10th, 2006 at 6:33 am
av8d: i found that reducing the number of PAs on router instances will reduce cpu utilization; i re-map all router ethernet ports from PA-8E to the fastethernet interface on slot0, and noticed later that cpu utilization came down to around 50% five minutes or so after booting up all 8 router instances.
i re-checked the “show cdp neighbors” command, found out that the cdp neighbor’s table are now identical between a physical router and a router instance. this time, i executed a “clear cdp table” command before examining the neighbor’s entry.
August 10th, 2006 at 10:05 am
Mark> found something interesting today… i changed the radisys and 4 hp cards with 2 lsi logic quad port ethernet pci-x cards. win2003 can automatically detect these cards, but showed up as cabletron de500b pci fast ethernet adapter(21143-pc). after driver installation, i went on with “windump -D” to detect these ports, and i was somewhat struck when all these ports didn’t show up(i am already using winPcap v4.0beta)… just when i thought i have to redo everything from scratch, i suddenly thought that maybe a reboot might help and guess what? after i reboot my pc, “windump -D” was now able to list all the ports!
August 10th, 2006 at 1:41 pm
Hi Chris!
Sorry for disturbing you with this but, could you, please, one more time have a more precise look at the “idle-pc” function. I’ve to swap IOS in my topologies very often, and it takes to much time to recalculate idle-pc again and again (sometimes it works from the 2nd or 3rd try, sometimes from the 10nth). May be there is a way to make this automatic, or at least optimize this procedure and make it more “precise” (to get best “idle-pc” value from the first try or mark supposed best value).
You also have planned to get more performance improvement
:
-page sharing
-for the JIT, we could compile code pages only once
… I have some ideas inspired from VMWare, that would be great to reduce memory usage, like page sharing. Think to the fact that if you start 10 instances with the same IOS, a lot of pages can be shared. Also, for the JIT, we could compile code pages only once…
Is there any hope to get it implemented?
Thank you for keeping all this running!!!
August 11th, 2006 at 5:51 am
hi all,
i downloaded the emulator and installed winpcap 3.1.
when i click dynamips.exe, nothing happens?
pls. help.
August 11th, 2006 at 9:22 am
Thank you very much!This a good job!
But i have a tiny question,what’s the JIT?
If the JIT to be disable,what happens?
August 11th, 2006 at 9:41 am
Hey, first a BIG shout out to the developers who are working tirelessly without compensation to provide this excellent tool!
I am working on the SP lab. I have a full R&S/Security/Voice/SP lab @ home, I need to make the SP portion of this portable. I am thinking that dynamips/gen may be the solution for me.
I have 15 routers (1 Term-Serv, 6 P/PE, 7 CE, 1 Route Reflector, 1 ethsw, and 1 FR Sw) running on my Duo T2500/2.0 GB at ~4% CPU. This is spread across two dynamips instances. This is in effect the SP topology I am using for my SP studies.
I would like to be able to connect to the “outside” world. I am not having success. I have reduced the config to a single router and a single switch, still no love.
Can anyone help me with this? TIA
I set up a simple scenario with 1 router and 1 ethsw as follows:
Host PC = 192.168.69.11/24
lab-ts f0/0 = 192.168.69.175/24
I cannot ping the PC from the router, the PC’s MAC is in the switch, the PC’s MAC is “incomplete” in the router’s ARP table.
Here is some stuf:
[[ROUTER lab-ts]]
console = 2001
f0/0 = S1 1
[[ethsw S1]]
1 = access 2
2 = access 2 NIO_gen_eth:\Device\NPF_{14C76548-82B2-478F-8DEE-8AF3E3D835D5}
Aug 11 02:48:48.843 hypervisor_exec: hypervisor reset
Aug 11 02:48:48.843 hypervisor_exec: hypervisor working_dir “C:\PROGRA~1\Dynamips\SAMPLE~1\1RTRNI~1″
Aug 11 02:48:48.843 hypervisor_exec: c7200 create lab-ts 0
Aug 11 02:48:48.843 hypervisor_exec: c7200 set_con_tcp_port lab-ts 2000
Aug 11 02:48:48.843 hypervisor_exec: c7200 set_npe lab-ts npe-200
Aug 11 02:48:48.843 hypervisor_exec: c7200 set_ios lab-ts “\PROGRA~1\Dynamips\images\c7200-k91p-mz.122-25.S9.bin”
Aug 11 02:48:48.843 hypervisor_exec: c7200 set_ram lab-ts 96
Aug 11 02:48:48.843 hypervisor_exec: c7200 set_idle_pc lab-ts 0×608c5bc8
Aug 11 02:48:48.843 hypervisor_exec: c7200 set_con_tcp_port lab-ts 2001
Aug 11 02:48:48.843 hypervisor_exec: ethsw create S1
Aug 11 02:48:48.858 hypervisor_exec: c7200 add_pa_binding lab-ts 0 C7200-IO-FE
Aug 11 02:48:48.858 hypervisor_exec: nio create_udp nio_udp0 10000 127.0.0.1 10001
Aug 11 02:48:48.858 hypervisor_exec: nio create_udp nio_udp1 10001 127.0.0.1 10000
Aug 11 02:48:48.858 hypervisor_exec: c7200 add_nio_binding lab-ts 0 0 nio_udp0
Aug 11 02:48:48.858 hypervisor_exec: ethsw add_nio S1 nio_udp1
Aug 11 02:48:48.905 hypervisor_exec: ethsw set_access_port S1 nio_udp1 2
Aug 11 02:48:48.905 hypervisor_exec: nio create_gen_eth nio_gen_eth0 \Device\NPF_{14C76548-82B2-478F-8DEE-8AF3E3D835D5}
Aug 11 02:48:48.921 hypervisor_exec: ethsw add_nio S1 nio_gen_eth0
Aug 11 02:48:49.108 hypervisor_exec: ethsw set_access_port S1 nio_gen_eth0 2
Aug 11 02:48:49.108 hypervisor_exec: c7200 start lab-ts
Aug 11 02:50:34.889 hypervisor_exec: ethsw show_mac_addr_table S1
If sniffing from ethereal I can see the arp request from lab-ts to PC AND the PC’s arp reply.
Any thoughts?
Router-Dude
August 11th, 2006 at 10:21 am
Vikong > JIT this is in short from Just In Time compilation. If possible - it has to be enabled to get more performance.
August 11th, 2006 at 10:26 am
BIDO> BIDO,
Have you been here and read this http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator ?
have you read README file from dynamips?
August 11th, 2006 at 6:56 pm
BIDO> You need to go to a command-prompt, cd to the directory where you’ve dropped both the dynamips executable/binary, the cygwin DLL, and ALSO a valid Cisco 7200 IOS image (start with something simple, like IP feature-set), and try typing (note, replace the word image.bin with the name of the image you’re using): dynamips.exe image.bin
This should at least show you it works. It should begin to show output like the following until it leaves you in what looks like a 7200 console:
Cisco 7200 Simulation Platform (version 0.2.5-RC2-x86)
Copyright (c) 2005,2006 Christophe Fillot.
Instance ID set to 0.
IOS image file: ..\images\image.bin
CPU0: carved JIT exec zone of 16 Mb into 512 pages of 32 Kb.
NVRAM is empty, setting config register to 0×2142
C7200 instance ‘default’ (id 0):
VM Status : 0
RAM size : 256 Mb
IOMEM size : 0 Mb
NVRAM size : 128 Kb
NPE model : npe-200
Midplane : vxr
IOS image : ..\images\image.bin
Loading ELF file ‘..\images\image.bin’…
ELF entry point: 0×80008000
C7200 ‘default’: starting simulation (CPU0 PC=0xffffffffbfc00000), JIT enabled.
Cisco 7200 (Predator) ROMMON emulation microcode.
Launching IOS image at 0×80008000…
August 11th, 2006 at 10:36 pm
Some more information on the issue of connecting to the “outside” world.
If I make a static arp entry on the router for the PC’s mac/arp information and ping, I get no response.
However if I use ethereal to sniff, I see a ICMP echo going from router to PC, and I see the echo reply from the PC to the router, but the router never recieves it per a “debug ip packet” and the input counters on the interface never increment.
Looking forward to hearing your thouhts, or any corrections you may have!
Router-Dude
August 12th, 2006 at 1:13 pm
hi i would like to know since the serial interfaces in this emulator are all E1 interfaces. are they channelised E1 i mean can we do the E1 channelised configuration on this serial interfaces . i am not sure of this. can someone pls throw some light on this.
chris great job keep it up.
vader
August 14th, 2006 at 7:58 pm
Hey, for what its worth some minor patching, and it runs on OSX PPC!
in the nojit_trans.h file there is a slight error:
int mips64_emit_invalid_delay_slot(insn_block_t *b);
should read:
void mips64_emit_invalid_delay_slot(insn_block_t *b);
with the idle-pc fix it only takes 70% of my cpu (2Ghz G5). Although being able to run this at home (without running thru another emulator) is priceless!
August 14th, 2006 at 11:43 pm
hi can someone pls tell me how to use the virtual switch and do the mappings for it. i haven;t found ny description or manual for using it with the proper synatax. can someone pls help me on it.
vader
August 15th, 2006 at 5:47 am
hello all,
i am using tera term and windows telnet client but i cannot connect to the router R1.
pls. help
August 15th, 2006 at 6:50 am
dynagen.ini for tera term
hi,
can i know the config for tera term telnet in dynagen.ini
thanks
megajove@gmail.com
August 15th, 2006 at 7:51 am
Dear all:
does the simulator support the BRI interface,thank you!
August 15th, 2006 at 10:54 am
No, it does no support BRI. Chris was sent an ISDN PA, I believe, so perhaps in the future
August 15th, 2006 at 7:38 pm
Vader> Generally, for the switch (for this example, I’ll use the Ethernet Bridge), I’ve found that launching a seperate instance to act as the ’switch’ works best … all it has to do is run with the paramater for the IOS and the parameter to point to the Ethernet Bridge configuration file (-E):
- First off, I would launch my ’switch’:
dynamips.exe image.bin -E bridge_ethernet.cfg
- Then, the bridge_ethernet.cfg file would have contents similar to the following:
IF:E510:udp:20510:127.0.0.1:20511
IF:E511:udp:21510:127.0.0.1:21511
IF:E512:udp:22510:127.0.0.1:22511
IF:E513:udp:23510:127.0.0.1:23511
IF:E514:udp:24510:127.0.0.1:24511
IF:E515:udp:25510:127.0.0.1:25511
IF:E516:udp:26510:127.0.0.1:26511
IF:E517:udp:27510:127.0.0.1:27511
ACCESS:E510:51
ACCESS:E511:51
ACCESS:E512:51
ACCESS:E513:51
ACCESS:E514:51
ACCESS:E515:51
ACCESS:E516:51
ACCESS:E517:51
- Then, you might launch your router instances as follows:
(r001)>dynamips.exe -X -i 11 -t npe-200 -r 128 -p 0:C7200-IO-FE -s 0:0:udp:21511:127.0.0.1:21510
(r002)>dynamips.exe -X -i 11 -t npe-200 -r 128 -p 0:C7200-IO-FE -s 0:0:udp:22511:127.0.0.1:22510
(r003)>dynamips.exe -X -i 11 -t npe-200 -r 128 -p 0:C7200-IO-FE -s 0:0:udp:23511:127.0.0.1:23510
(r004)>dynamips.exe -X -i 11 -t npe-200 -r 128 -p 0:C7200-IO-FE -s 0:0:udp:24511:127.0.0.1:24510
- Then, provided you configure the FastEthernet0/0 interface for all four routers to be on the same subnet, you should be able to ping between them.
!!!!!
!(r001)
interface FastEthernet0/0
description VLAN51
ip address 172.18.51.241 255.255.255.0
no shutdown
!!!!!
!(r002)
interface FastEthernet0/0
description VLAN51
ip address 172.18.51.242 255.255.255.0
no shutdown
!!!!!
!(r003)
interface FastEthernet0/0
description VLAN51
ip address 172.18.51.243 255.255.255.0
no shutdown
!!!!!
!(r004)
interface FastEthernet0/0
description VLAN51
ip address 172.18.51.244 255.255.255.0
no shutdown
!!!!!
If the interfaces are enabled, but no IP assigned, then you should at least be able to see them in the CDP table!
You see, the way I have it laid out the ’switch’ listens on all the ####0 ports, and all of the instances talk via the ####1 port to their corresponding match.
I think I have since set it up so my first instance (r001) actually launches the ‘-E’ parameter (and if my assumption is right, this saves you having to launch the extra ’switch’ instance), but I find this method a little easier for me to comprehend. Hence, now, I launch the four instances as follows:
(r001)>dynamips.exe -X -i 11 -t npe-200 -r 128 -p 0:C7200-IO-FE -s 0:0:udp:21511:127.0.0.1:21510 -E bridge_ethernet.cfg
(r002)>dynamips.exe -X -i 11 -t npe-200 -r 128 -p 0:C7200-IO-FE -s 0:0:udp:22511:127.0.0.1:22510
(r003)>dynamips.exe -X -i 11 -t npe-200 -r 128 -p 0:C7200-IO-FE -s 0:0:udp:23511:127.0.0.1:23510
(r004)>dynamips.exe -X -i 11 -t npe-200 -r 128 -p 0:C7200-IO-FE -s 0:0:udp:24511:127.0.0.1:24510
and the rest is as in the above example.
- Hope this helped! I had to figure it out myself - now working on the frame-relay switch configuration …
August 16th, 2006 at 10:45 am
hi mark tried doing the first thing u said. see this is the result i got.
H:\A1>dynamips-wxp c7200-advsecurityk9-mz.124-9.T.bin -E bridge_ethernet.cfg
Cisco 7200 Simulation Platform (version 0.2.5-RC2-x86)
Copyright (c) 2005,2006 Christophe Fillot.
Instance ID set to 0.
fopen: No such file or directory
ETHSW: unable to parse configuration file.
where will i get the default brisge ethernet switch configuration file from. i am unable to find it. i guess the error i am getting is because it i not able to load the config file. can u pls help me. am not able te get the image file for switch is the same as a 700 ios, or a another image .waiting for ur reply eagerly.
regards
vader
August 16th, 2006 at 12:23 pm
vader>
open your notepad.exe and type in the following:
IF:E510:udp:20510:127.0.0.1:20511
IF:E511:udp:21510:127.0.0.1:21511
IF:E512:udp:22510:127.0.0.1:22511
IF:E513:udp:23510:127.0.0.1:23511
IF:E514:udp:24510:127.0.0.1:24511
IF:E515:udp:25510:127.0.0.1:25511
IF:E516:udp:26510:127.0.0.1:26511
IF:E517:udp:27510:127.0.0.1:27511
ACCESS:E510:51
ACCESS:E511:51
ACCESS:E512:51
ACCESS:E513:51
ACCESS:E514:51
ACCESS:E515:51
ACCESS:E516:51
ACCESS:E517:51
afterwhich, save this file as “ethernet_switch.cfg.” you can put it int the same directory as where you put your dynamips-wxp.exe file. this is the ethernet switch config file that dynamips is looking for, and it’s all there as Mark has generously posted.
next, run your program as you have indicated above; your virtual switch should be ready to use
PS: the example above is for illustration purposes only; please use some creativity yourself to alter the configuration to suite your needs. For example, ACCESS means an access port and 51 above means assigning it on vlan 51. you can try assigning other ports to other vlans, or you might even try to make it as a TRUNK port and play some “router-on-a-stick” scenario yourself. in other words, please go through the README file again and again, not just ONCE only — and secondly, go through the earlier articles in this blog, including those of earlier versions; there exists also a lot of tips and tricks!
August 16th, 2006 at 1:22 pm
Greg A> thanks!
the same softwares on the different system.
I use the dynagen& dynamips on my notebook, that’s OK. but the same on another PC, that’s not OK. I’ve paste all messages. Mybe that XP have something wrong.
August 16th, 2006 at 10:29 pm
Hi there,
Router_dude - would you share your config for your dynamips SP rack?
Thx.
August 17th, 2006 at 5:45 am
hi~
thanks for your great tool I really appreciate that.
my pc has a xeon 3.0G CPU and 4G memory but according to your tutorial host os XP is not support up to 2G per cpu
i hope to run more than 12 instances on same pc using multiserver.
but frsw is not works between port 7200 and 7201
r7 and r8 works fine through frsw but r1 and r2 can’t communication
it’s mean that frsw is not part of 7200 port
is there any option i need to use to connect two servers ?
i ‘m running two dynamips server each port 7200 and 7201
– my server file —
start /belownormal /min “Dynamips” “dynamips.exe” -H 7200
start /belownormal /min “Dynamips” “dynamips.exe” -H 7201
primary ip is 10.1.1.1 and secondary ip is 10.1.1.2 that i configured
– my .net file —
autostart = true
[10.1.1.1]
udp = 10000
port = 7200
[[7200]]
idlepc = 0×613f0780
image = C:\Program Files\Dynamips\images\C7200-AD.BIN
npe = npe-400
ram = 150
nvram = 256
confreg = 0×2102
disk0 = 64
[[ROUTER r1]]
console = 10001
s1/0 = frsw 1
a2/0 = atmsw 1
[[ROUTER r2]]
console = 10002
s1/0 = frsw 2
a2/0 = atmsw 2
[[ROUTER r3]]
console = 10003
s1/0 = frsw 3
[[ROUTER r4]]
console = 10004
s1/0 = frsw 4
[[ROUTER r5]]
console = 10005
s1/0 = frsw 5
[[ROUTER r6]]
console = 10006
s1/0 = frsw 6
[10.1.1.2]
udp = 11000
port =7201
[[7200]]
idlepc = 0×613f0780
image = C:\Program Files\Dynamips\images\C7200-AD.BIN
npe = npe-400
ram = 150
nvram = 256
confreg = 0×2102
disk0 = 64
[[ROUTER r7]]
console = 10007
s1/0 = frsw 7
[[ROUTER r8]]
console = 10008
s1/0 = frsw 8
[[ROUTER r9]]
console = 10009
s1/0 = frsw 9
[[ATMSW atmsw]]
1:10 = 2:20
[[FRSW frsw]]
1:102 = 2:201
1:103 = 3:301
1:104 = 4:401
1:105 = 5:501
1:106 = 6:601
1:107 = 7:701
1:108 = 8:801
1:109 = 9:901
2:203 = 3:302
2:204 = 4:402
2:205 = 5:502
2:206 = 6:602
2:207 = 7:702
2:208 = 8:802
2:209 = 9:902
3:304 = 4:403
3:305 = 5:503
3:306 = 6:603
3:307 = 7:703
3:308 = 8:803
3:309 = 9:903
4:405 = 5:504
4:406 = 6:604
4:407 = 7:704
4:408 = 8:804
4:409 = 9:904
5:506 = 6:605
5:507 = 7:705
5:508 = 8:805
5:509 = 9:905
6:607 = 7:706
6:608 = 8:806
6:609 = 9:906
7:708 = 8:807
7:709 = 9:907
8:809 = 9:908
August 17th, 2006 at 7:30 am
can someone explain how to set this dynagen.ini file .
i cannot telnet to the router vty
————————————————————————-
# telnet option
# Specify the command to execute when using the telnet command from the CLI
# The following substitutions are performed:
# %h = host
# %p = port
# %d = device name
# Uncomment below for Windows
#telnet = start telnet %h %p
# Or better yet for Terra Term SSH users:
#telnet = C:\progra~1\TTERMPRO\ttssh.exe %h %p /W=%d /T=1
# Uncomment below for Linux
#telnet = xterm -T %d -e telnet %h %p
# Uncomment and correct the path below for OS X
#telnet = /usr/bin/osascript -e ‘tell application “Terminal” to do script with command “telnet %h %p ; exit”‘ -e ‘tell application “Terminal” to tell window 1 to set custom title to “%d”‘
telnet = C:\Documents and Settings\Verifyer\My Documents\ttpro313\ttermpro.exe 127.0.0.1 23 /w=globe-nicc /T=1
————————————————————————————
August 17th, 2006 at 10:31 am
hi wei thanks for ur response and thanks to mak also. can i run multiple instances of switch . i mean they can;t be run individually right they have to run with the ios image file. what is the syntax for making it a trunk port. just like access is it trunk:port no.
one more query wei if i have 3 routers whom i want to configure in a same switch then do i have to run -E switch in every instance or just like mark did running the -E switch in a single instance. will it work. pls guide me on this . thanks a lot to both of u guys.
regards
vader
August 17th, 2006 at 11:42 am
vader> you’re still not reading the README file! the file did clearly states as follows:
———-
Virtual Ethernet switch
***********************
The virtual ethernet switch is used to emulate an Ethernet network between
emulator instances. This switch supports access and trunk ports (802.1Q).
ISL will be available in a future release.
Any emulator instance can act as a virtual ethernet switch.
The configuration file (specified by the “-E” option) contains a list of
NetIO descriptors (representing interfaces) and a list of interface properties
(access/trunk port, VLAN info…)
The interface definition is similar to Port Adapters:
IF:interface_name:netio_type[:netio_parameters]
1) Configuring an Access Port
syntax: ACCESS:interface_name:vlan_id
2) Configuration a 802.1Q Trunk Port
syntax: DOT1Q:interface_name:native_vlan
The native VLAN is not tagged. On Cisco devices, by default the native VLAN
is VLAN 1.
Example of configuration file:
IF:E0:udp:10000:127.0.0.1:10001
IF:E1:udp:10002:127.0.0.1:10003
IF:E2:gen_eth:eth0
DOT1Q:E0:1
ACCESS:E1:4
DOT1Q:E2:1
———-
okay, i hope the above text will help you understand more about using the virtual ethernet switch. try and answer your posted questions yourself right now:
1. can i run multiple instances of the switch? –> OF COURSE YOU CAN. YOU CAN RUN A SEPARATE VIRTUAL SWITCH FOR EACH INSTANCE YOU HAVE.
2. they can’t be run individually; they have to run with the ios image. –> YOU HAVE TO RUN IT USING DYNAMIPS, WHICH NEEDS AN IOS IMAGE TO OPERATE, BUT I DON’T THINK THE VIRTUAL SWITCH USES IOS TO EXECUTE ANY CODES. IT IS DYNAMIPS THAT IS TAKING CARE OF OPERATING THE VIRTUAL SWITCH.
3. what is the syntax for making it a trunk port? –> YOU HAVE THE ANSWER RIGHT ABOVE!
4. if i have 3 routers whom i want to configure in a same switch then do i have to run -E switch in every instance? –> OF COURSE NOT! JUST USE THE -E OPTION ON ONE ROUTER INSTANCE, AND MAP EACH PORT CORRESPONDINGLY TO EACH ETHERNET INTERFACE ON EVERY SWITCH AS YOU RUN EACH ROUTER INSTANCE USING DYNAMIPS. IF YOU WANT A GOOD EXAMPLE OF THIS, TAKE A CLOSER LOOK AT MARK’S POST ABOVE. YOU WILL SEE THAT HE DID A -E OPTION ONLY ON A SINGLE ROUTER INSTANCE.
happy switching & routing!
August 17th, 2006 at 1:00 pm
Chris > About the 3550/3560, it requires to write a PowerPC emulation, and then to understand how the very complex ASIC work on these
Hi Cris ,
The PowerPC Emulator is already written … it is at
http://pearpc.sourceforge.net
cant u get the code and try some work on it… Anyway we forgot to celebrate Dynamips’s Birthday !! Is’nt it……
August 17th, 2006 at 2:32 pm
Vikas,
Chris really needs the actual hardware 3550/3560. Also, if the ASIC’s are custom made, It will be pretty much impossible to duplicate because of Itellectual Property rights. Do not dump all this on chris, this is on his own time.
August 17th, 2006 at 9:44 pm
hi wei thanks a lot man . u are really great man. can u pls explain me the this part of ur post what does it mean actually.
IF:E2:gen_eth:eth0
regards
vader
August 18th, 2006 at 5:52 am
vader>
The interface definition for the virtual ethernet switch is similar to Port Adapters: IF:interface_name:netio_type[:netio_parameters]
so, “IF:E2:gen_eth:eth0″
August 18th, 2006 at 5:53 am
vader> (REPOST full message)
The interface definition for the virtual ethernet switch is similar to Port Adapters: IF:interface_name:netio_type[:netio_parameters]
so, “IF:E2:gen_eth:eth0″ means port E2 of your virtual ethernet switch is being mapped to the physical interface of your pc. and with the statement “DOT1Q:E2:1″ below, it means running this port as a dot1q trunk to the physical nic, which might be plugged into a 3550 switch with dot1q trunking also enabled on its connected interface.
and by the way, eth0 is only present in linux systems, not under windows. so if your doing this under windows, run dynamips with the -e option to determine the network device list on your pc, then fill in the appropriate nio parameter; for example:
IF:E2:gen_eth:”\Device\NPF_{14C488C2-6FAD-4689-8065-A78099B3940B}”
in addition, if you don’t see your nic’s nio descriptor when you run dynamips with the -e option, open cmd.exe and try the following:
net stop npf
net start npf
afterwhich, run dynamips with the -e option will then list out your nic. this is due to winpcap, not dynamips itself.
hope this is clear enough for your virtual switch tour!
August 18th, 2006 at 1:08 pm
hi wei thanks a lot man . i have really tested ur patience i guess. but pls don;t mind if i ask u more question . is it necessary for me to bind the virtual switch interface to the physical nic and connect it to a 3550 switch for a trunk port.
thanks once again
regards
vader
August 19th, 2006 at 3:36 am
vader> as to whether it is necessary… err, that really depends on your testing environment. if you want to test 3550 features or you have a lot of devices to interconnect with your routers(like pix, vpn, ids, iev, etc) and of course you won’t have a lot of nic interfaces on your pc to do this, then trunking with a 3550 is a good option. if you’re testing routing protocols, then there’s no need to trunk externally.
August 20th, 2006 at 3:20 am
Hi, Chris>
When I start the 3rd router, dynamips & dynagen will exit . below is the information, pls help .
————————————————————————————–
s1.net:
autostart = false
[localhost]
[[7200]]
image =ios.bin
npe = npe-400
exec_area = 128
ram = 256
idlepc = 0×60710e8c
[[ROUTER R1]]
exec_area = 128
idlepc = 0×60710e8c
ram = 256
s1/0 = R2 s1/0
[[router R2]]
exec_area = 128
idlepc = 0×60710e8c
ram = 256
s1/1 = R3 s1/0
[[ROUTER R3]]
exec_area = 128
idlepc = 0×60710e8c
ram = 256
————————————————————————————–
dynamips version is RC2;
the error messages:
Loading ELF file ‘ios.bin’…
4 [unknown (0xC58)] dynamips 1952 _cygtls::handle_exceptions: Exception: S
TATUS_ACCESS_VIOLATION
40062 [unknown (0xC58)] dynamips 1952 open_stackdumpfile: Dumping stack trace
to dynamips.exe.stackdump
————————————————————————————–
dynamips.exe.stackdump:
Exception: STATUS_ACCESS_VIOLATION at eip=0041AC8E
eax=10078778 ebx=00000000 ecx=00000000 edx=04007FF0 esi=00000004 edi=01D5DE08
ebp=10112400 esp=01D5DDD0 program=K:\Cisco 7200\dynamips.exe, pid 2448, thread unknown (0xA7C)
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
10112400 0041AC8E (00000000, 00000000, 00000000, 00000000)
End of stack trace
————————————————————————————-
dynagen version is dynagen 0.4.3.080606
=> start R3
Traceback (most recent call last):
File “dynagen”, line 635, in ?
File “cmd.pyc”, line 142, in cmdloop
File “cmd.pyc”, line 219, in onecmd
File “console.pyc”, line 130, in do_start
File “dynamips_lib.pyc”, line 598, in start
File “dynamips_lib.pyc”, line 1522, in send
socket.error: (10054, ‘Connection reset by peer’)
August 20th, 2006 at 1:53 pm
lotus,
Because you are increasing the exec_area to 128 MB (up from the default of 16) maybe you are running into the Windows 2 GB / process limit with only 3 routers. With the default RAM and exec_area sizes, you normally hit this past 4 routers. So the “wall” is somewhere between (256+16)*4=1088 MB and (256+16)*4=1360 MB. In your lab you are attempting to use (256+128)*3 = 1152 MB.
These calculations just account for the dynamips part of the process space. I suppose Cygwin all the associated libraries must allocate almost 1 GB on their own to make our wall where it is.
Does the problem go away if you decrease the ram / instance to 160 and/or if you decrease the exec_area size back down to 16?
August 20th, 2006 at 2:29 pm
Hi for in RC2 “show version” reports for the NPE-400 the Wrong CPU Frequenzy 150MHz it should be 350MHz.
—–
Cisco 7206VXR (NPE400) processor (revision A) with 245760K/16384K bytes of memory.
Processor board ID 4294967295
R7000 CPU at 150MHz, Implementation 39, Rev 2.1, 256KB L2 Cache
—-
regards
August 20th, 2006 at 2:29 pm
Greg A> Thank you very much. the problem has gone . thanks again!!
August 21st, 2006 at 9:19 pm
Hello,
did anyone observe the following behavior? I have correctly identified the idle-pc value which even works during telnet session and in the “press Enter” prompt.
However, after some time the router gets to 100% CPU usage again. Sometimes it takes quite a long time, but it does happen in the end. Anyone got an idea how to remedy this? Does it mean that I do not have the best idle-pc value and there’s possibly a better one?
I’m using 12.1.27b IP plus image (c7200-is-mz.121-27b.bin). Could someone possibly share his/her idle-pc value for this image?
August 23rd, 2006 at 9:21 am
JP, this happens when the console times out. You may get around it by setting the “exec-timeout 0 0″
August 23rd, 2006 at 9:00 pm
Thank you for great work,
My new Vrouter 7206VXR router is working fine
I connected it to real lab, run some OSPF
I spend some time until I found the right syntax ‘ ‘
Command on xp sp2 :router F0/0 is my network card.
dynamips-wxp.exe -s 0:0:gen_eth:’\Device\NPF_{E11AFC70-E014-4950-B618-5734D28B93B1}’ 7200.bin
Regards & Good luck!
August 24th, 2006 at 1:47 pm
Hi,
Is it possible to run multiple dynamips instances in Hypervisor mode (distributing several router instances) simultaneously and “stitch” them together with dyangen.
The reason is to minimize the losses should one instance fails
Thanks
KB
August 24th, 2006 at 7:22 pm
my dynamips/dynagen crash right after starting the 7th router instance.
each instance is assigned 128 MB RAM. Is this related to some cygwin limitations, or is it virtual memory?
August 25th, 2006 at 3:03 am
Salut Chris, fac3k and all,
Votre simulateur est genial. Vous etes le meuiller.
As you might guess, here is another new guy with his problem. Well, after holding both keys ctrl and ], there is no menu popping up whereas if I hit the keys, ctr, ] and i at the same time, I have the same problem as Irfan found, which is having the list of all options.
Merci Christophe.
August 25th, 2006 at 3:09 am
Salut Chris, fac3k and all,
Votre simulateur est genial. Vous etes le meuiller.
As you might guess, here is another new guy with his problem. Well, after holding both keys ctrl and ], there is no menu popping up whereas if I hit the keys, ctr, ] and i at the same time, I have this attached menu, after which I press i but nothing seems to show the value of the idle-pc(s).
Instance default (ID 0)
o - Show the VM object list
d - Show the device list
r - Dump MIPS CPU registers
t - Dump MIPS TLB entries
m - Dump the latest memory accesses
s - Suspend CPU emulation
u - Resume CPU emulation
q - Quit the emulator
k - Reboot the virtual machine
b - Show info about JIT compiled pages
l - MTS64 cache statistics
c - Write IOS configuration to disk
j - Non-JIT mode statistics
i - Determine an idling pointer counter
x - Experimentations (can crash the box!)
^] - Send ^]
Other - This help
i
Translating “i”…domain server (255.255.255.255)
(255.255.255.255)
Translating “i”…domain server (255.255.255.255)
% Unknown command or computer name, or unable to find computer address
Router>
Merci Christophe
August 25th, 2006 at 6:12 pm
Guys,
I’ve searched through the blog … but nothing.
Where is the link for donating money?
Can you please post it here in the blog?
Chris - thank you!
August 25th, 2006 at 11:06 pm
Hi,
I get the following message and then dynamips freezes completely.
My system is P4 @3.0 GHz, 1 GB RAM, Fedora Core 5
C7200 ‘R1′: starting simulation (CPU0 PC=0xffffffffbfc00000), JIT enabled.
VM ‘R1′: no physical page for CPU0 PC=0xffffffffffff8089
August 26th, 2006 at 2:10 pm
NK> There sometimes is problem with that menu popping up. Happens to me as well and I think it depends on telnet client. Just press ctrl+] and then, even if the menu does not appear press i .
August 27th, 2006 at 2:55 pm
if you set:
lan ip add 192.168.101.100/24
r7 fa 2/0 ip add 192.168.101.101/24
s 0/0 ip add 10.10.10.1/24
[(config#)router rip
…
net 192.168.101.0
net 10.0.0.0]
then
ping 192.168.101.100 !!!!!
if
use source 10.10.10.1
ping 192.168.101.100
then ……..
this is a big bug!!!
pix iso ids or auto-proxy
the 7200 can not do!
r1 config is ok!
August 28th, 2006 at 6:46 am
NK: set your keyboard to english-us and you’ll be able to press Ctrl+]
August 28th, 2006 at 5:12 pm
exists,
I am more inclined to believe you have a routing problem or a router misconfiguration.
I would really like to know how you got a serial port in s0/0.
Secondly,
I assume that you meant IOS IDS, and Auth-Proxy. These featrures are only available in certain feature sets.
You might try providing enough information for independent verification of your issue rather then just jumping in here and saying the emulator has a big bug.
I am running extremely complex routing design (MPLS, (CE protocols = RIP, EIGRP, OSPF, and eBGP), isis, MP-BGP) and I have yet to find a routing problem in the emulator (particularly when you consider that it is running Cisco’s IOS.
Router-Dude
August 28th, 2006 at 5:15 pm
BTW:
I am seeing some good activity in the 7200 forums here:
http://hacki.at/7200emu/index.php
I find it is easier to work with since it is threaded.
You might try looking for/posting you issues over there.
Router-Dude
August 28th, 2006 at 8:31 pm
hi router dude can u pls tell is i possible to load the ips signatures in the sdf and see it;s working. can u pls tell.
vader
August 28th, 2006 at 11:31 pm
Yes it is possible.
It is much easier to play with the IPS (at least until you master it) with the SDM.
Make sure that you have formatted disk0: once you get an instance up.
Make sure the instance is reachable from the host PC (this will require a direct fx/x = NIO connection)
Install SDM (http://www.cisco.com/pcgi-bin/tablebuild.pl/sdm)
Look for the document called downloading and installing SDM.
Router-Dude
August 29th, 2006 at 6:06 am
thank you!
now give my config all~~:
my lan ip add 192.168.101.1
r7:
in fa 2/0
ip add 192.168.101.2 255.255.255.0
no sh
in s 0/0
ip add 172.16.1.1 255.255.255.0
no sh
router rip
ver 2
no auto-summery
net 192.168.101.0
net 172.16.0.0
r1:
in s 0/2
ip add 172.16.1.2 255.255.255.0
no sh
in loopback 11
ip add 10.10.10.1 255.255.255.0
no sh
router rip
ver 2
no auto-summery
net 172.16.0.0
net 10.0.0.0
on r1
show ip route
c 172.16.0.0
172.16.1.0
c 10.0.0.0
10.10.10.0
r 192.168.101.0
on r7
show ip route
c 192.168.101.0
c 172.16.0.0
172.16.1.0
r 10.0.0.0
10.10.10.0
ok,router rip is right.
let’s go….
use r7
ping 192.168.101.125 !!!!!!!!!!!!!!!!!
ping 10.10.10.1 !!!!!!!!!!
ok
use r1
ping 172.16.1.1 !!!!!!!!!!!
ping 192.168.101.2 !!!!!!!!
ping 192.168.101.1 ……….
let’s come back to r7
ping ‘enter’
‘enter’
192.168.101.1
‘enter’
‘y’
172.16.1.1 //this is r7 s0/0 ip add
‘enter’
ok
print ………
let’s open r1,r7 http server
use pc IE
http://192.168.101.2 open
http://172.16.1.2 Can’t open //r1 ip add
August 29th, 2006 at 6:28 am
my top picture
http://www.goodcz.com/cisco/topo.gif
in this picture ues s1/* interface
r6,r7 fa 2/0 can connect lan
this is a readme.txt,but it is chinese.
http://www.goodcz.com/cisco/read.htm
August 29th, 2006 at 12:05 pm
I am very happy!
I have a way to kill this bug
it is not a really way but it can bypass this bug.
let’s go….
open your pc rip protocol
I used windows 2003 system.
all rip set version 2
then
the pc can learn rip
on pc
cmd ‘route print’
you can see r1,r7 rip protocol ip address have learned.
on r1
you can ping 192.168.101.1 !!!!!!!!!!!!!!! (PC LAN ip address)
ok,all of hava success!
because rip protocol is simple and easy config! so I choose it.
let the ROUTE connect PC well,then I can do auto-proxy……!
but pc need open rip,this is also a bug!
August 29th, 2006 at 5:49 pm
Exists,
Congratulations on fixing the “bug” by ensuring that all devices have full reachability to all prefixes (I thought this was called routing .. not big bug).
So for the sake of not duplicating information that exists in a million places about “how to configure Cisco IOS” ….. how about we work dilligently to keep this forum focused on the hard work that Chris and Greg produce? If we do manage to keep the focus there, I am sure that Chris and Greg will be able to use our comments to further the development of dynamips/gen, giving us a wonderful tool to use all the “How to configure Cisco IOS” knowledge.
Router-Dude
August 31st, 2006 at 6:59 am
thank you!

yes ,this is a wonderful tool! so ,a small bug I say big bug~~
I like it!
let’s go to work and learn hard!
by the way:
you said:(I thought this was called routing .. not big bug)
if you only open r7,and make a loopback
can you use the loopback ping lan??
it is ………….. not ping
I want to say:my heavy stress are not routing.
maybe,my english is so poor,I am sorry.
hope you happy!
August 31st, 2006 at 10:05 am
today!
i config vpn+ca!
I find that my PC opened rip protocol
i think the LAN
August 31st, 2006 at 10:13 am
oh my god!
hited enter!
——-
I think the LAN others PC can ping ok
they are the same netmask.
but it is not.
the bug is also.
the others open rip too
ping ok.
if the bug exist
other ROUTE can not connect CA server except R7.
August 31st, 2006 at 9:48 pm
#
i’m trying to complie on MacOS X 10.3.9 PPC, i get this error with RC2, pre26 & pre23. any idea ?. or can someone do a PPC port supporting atleast Panther ? thanks.
DYNAMIPS_ARCH?=nojit
HAS_RFC2553?=0
HAS_PCAP?=0
no idea about the libpcap, it simply say libpcapA, anyway i get the same error if RFC2553 & PCAP = 1
$ make
Linking rom2c
rom2c.c:16:20: libelf.h: No such file or directory
rom2c.c: In function `main’:
rom2c.c:25: error: `Elf32_Ehdr’ undeclared (first use in this function)
rom2c.c:25: error: (Each undeclared identifier is reported only once
rom2c.c:25: error: for each function it appears in.)
rom2c.c:25: error: `ehdr’ undeclared (first use in this function)
rom2c.c:26: error: `Elf32_Phdr’ undeclared (first use in this function)
rom2c.c:26: error: `phdr’ undeclared (first use in this function)
rom2c.c:27: error: `Elf’ undeclared (first use in this function)
rom2c.c:27: error: `img_elf’ undeclared (first use in this function)
rom2c.c:40: warning: implicit declaration of function `elf_version’
rom2c.c:40: error: `EV_CURRENT’ undeclared (first use in this function)
rom2c.c:40: error: `EV_NONE’ undeclared (first use in this function)
rom2c.c:45: warning: implicit declaration of function `elf_begin’
rom2c.c:45: error: `ELF_C_READ’ undeclared (first use in this function)
rom2c.c:47: warning: implicit declaration of function `elf_errmsg’
rom2c.c:47: warning: implicit declaration of function `elf_errno’
rom2c.c:47: warning: format argument is not a pointer (arg 3)
rom2c.c:51: warning: implicit declaration of function `elf32_getphdr’
rom2c.c:53: warning: format argument is not a pointer (arg 3)
rom2c.c:62: warning: implicit declaration of function `elf32_getehdr’
rom2c.c:73: warning: value computed is not used
make: *** [rom2c] Error 1
September 1st, 2006 at 8:06 am
Its been more than a month now since the last dynamips release. I wonder if this almighty tool has yet reached completion, or maybe Chris is gonna surprise us all of a sudden!
September 1st, 2006 at 10:32 am
fyi - chris is on holiday w/ limited network access.
September 1st, 2006 at 11:50 am
Or maybe Chris goes on holiday from time to time like most of us
September 1st, 2006 at 1:26 pm
dear chris,
you have been away for so long now! hope you’re still alive and kickin’!
i just want to extend my heartfelt gratitude regarding your work on dynamips, and i want to share my excitement of passing my security ccie lab exam — TO YOU. without your dynamips, i don’t think i have enough hands-on experience and training to accomplish such a feat. my achievement pales in comparison with yours!
God speed, and wish you the best of everything!
^^
September 1st, 2006 at 1:52 pm
wei — Congratulations!
KB — Don’t worry, I think you’ll have some pretty interesting new stuff to play with pretty soon…
September 1st, 2006 at 4:38 pm
GREG: THANKS A LOT! I COULDN’T DO IT W/O U… ^^
September 1st, 2006 at 4:48 pm
to those curious about my lab environment:
i have 2 GB of RAM, changed my system to P805D, gigabyte MB P965-S3, and plugged in 3 quad port NICs. my OS is win2003 server, and i have vmware server, VNC and remote desktop connection installed. on vmware, i have my ACS, IEV and IDS running, and i have 8 instances of dynamips running, R1 to R6 sw1and sw2 routing interfaces as well. i borrowed a PIX515UR, a VPN3005 and a 2524-xl-en to serve L2 switching. and one last addition: an electric fan directly cooling my CPU’s temperature! ^^
September 1st, 2006 at 6:47 pm
Hi all
First of all, thanks Chris, this is a perfect software. I can run all ccie R&S and SP labs.
Now I would like to run this software in SUN machine, and I need to know if this is possible…And what the best way (OS) to run it.
Thanks
CLRGomes
CCIE R&S
September 2nd, 2006 at 2:10 am
wei:
Cisco IDS must use intel NIC,but vmware only have AMD NIC,how did you do ?and what is IEV? thanks!
my mail:clclcl-007@163.com
September 2nd, 2006 at 4:43 am
Exists,
you said “if you only open r7,and make a loopback can you use the loopback ping lan??
it is ………….. not ping”
Yes you can … IF the PC knows has a route to the loopback prefix pointing to the R7 interface as next hop AND the PC is on a directly connected interface of R7. This is not a bug, this is called routing.
I am a little disappointed that you come in here and assign blame for your failure to understand or properly configure routing on the wonderful hard work of Chris and Greg. You do this by saying bug this and bug that.
I strongly recommend that you procure a book such as Jeff Doyle’s “Routing TCP/IP�, or other book suited to your level of expertise, and gain the knowledge necessary to properly ascertain whether the issues you encounter are self-induced (ID 10 T errors), or are truly issues that need to brought to the developer’s attention for remediation.
I wish you the best of luck fixing all the bugs that I am sure you will find as you attempt to use dot1q, EIGRP, BGP, OSPF, isis, and any other features that you may choose to configure.
Router-Dude
September 2nd, 2006 at 5:19 am
Exists,
I decided to further my case and your understanding by building the following scenario:
Loop0 (1.1.1.1/32)
|
ce1 — f0/0 (192.168.69.175/24) — PC (LAN NIO 192.168.69.11/24)
Here is the dynagen file:
*****
autostart = true
[localhost]
[[7200]]
image = \PROGRA~1\Dynamips\images\c7200-k91p-mz.122-25.S9.unbin
npe = npe-200
nmap = true
ram = 96
disk0 = 0
disk1 = 0
idlepc = 0×608c5bc8
[[ROUTER ce1]]
autostart = true
console = 2001
f0/0 = NIO_gen_eth:\Device\NPF_{xxxxxx}
*******
ce1 Config
******
interface Loopback0
ip address 1.1.1.1 255.255.255.255
no clns route-cache
!
interface FastEthernet0/0
ip address 192.168.69.175 255.255.255.0
duplex full
!
******
ce1 route table
******
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
C 192.168.69.0/24 is directly connected, FastEthernet0/0
Router#
*******
Results
****
Router#ping 192.168.69.11 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.69.11, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
!!!!!
*****
From PC
******
Pinging 1.1.1.1 with 32 bytes of data:
Reply from 1.1.1.1: bytes=32 time=92ms TTL=255
*****
So maybe we can put this “bug” to rest.
Router-Dude
September 2nd, 2006 at 5:28 am
Exists,
It may not be obvious from my above post but I added a route on the PC (as I indicated must be present two posts up) as follows:
XP
route add 1.1.1.1 mask 255.255.255.255 192.168.175 (ce1 int)
Router-Dude
September 2nd, 2006 at 5:30 am
Can’t edit ;(
route add 1.1.1.1 mask 255.255.255.255 192.168.69.175
^^
Router-Dude
September 2nd, 2006 at 5:54 am
damn I am on a roll
I decided to take this particular scenario a step further and see if IP gateway discovery worked properly.
Removed route from PC and configured PC for gateway discovery
Cleared arp table on pc.
From PC.
ping ce1 f0/0 - good
ping 1.1.1.1 - good
view arp on pc/arp entry from 1.1.1.1/32 exists
I now “break” it, by turning off proxy-arp functionality on ce1 (its ability to respond to arp requests for know destinations other the interface’s address on which the arp was rec’d).
ce1(config)#int f0/0
ce1(config-if)#no ip proxy-arp
clear arp on pc (still configured to arp for all destinations)
from PC
clear arp
ping 1.1.1.1 – NO GOOD
ce1(config)#int f0/0
ce1(config-if)#ip proxy-arp
From PC
ping 1.1.1 –good
So as a general security rule ip proxy-arp should be disabled on any interface for which there is not an engineered need for it to be enabled.
Router-Dude
September 2nd, 2006 at 9:25 am
Carry Big: there are articles posted on the web as to how to install IDS4.1 under vmware, i am aware that IDS needs intel 82889 chipset nics for interfaces, but it works pretty well in my PC. and IEV stands for IDS event viewer, for more info, please consult cisco’s website. simply put, it is a web-based management tool for all sensors located under a single administrative location.
wei
September 2nd, 2006 at 2:16 pm
you are very good!
PC can’t auto learn route.
add a route then
ping is good.
this is why R7 can’t ping other pc with source LOOPBACK or S .
thank you very much~~
I am not full see when i found open rip protocol at the beginning ,it is ok~~
now, I see all of this .
happy~~every day!
September 2nd, 2006 at 3:11 pm
wei,
I didn’t receive you mail, pls resend to me ,thanks a lot.
my email is :clmailcl@163.com
September 2nd, 2006 at 3:26 pm
Wei,
It’s said that IDS under vmware can work, but doesn’t analyse the packets,so it seems not useful.I want to know how about yours?it can analyse the packets correctly?I want to know how did you do ?Thank you.
September 3rd, 2006 at 2:38 am
Carry Big: i have only modified some built-in signatures and made some custom signatures on the IDS, then try to send some interesting packets inside the network; IDS on vmware had the events triggered and it even works with downloadable ACLs on routers. as to your question on installing IDS on vmware, there’s a lot of discussion about it at http://www.securityie.com, look for it at the FRANKEN FORUMS section.
wei
September 3rd, 2006 at 10:36 am
Hi chris :
Pls log 1 case about the simulator
Description of Problem :I foud the simulator run vrrp have a bug.
After master is shutdown and no shutdown ,there are two master in networks.
September 3rd, 2006 at 1:35 pm
jxsky: i found the similar case with hsrp last week, but was able to solve the problem using the “standby use-bia” command. i think this issue also happened when real routers are in use(true in the case of hsrp, i haven’t tried vrrp yet). i will find time to test out vrrp and let you know my results.
wei
September 3rd, 2006 at 1:38 pm
Router-Dude: i am interested to test ISP network scenarios using dynamips, though i might not continue to pursue this certification as of this moment. if you are interested, maybe we can work some scenarios together.
wei
September 3rd, 2006 at 10:09 pm
hi it;s been a long time seen chris on this forum. has he stopped working on it and i he busy working on something new. god knows probably he will one day come out straight away with a 3550 switch.hehehe . but thanks to all his efforts tilll date and giving us a wonderful tool to work on .
regards
vader
September 4th, 2006 at 7:11 am
Can we made the interaction between VMWare Workstation and Dynamips?

And if yes, how ?
Thanks in advance !
September 5th, 2006 at 12:16 am
Koen P> Yes sometimes I’m on vacation, but always with a laptop
vader> No, I haven’t stopped working on the emulator, as you can see with RC5. A good try to emulate a basic switch would be the NM-16ESW. However, the broadcom bcm56000 chip on it is not documented and I don’t have this card in a router.
wei> Thanks a lot for such a feedback
I’m glad to see that the emulator can be used for Cisco certifications (since it is one of its main goals). Congratulations for your CCIE!
September 5th, 2006 at 10:02 pm
Chris - as always, thanks again.
Wei - congratulations mang! My co-worker is off taking his CCIE in security this week, I still have to schedule my own R&S CCIE hands-on lab.
September 6th, 2006 at 12:19 am
hi chris i didn;t get u u wrote something abt the broadcom bcm56000 chip is it relating to the 3550 switch u mean to say. i have got a 3550 switch do u need any kind of help relating to that. i mean the chip details and pics. i know the 3550 asic is bit complicated. if u need any details on the same let me know. the NM module u said will surely work good but i doubt it will support the features of a 3550 switch like LAYER-3 routing and stuff like that.just let me know. i would surely like to help u out for ur awesome innovation man . u seriously rock. i will surely try to find the details abt this chipset too. is there any other details u want to find out . see ya and keep rocking and take care keep up the good work.
regards
vader
September 6th, 2006 at 6:31 am
THX
New Version !!!!!
wish ISDN….
October 6th, 2006 at 11:54 am
Hi KB
Have u solved your problem with: no physical page for CPU0 PC… ?
I have the same problem and need a solution, but can`t find. I tried with different idlepc values and without idlepc but nothing changes.
Please help me.
Thanks
Greets Patrick
November 9th, 2006 at 5:18 pm
Guys,
Need to buy PC for the lab :))))))))
Based on your experience - which one is better - dual core AMD or Pentium with 2Gb RAM
Thx