Dynamips : How to get 10% CPU load only !

Hello all,

I found a nice info about Dynamips today. With the IOS image mentionned below, you’ll be able to run up to five 7200 routers and have a cpu load around 10% !!

IOS Image IdlePC %stable CPU Usage
c7200-jk9o3s-mz.124-7.bin 0×608049e8 <10%
c7200-pk9u2-mz[1].124-17.bin 0×60848e80 <9%

Enjoy ;)

How to use SecureCRT with Dynamips

Hello,

If SecureCRT is your favorite telnet/ssh tool, you can now use it with Dynamips !
Procedure is quite simple and is described below :

- Modify your dynagen.ini file in C:\Program Files\Dynamips and add the following line :
telnet = start C:\progra~1\SecureCRT\SecureCRT.EXE /script c:\progra~1\dynamips\securecrt.vbs /arg %d /T /telnet %h %p & sleep 1

- Write a vbs script and copy it into the same folder as dynagen.ini file. The script filename must be securecrt.vbs
#$Language="VBScript"
#$Interface="1.0"
Sub main
crt.window.caption = crt.arguments(0)
End Sub

All is ready now, when you issue a “telnet /all” on dynamips console, SecureCRT will run and each router will be displayed in its own tab.

HTH ;)

How to configure SDM with Dynamips

Hello gears,

I installed SDM engine today in order to prepare myself for ISCW test.

I searched the web about howto’s but I never found what I needed. Hope that tutorial can help someone else.

Steps :

  • Configure an ip address on a router interface and enable it. This interface must be fast/ethernet type.
    • Ex :
    • Router#conf t
    • Router(config)#ip http secure-server (Some keys should be generated…)
    • Router(config)#interface fastethernet0/0
    • Router(config-int)#ip address 172.16.0.2
    • Router(config-int)#duplex full
    • Router(config-int)#no shut
  • Install a loopback adaptater on your pc : You can follow the following article for this Link.
  • Run the “Network device list” batch from Dynamips folder and gather the hardware reference for your network adaptater.
  • Edit you .net file and add the following statement
    • F0/0 = NIO_gen_eth:DeviceNPF_{ ** your nic reference **}
  • Modify the new Windows network connection and assign it a static ip address such as 172.16.0.1/24.
  • Run your .net file and try to ping from both sides : Router->PC and PC->Router
  • Install SDM engine on your PC. I’m currently using the version 2.4.1. You may need to allow activex, you can trust them.
  • Use the ip address you defined on the router and enter it into SDM. 172.16.0.2 in our case.
  • You will be prompted for a username and a password. You have to define it into router configuration. Below is an example.
    • Router(config)#usernmame sdm priv 15 password sdmlab

Cheers and Enjoy ! ;)