BB router config share

tweaking the BB configs to fit dynamips has a been a pain. With a different number of modules and not knowing if some of these connections hooking up BB's to each other is necessary (I imagine it would be because of AS path, to name one issue)

Would anyone care to share their BB dynamips configs?

Comments








  • Your best bet is to run GNS3 from GNS3.net. (Graphical Network Solutions) It is dynamips with a graphical interface. Build the topology or import it from
    IE site. Then edit the initial configs to suite your module allocations

     

    Kind regards

     

      James R.Yeo

      CCIE#11676 - R&S, Security

      CCNA, CCNP, CCSP, CCVP, MCSE


     cid:image003.gif@01C613B8.553CB570

      Office:

     
    +27 11 203 6731

     cid:image004.gif@01C613B8.553CB570

      Mobile:

     
    +27 83 627 8318

     cid:image005.gif@01C613B8.553CB570

      Fax:

     
    +27 11 203 0526

     cid:image006.gif@01C613B8.553CB570

      Email:

     
    [email protected]

     cid:image007.gif@01C613B8.553CB570

      Web:

     
    www.arivia.co.za

     aklogoCisco Logo

     

    From: [email protected] [mailto:[email protected]]
    On Behalf Of luisgarcia

    Sent: Friday, September 26, 2008 10:01 PM

    To: James Yeo

    Subject: [DYNAMIPS] BB router config share

     

    tweaking the BB configs to fit dynamips has a been a pain. With a different number of modules and not knowing if some of these connections hooking up BB's to each other is necessary (I imagine it would be because of AS path, to name one issue)

    Would anyone care to share their BB dynamips configs?







    Internetwork Expert - The Industry Leader in CCIE Preparation

    http://www.internetworkexpert.com



    Subscription information may be found at:

    http://www.ieoc.com/forums/ForumSubscriptions.aspx






    DISCLAIMER:

    Everything in this email and its attachments relating to the official business of arivia.kom is proprietary to arivia.kom. It is confidential, legally privileged and protected by law. The person addressed in the email is the sole authorised recipient. Any unauthorized
    dissemination or copying of this e-mail (or any attachment to this e-mail) or the wrongful disclosure of the information herein contained is prohibited.



  • I guess I meant to ask is it really necessary to connect the BB's together via the serial interfaces, since the logical topology diagrams don't show that. Anyone care to comment on that?

    GNS3 has been a great suggestion so far, but Its been a little buggy for me in the past (its still in alpha or beta isn't it?) . Since IE provides diagrams, i haven't needed the graphical add on . Actually, the only real habit i have adopted is to not have a working directory, and use the folder that the netmap is in. This gives me the portability i need since i port these things around everywhere.

    thx for the suggestion James. But what would i sacrifice by not hooking up the BB's directly?

  • I use dynamips for all my routers and use real switches. BB2 (E0/0) is connected to SW2 (F0/24). BB3 (F0/0) is connected to SW3 (F0/24). BB3 (F1/0) is virtually connected to BB1 (F1/0).

    [[Router BB1]]
      model = 3640
      slot0 = NM-4T
      slot1 = NM-1FE-TX
         F1/0 = BB3 F1/0

    [[Router BB2]]
      model = 3640
      slot0 = NM-1E
         E0/0 = NIO_gen_eth:DeviceNPF_{E1D521D2-F3C7-44FD-A137-AF6536F5046D}

    [[Router BB3]]
      model = 3640
      slot0 = NM-1FE-TX
         F0/0 = NIO_gen_eth:DeviceNPF_{54A5927B-7207-470C-BE0C-3D4979744E04}
      slot1 = NM-1FE-TX

     








  • Well in my SP track of which I am currently undertaking u need either a serial or change it to ether!? You need it for Local Pref & or Med to function correctly
    to get the right results within your routing table. If I remember correctly you also have similar scenarios in the R&S.

     

    Hope that helps

     

    From: [email protected] [mailto:[email protected]]
    On Behalf Of luisgarcia

    Sent: Saturday, September 27, 2008 1:34 PM

    To: James Yeo

    Subject: Re: [DYNAMIPS] RE: BB router config share

     

    I guess I meant to ask is it really necessary to connect the BB's together via the serial interfaces, since the logical topology diagrams don't show that. Anyone care to comment on that?

    GNS3 has been a great suggestion so far, but Its been a little buggy for me in the past (its still in alpha or beta isn't it?) . Since IE provides diagrams, i haven't needed the graphical add on . Actually, the only real habit i have adopted is to not have
    a working directory, and use the folder that the netmap is in. This gives me the portability i need since i port these things around everywhere.

    thx for the suggestion James. But what would i sacrifice by not hooking up the BB's directly?







    Internetwork Expert - The Industry Leader in CCIE Preparation

    http://www.internetworkexpert.com



    Subscription information may be found at:

    http://www.ieoc.com/forums/ForumSubscriptions.aspx






    DISCLAIMER:

    Everything in this email and its attachments relating to the official business of arivia.kom is proprietary to arivia.kom. It is confidential, legally privileged and protected by law. The person addressed in the email is the sole authorised recipient. Any unauthorized
    dissemination or copying of this e-mail (or any attachment to this e-mail) or the wrongful disclosure of the information herein contained is prohibited.



  • You probably want to steer clear of GNS3.

    I had to re-write a good deal of my dynamips configuration:

    autostart = False

    [localhost:7201]

    udp=7211
    workingdir = /home/cjones/dynamips/labs/iewb/working

    [[3640]]
    image = /home/cjones/dynamips/images/c3640-jk9o3s-mz.124-16.bin
    ram = 128
    disk0 = 0
    disk1 = 0
    mmap = True
    idlepc = 0x60509e98
    ghostios = true
    slot0 = NM-4E
    slot1 = NM-4T

    [[Router R1]]
    model = 3640
    console = 2001
    S1/0 = BB1 S0/0
    S1/1 = R3 S1/2
    E0/0 = NIO_gen_eth:hme0

    [[Router R2]]
    model = 3640
    console = 2002
    S1/0 = BB1 S0/1
    S1/1 = R3 S1/3
    E0/0 = NIO_gen_eth:hme1

    [[Router R3]]
    model = 3640
    console = 2003
    S1/0 = BB1 S0/2
    S1/1 = BB1 S0/3
    # S1/2 = R1 S1/1 - DEFINED IN R1
    # S1/3 = R2 S1/1 - DEFINED IN R2
    E0/0 = NIO_gen_eth:hme2
    E0/1 = NIO_gen_eth:hme3

    [[Router R4]]
    model = 3640
    console = 2004
    S1/0 = BB1 S1/0
    S1/1 = R5 S1/1
    E0/0 = NIO_gen_eth:hme4
    E0/1 = NIO_gen_eth:hme5

    [[Router R5]]
    model = 3640
    console = 2005
    S1/0 = BB1 S1/1
    # S1/1 = R4 S1/1 - DEFINED IN R4
    E0/0 = NIO_gen_eth:hme6
    E0/1 = NIO_gen_eth:hme7

    [localhost:7202]

    udp=7212
    workingdir = /home/cjones/dynamips/labs/iewb/working

    [[3640]]
    image = /home/cjones/dynamips/images/c3640-jk9o3s-mz.124-16.bin
    ram = 128
    disk0 = 0
    disk1 = 0
    mmap = True
    idlepc = 0x60509e98
    ghostios = true

    [[Router R6]]
    model = 3640
    console = 2006
    slot0 = NM-4E
    slot1 = NM-4T
    S1/0 = BB1 S1/2
    E0/0 = NIO_gen_eth:hme8
    E0/1 = NIO_gen_eth:hme9

    [[Router BB1]]
    model = 3640
    console = 2011
    slot0 = NM-4T
    slot1 = NM-4T
    cnfg = /home/cjones/dynamips/labs/iewb/initial.configs/BB1.initial.config.txt
    # S0/0 = R1 S1/0 DEFINED IN R1
    # S0/1 = R2 S1/0 DEFINED IN R2
    # S0/2 = R3 S1/0 DEFINED IN R3
    # S0/3 = R3 S1/1 DEFINED IN R3
    # S1/0 = R4 S1/0 DEFINED IN R4
    # S1/1 = R5 S1/0 DEFINED IN R5
    # S1/2 = R6 S1/0 DEFINED IN R6
    # S1/3 = BB3 S1/0 DEFINED IN BB3

    [[Router BB2]]
    model = 3640
    console = 2012
    slot0 = NM-4E
    cnfg = /home/cjones/dynamips/labs/iewb/initial.configs/BB2.initial.config.txt
    # NO SERIAL
    E0/0 = NIO_gen_eth:hme10

    [[Router BB3]]
    model = 3640
    console = 2013
    slot0 = NM-4E
    slot1 = NM-4T
    cnfg = /home/cjones/dynamips/labs/iewb/initial.configs/BB3.initial.config.txt
    S1/0 = BB1 S1/3
    E0/0 = NIO_gen_eth:hme11

    (obviously ignore the commented lines - I just have them there for my own reference)

    I only use initial config files automatically for the BB routers, since they never change. For the rest, I paste them in (since they need modification due to interface naming differences in dynamips)

    As far as I can tell, that dynamips config is correct.

    Hope that helps.

Sign In or Register to comment.