RE: Mac Mini Dynamips Server w/ USB-Eth Converters and Physical

From: Scott Vermillion (scott_ccie_list@it-ag.com)
Date: Mon Sep 03 2007 - 01:45:44 ART


Thanks Kelly! After writing that little manifesto earlier today, I
buckled down for some hard-core lab practice, so I was a little slow in
responding to some folks today (and I've had some strange e-mail
happenings). I'd like to thank you for all of your help! I'll continue
to work my way through your suggestions and am confident that I will
eventually figure this all out...

Regards,

Scott

  -------- Original Message --------
  Subject: Re: Mac Mini Dynamips Server w/ USB-Eth Converters and
  Physical 3560-8PC Switches
  From: kelly@cliffhanger.com
  Date: Sun, September 02, 2007 4:15 pm
  To: Scott Vermillion <scott_ccie_list@it-ag.com>, Cisco
  certification
  <ccielab@groupstudy.com>

  Scott,

  Having trouble getting my post on the "blog" :)
  But here's the reply I'm trying to post there.

  --- * ---

  To run the dynagen app, just change the owner and privledges
  on the dynagen app.

  Here's what mine looks like ...

  m1: kelly$ ls -l /Applications/ | grep -i dynagen
  drwxr-xr-x 3 kelly kelly 102 Apr 15 13:03 Dynagen.app

  Here's the commands ...

  chown <your-name-here>:<your-name-here> Dynagen.app
  chmod +x Dynagen.app

  Now, when it comes to running a script from the windows box
  that'll login to and, launch all of this ...that's another
  matter.

  But ... If you have cygwin installed on your windows box,
  you can ssh to your mini-mac and use the '-X' option. This
  will cause the xterm windows to open on your local box's
  desktop.

  As a test, make an ssh connection to the mini and run

  xterm &

  Remember, your local box has to be running 'X'. You do that
  on windows with cygwin.

  --
  ___
  /\ \
  / \ \
  / \ \
  / /\ \ \
  / / \ \ \
  / / / \ \ \
  / / /___\__\ \
  / / /___________\
  \/_______________/

  Impossible Triangle
  M. C. Escher

  Big riffs, massive grooves, and expansive improvisations

  Quoting Kelly Scroggins <kelly@cliffhanger.com>:
  I run dyamips and dynage on my Macbook Pro. I use scripts
  from the command line to start the labs.

  There are two scripts that live in the lab directory. Once
  starts dyanmips and dynagen. The other calls the shell
  scripts that start the terminal windows and telnets to each
  router.

  There are several other scripts (the "shell" scripts) that
  actually do the work of telneting to the routers and
  configuring the xterm windows.

  # ----------------------------------------------------------
  # This script will start dynamips and dynagen
  #
  # This script is kept in the lab directory.

  #!/bin/sh

  /bin/dynamips -H 7200 &
  /bin/dynamips -H 7201 &

  sleep 2

  cd /Applications

  Dynagen.app/Contents/MacOS/Dynagen
  /Users/kelly/dynamips-dynagen/labs-dynamips/vpn-bgp/vpn-bgp.net

  # ----------------------------------------------------------
  # This script is calling other 'shell' scripts (below).
  # Those 'shell' scripts start an x-term window for each
  # router and connect to the routers.
  #
  # I keep this script in the directory the lab is in. And it
  # only contains the lines for the routers in this lab's
  # topo.
  #
  #
  # The x-term windows are opened in the order of
  # the router numbers (i.e, r1, r2, etc), and
  # positioned on the screen so that each one can be
  # seen.

  #!/bin/sh

  /<path-to-script>/r1.sh
  sleep 1

  /<path-to-script>/r2.sh
  sleep 1

  /<path-to-script>/r3.sh
  sleep 1

  /<path-to-script>/r4.sh
  sleep 1

  /<path-to-script>/r5.sh
  sleep 1

  /<path-to-script>/r6.sh
  sleep 1

  # ----------------------------------------------------------
  # Here are all of the "shell" scripts, which are called by
  # the script above.
  #
  # There scripts for r1 - r16. There are also scripts for
  # each backbone router (bb1,2.3) and switch (ie-sw1,2,3)

  # Save each of the following lines to a seperate script.
  # i.e, r1.sh, r2.sh, etc.

  # r1.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+1+4 -T r1
  -e telnet localhost 2001 &

  # r2.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+55+4 -T r2
  -e telnet localhost 2002 &

  # r3.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+108+4 -T
  r3 -e telnet localhost 2003 &

  # r4.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+162+4 -T
  r4 -e telnet localhost 2004 &

  # r5.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+216+4 -T
  r5 -e telnet localhost 2005 &

  # r6.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+270+4 -T
  r6 -e telnet localhost 2006 &

  # r7.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+324+4 -T
  r7 -e telnet localhost 2007 &

  # r8.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+378+4 -T
  r8 -e telnet localhost 2008 &

  # r9.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+378+4 -T
  r9 -e telnet localhost 2009 &

  # r10.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+486+4 -T
  r10 -e telnet localhost 2010 &

  # r11.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+540+4 -T
  r11 -e telnet localhost 2011 &

  # r12.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+594+4 -T
  r12 -e telnet localhost 2012 &

  # r13.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+648+4 -T
  r13 -e telnet localhost 2013 &

  # r14.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+702+4 -T
  r14 -e telnet localhost 2014 &

  # r15.sh
  xterm -fg white -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 85x54+756+4 -T
  r15 -e 192.168.1.2 2015 &

  # r16.sh
  xterm -fg white -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 85x54+810+4 -T
  r16 -e 192.168.1.2 2016 &

  # ie-bb1.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+432+4 -T
  ie-bb1 -e telnet localhost 2009 &

  # ie-bb2.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+486+4 -T
  ie-bb2 -e telnet localhost 2010 &

  # ie-bb3.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+540+4 -T
  ie-bb3 -e telnet localhost 2011 &

  # ie-sw1.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+324+4 -T
  ie-sw1 -e telnet localhost 2007 &

  # ie-sw2.sh
  xterm -fg green -bg black -fn
  -adobe-courier-medium-r-*-*-14-*-*-*-*-*-* -geometry 95x54+378+4 -T
  ie-sw2 -e telnet localhost 2008 &

  --
  ___
  /\ \
  / \ \
  / \ \
  / /\ \ \
  / / \ \ \
  / / / \ \ \
  / / /___\__\ \
  / / /___________\
  \/_______________/

  Impossible Triangle
  M. C. Escher

  Big riffs, massive grooves, and expansive improvisations

  Quoting Scott Vermillion <scott_ccie_list@it-ag.com>:
  A veeerrrrryyyyyy long third installment to my running "blog" over on
  the
  board:

  http://www.groupstudy.com/form/read.php?f=7&i=125929&t=125929

  One of our members is working to consolidate this onto a central
  location. The link will be sent out for those interested...

  Regards all,

  Scott

  -------- Original Message --------
  Subject: RE: Mac Mini Dynamips Server w/ USB-Eth Converters and
  Physical 3560-8PC Switches
  From: Scott Vermillion <scott_ccie_list@it-ag.com>
  Date: Thu, August 30, 2007 12:56 am
  To: Cisco certification <ccielab@groupstudy.com>

  For anyone who cares, I've added another entry to my running "blog"
  on
  the board:

  http://www.groupstudy.com/form/read.php?f=7&i=125805&t=125805

  -------- Original Message --------
  Subject: Mac Mini Dynamips Server w/ USB-Eth Converters and Physical
  3560-8PC Switches
  From: Scott Vermillion <scott_ccie_list@it-ag.com>
  Date: Sat, August 25, 2007 4:28 pm
  To: Cisco certification <ccielab@groupstudy.com>

  I guess it was last weekend or so when I posed the question of how to
  integrate physical switches and a Dynamips server for IEWB
  topologies. Brian Dennis chimed in and suggested using a Mac Mini
  (w/ 2 BG RAM, default is only 1 GB, and a 2 GHz Duo Core proc) and a
  bunch of USB-Eth converters, which I thought was downright
  ingenious. So I ordered the Mini and went out and bought a couple of
  USB hubs and a mess of converters. I thought I ordered the switches
  too, but that's another story. Anyway, for anyone interested in my
  experiences thus far, see this post on the board:

  http://www.groupstudy.com/form/read.php?f=7&i=125674&t=125674

  I'm happy to try to answer any questions, with the understanding that
  I don't yet have the switches (shooting for Tues now). I do at least
  have Dynamips up and running on the Mini, and the above should give a
  good feel for performance on this machine.

  Regards all,

  Scott

  _______________________________________________________________________
  Subscription information may be found at:
  http://www.groupstudy.com/list/CCIELab.html

  _______________________________________________________________________
  Subscription information may be found at:
  http://www.groupstudy.com/list/CCIELab.html

  _______________________________________________________________________
  Subscription information may be found at:
  http://www.groupstudy.com/list/CCIELab.html

  _______________________________________________________________________
  Subscription information may be found at:
  http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:09 ART