Weird problem in Dynamips IOS 3640.

NetworkGodNetworkGod Posts: 236Member ■■■□□□□□□□
Very weird problem with my lab here..
# VLAN Lab
autostart = False
model = 3640

[localhost]

3640
image = \Dynamips\IOS\C3640-IK.bin
ram = 128
#idlepc = 0x6062e700

ROUTER SW1
slot1 = NM-16ESW
SW1 F1/0 = SW2 F1/0
idlepc = 0x6063f6c8
model = 3640

ROUTER SW2
slot1 = NM-16ESW
idlepc = 0x605c9cf8
model = 3640

SW2#sh cdp neigh
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater

Device ID Local Intrfce Holdtme Capability Platform Port ID
SW2#

SW2#sh int f1/0
FastEthernet1/0 is up, line protocol is down
Hardware is Fast Ethernet, address is cc01.0f5c.f100 (bia cc01.0f5c.f100)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set

SW1#sh int f1/0
FastEthernet1/0 is up, line protocol is down
Hardware is Fast Ethernet, address is cc00.0f5c.f100 (bia cc00.0f5c.f100)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed

SW1#sh cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater

Device ID Local Intrfce Holdtme Capability Platform Port ID
SW1#

Any ideas???
What one man can do another can do.

(\__/)This is Bunny. Copy and paste bunny into
(='.'=)your signature to help him gain world
(")_(")domination.

- CCNA - CCDA - BCMSN - BSCI -
- 70-270 -

Comments

  • GrymGrym Posts: 31Member ■■□□□□□□□□
    Do you have the interfaces in the same VLan

    say with switchport access vlan X

    Here's a config for multiple vlans but it should help in getting your "switches" setup:

    http://7200emu.hacki.at/viewtopic.php?t=1990
  • NetworkGodNetworkGod Posts: 236Member ■■■□□□□□□□
    yes, they're in the same vlan (vlan 1 native)
    and i don't see how vlan could relate to CDP..
    CDP is enabled on both switching modules
    What one man can do another can do.

    (\__/)This is Bunny. Copy and paste bunny into
    (='.'=)your signature to help him gain world
    (")_(")domination.

    - CCNA - CCDA - BCMSN - BSCI -
    - 70-270 -
  • GrymGrym Posts: 31Member ■■□□□□□□□□
    Well i was thinking that because both the interfaces are down from your show int, "physically" you have a cable going from one to the other but for some reason the interface is still down.

    Yea sorry, haven't played that much with the NM-16ESW, when I get to work today I'll fire up your config and see if I get the same results.
  • Paul BozPaul Boz Posts: 2,621Member
    Grym, the interfaces are up, they're just not synchronized. it doesn't matter though, because CDP rides on layer 2, so just so long as there's a physical connection it works.
    CCNP | CCIP | CCDP | CCNA, CCDA
    CCNA Security | GSEC |GCFW | GCIH | GCIA
    [email protected]
    http://twitter.com/paul_bosworth
    Blog: http://www.infosiege.net/
  • GrymGrym Posts: 31Member ■■□□□□□□□□
    Ok, so here is the setup I used:
    ###############
    [[ROUTER SW1]]
    ###############
    console = 2004
    disk0 = 0
    disk1 = 0
    model = 3640
    confreg = 0x2102
    ram = 96
    mmap = False
    slot1 = NM-16ESW
    F1/0 = SW2 F1/0
    #f1/2 = R2 E0/0
    #f1/11 = SW2 f1/11
    #f1/12 = SW2 f1/12
    #f1/13 = SW2 f1/13
    
    ###############
    [[ROUTER SW2]]
    ###############
    console = 2005
    disk0 = 0
    disk1 = 0
    model = 3640
    confreg = 0x2102
    ram = 96
    mmap = False
    slot1 = NM-16ESW
    #f1/3 = R3 E0/0
    

    The only change I made is I took out the SW1 on switch 1, as it gave me an error when I started Dynagen.
    SW1#show cdp neigh
    Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                      S - Switch, H - Host, I - IGMP, r - Repeater
    
    Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
    Router           Fas 1/0            35         R S I      3640      Fas 1/0
    SW2              Fas 1/0            155        R S I      3640      Fas 1/0
    SW1#
    
    SW2#show cdp neigh
    Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                      S - Switch, H - Host, I - IGMP, r - Repeater
    
    Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
    Router           Fas 1/0            0          R S I      3640      Fas 1/0
    SW1              Fas 1/0            173        R S I      3640      Fas 1/0
    SW2#
    
    SW2#show int f1/0
    FastEthernet1/0 is up, line protocol is up
      Hardware is Fast Ethernet, address is cc06.0d1c.f100 (bia cc06.0d1c.f100)
      MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation ARPA, loopback not set
      Keepalive set (10 sec)
      Full-duplex, 100Mb/s
    
    SW1#show int f1/0
    FastEthernet1/0 is up, line protocol is up
      Hardware is Fast Ethernet, address is cc05.0d1c.f100 (bia cc05.0d1c.f100)
      MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation ARPA, loopback not set
      Keepalive set (10 sec)
    

    So I just made the one change to your setup and everything seems to working as it should.
  • GrymGrym Posts: 31Member ■■□□□□□□□□
    Paul Boz wrote:
    Grym, the interfaces are up, they're just not synchronized. it doesn't matter though, because CDP rides on layer 2, so just so long as there's a physical connection it works.

    Ahh, ok, so even if the int says UP/DOWN it should see the other switch in show CDP neigh, good to know for troubleshooting.

    Thanks Paul
  • NetworkGodNetworkGod Posts: 236Member ■■■□□□□□□□
    Hm, do you mind telling me what particular 3640 image did you use?
    icon_eek.gif maybe dynamips is bugging out with my image?
    I should try another one...
    What one man can do another can do.

    (\__/)This is Bunny. Copy and paste bunny into
    (='.'=)your signature to help him gain world
    (")_(")domination.

    - CCNA - CCDA - BCMSN - BSCI -
    - 70-270 -
  • GrymGrym Posts: 31Member ■■□□□□□□□□
    C3640-jk9o3s-mz.123-14.T7.bin

    I do extract the image first, which should not really matter other then for loading time.

    One other thing that I did not mention is that I did no other config to the ports to get it running...
  • NetworkGodNetworkGod Posts: 236Member ■■■□□□□□□□
    HA! Would you believe this? icon_eek.gif
    It did not work, until i took your config word to word and pasted it to mine.
    :D Now it works, i'm happy.
    icon_jokercolor.gif
    What one man can do another can do.

    (\__/)This is Bunny. Copy and paste bunny into
    (='.'=)your signature to help him gain world
    (")_(")domination.

    - CCNA - CCDA - BCMSN - BSCI -
    - 70-270 -
  • GrymGrym Posts: 31Member ■■□□□□□□□□
    Cool, glad to hear it, have fun with your new switches ;)
Sign In or Register to comment.