Options

Serial problem in RIP Lab

ThargTharg Member Posts: 8 ■□□□□□□□□□
I'm following the RIP lab (http://www.techexams.net/techlabs/ccna/lab_1_rip.shtml) with a couple of 2500s (IOS 11) - and can't seem to get serial working. icon_sad.gif
RouterB#show ip interface brief
Interface        IP-Address      OK?  Method    Status                 Protocol
BRI0             unassigned      YES  not set   administratively down  down
Ethernet0        192.168.33.1    YES  manual    up                     up
Serial0          192.168.22.6    YES  manual    up                     down
Serial1          unassigned      YES  not set   administratively down  down

What should I be looking for here? I've set the clocking on "Router B".

Any help is *much appreciated!
Bye for now,
Tharg

Comments

  • Options
    EdTheLadEdTheLad Member Posts: 2,111 ■■■■□□□□□□
    Tharg wrote:
    I'm following the RIP lab (http://www.techexams.net/techlabs/ccna/lab_1_rip.shtml) with a couple of 2500s (IOS 11) - and can't seem to get serial working. icon_sad.gif
    RouterB#show ip interface brief
    Interface        IP-Address      OK?  Method    Status                 Protocol
    BRI0             unassigned      YES  not set   administratively down  down
    Ethernet0        192.168.33.1    YES  manual    up                     up
    Serial0          192.168.22.6    YES  manual    up                     down
    Serial1          unassigned      YES  not set   administratively down  down
    

    What should I be looking for here? I've set the clocking on "Router B".

    Any help is *much appreciated!

    Is the encapsulation the same on both serial? Is routerB is DCE side?
    This can be checked with #show controllers s 0
    Choose a clocking rate of 64000
    After that i've no idea icon_smile.gif
    Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
  • Options
    dshevnockdshevnock Member Posts: 18 ■□□□□□□□□□
    I ran into that same exact problem when I first setup my old, ancient Cisco 3000 series routers. I had forgot to see the clock rate on the DCE router serial interface. what does the show ip interfaces brief show on router A for the serial interface?
  • Options
    ThargTharg Member Posts: 8 ■□□□□□□□□□
    Many thanks people. icon_smile.gif

    Must be the clock rate, as wr t gives this below. I've tried setting the clock rate several times but "no fair-queue" seems to end up there instead??
    RouterB#wr t            
    Building configuration...                         
    
    Current configuration:                      
    ! 
    version 11.0            
    service password-encryption                           
    service udp-small-servers                         
    service tcp-small-servers                         
    ! 
    hostname RouterB                
    ! 
    enable password 7 1511021F07257A767B                                    
    ! 
    no ip domain-lookup                   
    ! 
    interface Ethernet0                   
     description connected to LAN                             
     ip address 192.168.33.1 255.255.255.0                                      
    ! 
    interface Serial0                 
     description connected to RouterA                                 
     ip address 192.168.22.6 255.255.255.0                                      
     encapsulation ppp                  
     no fair-queue              
    !
    interface Serial1
     no ip address
     shutdown
    !
    interface BRI0
     no ip address
     shutdown
    !
    router rip
     network 192.168.22.0
     network 192.168.33.0
    !
    !
    line con 0
    line aux 0
     transport input all
    line vty 0 4
     password 7 00071A1507545F5359
     login
    !
    end
    


    Here's what's going on RouterA, Protocol down on Serial0:
    RouterA#show ip interface brief
    Interface              IP-Address      OK? Method Status                Protocol
    BRI0                   unassigned      YES unset  administratively down down
    BRI0:1                 unassigned      YES unset  administratively down down
    BRI0:2                 unassigned      YES unset  administratively down down
    Ethernet0              192.168.11.1    YES manual up                    up
    Serial0                192.168.22.5    YES manual up                    down
    Serial1                unassigned      YES unset  administratively down down
    

    "Show controllers s0" throws an error but:
    RouterB#show controllers serial 0
    HD unit 0, idb = 0xAB91C, driver structure at 0xAFDE0
    buffer size 1524  HD unit 0, V.35 DTE cable
    cpb = 0x22, eda = 0x4140, cda = 0x4000
    RX ring with 16 entries at 0x224000
    00 bd_ptr=0x4000 pak=0x0AFFCC ds=0x2249E4 status=80 pak_size=0
    01 bd_ptr=0x4014 pak=0x0B0164 ds=0x2250A0 status=80 pak_size=0
    02 bd_ptr=0x4028 pak=0x0B02FC ds=0x22575C status=80 pak_size=0
    03 bd_ptr=0x403C pak=0x0B0494 ds=0x225E18 status=80 pak_size=0
    04 bd_ptr=0x4050 pak=0x0B062C ds=0x2264D4 status=80 pak_size=0
    05 bd_ptr=0x4064 pak=0x0B07C4 ds=0x226B90 status=80 pak_size=0
    06 bd_ptr=0x4078 pak=0x0B095C ds=0x22724C status=80 pak_size=0
    07 bd_ptr=0x408C pak=0x0B0AF4 ds=0x227908 status=80 pak_size=0
    08 bd_ptr=0x40A0 pak=0x0B0C8C ds=0x227FC4 status=80 pak_size=0
    09 bd_ptr=0x40B4 pak=0x0B0E24 ds=0x228680 status=80 pak_size=0
    10 bd_ptr=0x40C8 pak=0x0B0FBC ds=0x228D3C status=80 pak_size=0
    11 bd_ptr=0x40DC pak=0x0B1154 ds=0x2293F8 status=80 pak_size=0
    12 bd_ptr=0x40F0 pak=0x0B12EC ds=0x229AB4 status=80 pak_size=0
    13 bd_ptr=0x4104 pak=0x0B1484 ds=0x22A170 status=80 pak_size=0
    14 bd_ptr=0x4118 pak=0x0B161C ds=0x22A82C status=80 pak_size=0
    15 bd_ptr=0x412C pak=0x0B17B4 ds=0x22AEE8 status=80 pak_size=0
    16 bd_ptr=0x4140 pak=0x0B194C ds=0x22B5A4 status=80 pak_size=0
    cpb = 0x22, eda = 0x4814, cda = 0x4814
    TX ring with 4 entries at 0x224800
    00 bd_ptr=0x4800 pak=0x000000 ds=0x20007C status=80 pak_size=14
    01 bd_ptr=0x4814 pak=0x000000 ds=0x000000 status=80 pak_size=0
    02 bd_ptr=0x4828 pak=0x000000 ds=0x000000 status=80 pak_size=0
    03 bd_ptr=0x483C pak=0x000000 ds=0x000000 status=80 pak_size=0
    04 bd_ptr=0x4850 pak=0x000000 ds=0x000000 status=80 pak_size=0
    0 missed datagrams, 0 overruns
    0 bad datagram encapsulations, 0 memory errors
    0 transmitter underruns
    
    Bye for now,
    Tharg
  • Options
    johnnynodoughjohnnynodough Member Posts: 634
    should be a simple

    DCE SIDE

    routerA>en
    routerA#conf t
    RouterA(config)#int s0
    routera(config-if)#ip address x.x.x.x x.x.x.x
    routera(config-if)clockrate 64000
    routerA(config-if)encapsulation PPP
    routerA(config-if)no shutdown
    routerA(config-if)end

    DTE SIDE


    Router B should b

    routerb>en
    routerb#conf t
    routerb(config)#int s0
    routerb(config-if)#ip address x.x.x.x x.x.x.x
    routerb(config-if)#encapsulation ppp
    routerb(config-if)#no shutdown
    routerb(config-if)end
    Go Hawks - 7 and 2

    2 games againts San Fran coming up, oh yeah baby, why even play? just put then in the win category and call it good :p
  • Options
    johnnynodoughjohnnynodough Member Posts: 634
    an IOS update would be recommended as well.
    Go Hawks - 7 and 2

    2 games againts San Fran coming up, oh yeah baby, why even play? just put then in the win category and call it good :p
  • Options
    ThargTharg Member Posts: 8 ■□□□□□□□□□
    I'll try those suggestions...thanks! :D
    an IOS update would be recommended as well.

    Is that free?
    Bye for now,
    Tharg
  • Options
    WebmasterWebmaster Admin Posts: 10,292 Admin
    Tharg wrote:
    Is that free?
    No, that why it's important to buy at least one router with an up-to-date IOS version so you can copy it to the other one. As long as you don't duplicate it in a production environment, Cisco won't come for you. ;)

    Would be cool of Cisco to provide an educational limited IOS version...
  • Options
    ThargTharg Member Posts: 8 ■□□□□□□□□□
    Yeah, "clock rate 64000" won't "stick". Is there some trick that I'm missing here?

    Strangely, I can set it for Serial 1...

    RouterB#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    RouterB(config)#interface serial 0
    RouterB(config-if)#clock rate 64000
    RouterB(config-if)#^Z
    RouterB#
    %SYS-5-CONFIG_I: Configured from console by console
    RouterB#
    RouterB#copy running-config startup-config
    Building configuration...
    [OK]
    RouterB#wr t
    Building Configuration...
    
    Current configuration:
    !
    version 11.0
    service password-encryption
    service udp-small-servers
    service tcp-small-servers
    !
    hostname RouterB
    !
    enable password 7 1511021F07257A767B
    !
    no ip domain-lookup
    !
    interface Ethernet0
     description connected to LAN
     ip address 192.168.33.1 255.255.255.0
    !
    interface Serial0
     description connected to RouterA
     ip address 192.168.22.6 255.255.255.0
     encapsulation ppp
     no fair-queue
    !
    interface Serial1
     no ip address
     shutdown
    !
    interface BRI0
     no ip address
     shutdown
    !
    router rip
     network 192.168.22.0
     network 192.168.33.0
    !
    line con 0
    line aux 0
     transport input all
    line vty 0 4
     password 7 00071A1507545F5359
     login
    !
    end
    
    Bye for now,
    Tharg
  • Options
    porengoporengo Member Posts: 343
    If you've configured the clockrate for your serial interface on router A, you do not need to configure it for your serial interface on router B. The clockrate should only be configured on one end.
  • Options
    YankeeYankee Member Posts: 157
    Your output shows you have a DTE cable on the serial port:

    RouterB#show controllers serial 0
    HD unit 0, idb = 0xAB91C, driver structure at 0xAFDE0
    buffer size 1524 HD unit 0, V.35 DTE cable



    Yankee
  • Options
    porengoporengo Member Posts: 343
    Yankee wrote:
    Your output shows you have a DTE cable on the serial port:

    RouterB#show controllers serial 0
    HD unit 0, idb = 0xAB91C, driver structure at 0xAFDE0
    buffer size 1524 HD unit 0, V.35 DTE cable



    Yankee

    I agree with Yankee. The DTE side of your serial cable is attached to the S0 interface of Router B. Which means your DCE side is probably attached to the S0 interface of Router A. Your clockrate should always be configured on the router interface which has the DCE side of your cable connected to it.

    If you configure the clockrate on the S0 interface of Router A it should work. Also, make sure you remove the the clockrate you configured on Router B.
  • Options
    ThargTharg Member Posts: 8 ■□□□□□□□□□
    Success! Well...some success. I've swopped over to s1 and they're both coming up. Many thanks people!!

    One question...why can't I ping from one LAN to the othere - from HostA to HostB? Its not due to firewalls on the hosts.
    RouterA#show ip interface brief
    Interface              IP-Address      OK? Method Status                Protocol
    BRI0                   unassigned      YES unset  administratively down down
    BRI0:1                 unassigned      YES unset  administratively down down
    BRI0:2                 unassigned      YES unset  administratively down down
    Ethernet0              192.168.11.1    YES NVRAM  up                    up
    Serial0                unassigned      YES NVRAM  administratively down down
    Serial1                192.168.22.5    YES manual up                    up
    
    
    RouterB#show ip interface brief
    Interface        IP-Address      OK?  Method    Status                 Protocol
    BRI0             unassigned      YES  not set   administratively down  down
    Ethernet0        192.168.33.1    YES  NVRAM     up                     up
    Serial0          unassigned      YES  NVRAM     administratively down  down
    Serial1          192.168.22.6    YES  manual    up                     up
    RouterB#
    
    Bye for now,
    Tharg
  • Options
    rossonieri#1rossonieri#1 Member Posts: 799 ■■■□□□□□□□
    if you want to set the encap to PPP - you must disconnect both cables DCE/DTE in order to work. after you do the config on both router then you plug them.
    the More I know, that is more and More I dont know.
  • Options
    johnnynodoughjohnnynodough Member Posts: 634
    ^^

    You need to be running a routing protocol or have static routes to ping the lans on either side of your routers.
    Go Hawks - 7 and 2

    2 games againts San Fran coming up, oh yeah baby, why even play? just put then in the win category and call it good :p
  • Options
    johnnynodoughjohnnynodough Member Posts: 634
    ^^

    Ive never had to pull any cables to get PPP to come up. Always been able to configure PPP with the cables connected and have the interfaces come right up.
    Go Hawks - 7 and 2

    2 games againts San Fran coming up, oh yeah baby, why even play? just put then in the win category and call it good :p
  • Options
    rossonieri#1rossonieri#1 Member Posts: 799 ■■■□□□□□□□
    ^^

    You need to be running a routing protocol or have static routes to ping the lans on either side of your routers.

    how can you ping others when you dont have any connection? :) i mean look at the interface : its down.. dont bother to have routing prots.
    the More I know, that is more and More I dont know.
  • Options
    rossonieri#1rossonieri#1 Member Posts: 799 ■■■□□□□□□□
    ^^

    Ive never had to pull any cables to get PPP to come up. Always been able to configure PPP with the cables connected and have the interfaces come right up.

    really? wow, thats new.. :)
    the More I know, that is more and More I dont know.
  • Options
    johnnynodoughjohnnynodough Member Posts: 634
    it may depend on your IOS version, I have 12.28 mine
    Go Hawks - 7 and 2

    2 games againts San Fran coming up, oh yeah baby, why even play? just put then in the win category and call it good :p
  • Options
    porengoporengo Member Posts: 343
    You obviously have connectivity due to the output of your "show ip interface brief" command. What's happening is that a firewall on your client(s) is preventing ping replies (echos). Either turn off your firewall(s) or adjust it so that it allows for ping replies (echos).
  • Options
    porengoporengo Member Posts: 343
    if you want to set the encap to PPP - you must disconnect both cables DCE/DTE in order to work. after you do the config on both router then you plug them.

    I also have never needed to unplug my serial cables when configuring serial interfaces.

    Also, you should be able to ping between routers that are directly connected without running a routing protocol, or having to configure a static route. A routing protocol or static route is need when trying to ping across a directly connected router.
  • Options
    johnnynodoughjohnnynodough Member Posts: 634
    he wasnt pinging between routers he was pinging between hosts on two nets, but you could actually even test your LAN interface pinging abilities by using the extended ping command on the router, no need for the PC's, so you could elimante any PC based firewall issues there.
    Go Hawks - 7 and 2

    2 games againts San Fran coming up, oh yeah baby, why even play? just put then in the win category and call it good :p
  • Options
    ThargTharg Member Posts: 8 ■□□□□□□□□□
    Success! icon_smile.gif Many thanks for all the suggestions and comments!

    C:\>tracert 192.168.33.151

    Tracing route to 192.168.33.151 over a maximum of 30 hops

    1 1 ms 2 ms 1 ms 192.168.11.1
    2 23 ms 23 ms 22 ms 192.168.22.6
    3 26 ms 26 ms 26 ms 192.168.33.151

    Trace complete.

    (It wasn't software firewalls - I've two different IOSes - 11.0 and 11.2. The router with IOS 11.0 didn't seem to "buy" RIP 2, so I reverted to RIP 1 instead.)

    I will definitely go over the RIP lab till I have it down cold but what would be the next lab I should attempt?
    Bye for now,
    Tharg
Sign In or Register to comment.