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 ! ;)

12 Réponses vers «How to configure SDM with Dynamips»

  1. KaiserSoze Dit:

    When you say:

    F0/0 = NIO_gen_eth:DeviceNPF_{ ** your nic reference **}

    Which NIC should we choose? The loopback or the local NIC?

  2. niamor Dit:

    Hello,

    You have to use the loopback adaptater reference.

    Good luck.

  3. helmut Dit:

    “Run your .net file and try to ping from both sides : Router->PC and PC->Router”

    copied your instructions, agap, but ping fails.
    No connection from and to my MS loopback adapter…

  4. niamor Dit:

    Helmut,

    Are your pc and router in the same ip subnet ?
    Are all interfaces up ?
    Did you defined the correct DeviceNPF value ?

  5. Danny Pinto Dit:

    From PC to router is pinging , But from router to PC loopback not pinging why ??

    Any other settings required .

  6. Tim Dit:

    I have the loopback adapter set up and can ping from both dirtections, but the SDM never launches. Very frustrating.

  7. niamor Dit:

    Hi Tim,

    It takes a while to launch sometimes and if you’re using internet explorer you should be prompted to use an activeX.

    Good luck ;)

  8. Tim Dit:

    The problem was I was using Firefox 3.0. When I tried IE, it worked! Doh!

  9. Michael Dit:

    When I try to run the .net file, I get the message:

    206-unable to create generic ethernet NIO.

    I copied the loopback reference just as stated above. Is there something I’m not doing right?

  10. Michael Dit:

    nevermind…figured it out. one little \ and everything crapped out. Got it working now.

    Excellent job Niamor….been looking for something like this for a while.

  11. shankar Dit:

    I had deleted flash and nvram in cisco 1841 then how to install this again

  12. niamor Dit:

    Hello Shankar,
    Did you also remove the ios image ?
    Rgds, Niamor


Laisser un commentaire