Dynamips on a Mac
=================

0.  Log into your Mac.  Get hold of the Dynagen disk image.  I
    recommend Dynagen_0.11.0-Leo.dmg - the later Lion version has the
    community 64-bit support and I can't get idlepc values to work.

1.  Double click the Dynagen disk image, and it opens a new finder
    window.  Move the "Dynagen.app" to your applications folder.  And
    move the "dynamics" executable to "/usr/bin" folder - you'll
    probably need to use the terminal window for the latter as /usr is
    hidden from Finder.  Stay in your terminal window for the
    remaining instructions.

2.  Create a directory for your Lab (for example ~/Lab).

3.  Get a suitable and licensed C7200 IOS image.

4.  Uncompress it.  Simply do (for example):

       unzip -p c7200-advipservicesk9-mz.124-25a > c7200.uncompress

    When you create a .net file, the IOS image name is
    c7200.uncompress. You might want a better naming convention than
    this.

5.  Open another terminal window in the Lab directory and do:

      sudo ./run-dynamips

    This runs the hypervisor - two processes, one for each core of
    your dual core processor.

6.  Go back to the original terminal window (still in the Lab
    directory) and then do:

      ln -s /Applications/Dynagen.app/Contents/Resources/dynagen dynagen

    and then simply run:

      ./dynagen ios.net

   Dynamips is now running and set up for the lab.  You will notice
   that the dynamips window in step 5 now mentions about routers
   booting, etc.

   Once you get the dynagen prompt back, you can do things like "list
   /all", etc.  Refer to the dynagen manual for more information.

7.  To access the router consoles, users simply use telnet to the
   Mac on ports 2001 and upwards (2001 maps to Router1, 2002
   maps to Router2, etc).

8. Enjoy!

