WAN PPP

faisal79faisal79 Member Posts: 47 ■■□□□□□□□□
hi guys i have setup my home lab being practising for the exam, i come to a point where i want practise to setup ppp wan, using back to back cable i connected tow 2500 routers here is my config of one of the routers they are both configured the same :-
routerb#sho int s0
Serial0 is up, line protocol is down
Hardware is HD64570
Internet address is 192.168.10.130 255.255.255.192
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback set, keepalive set (10 sec)
LCP Listen
Closed: ipcp, cdp
Last input never, output 0:00:47, output hang never
Last clearing of "show interface" counters never
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
230 packets output, 4462 bytes, 0 underruns
0 output errors, 0 collisions, 92 interface resets, 0 restarts
0 output buffer failures, 0 output buffers swapped out
180 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
why is the line protocol down? and LCP is in listen state?

what am i doing wrong? i did setup one of the router clockrate
i have also setup the encap to ppp authentication to pap and set the username for both and password
thanks in advance
Faisal79.jpg

Comments

  • WebmasterWebmaster Admin Posts: 10,292 Admin
    did setup one of the router clockrate
    Did you set it up on the right side? One side of the serial connection is DTE, the other is DCE. You can see which one is the DCE by running the 'show controllers' command. The second line for the serial to which the DCE side of the cable is attached should indicate whether it's a DCE:
    HD unit 1, idb = 0xF22E4, driver structure at 0xF7778
       buffer size 1524 HD unit 0 1, V.35 DCE cable, clockrate 64000
    ...
    ...
    


    Feel free to post you entire running config on both routers.
  • remyforbes777remyforbes777 Member Posts: 499
    If the link protocol is not coming up you need to check that your username and password is set correctly.
    Also do a debug ppp authentication
  • faisal79faisal79 Member Posts: 47 ■■□□□□□□□□
    here is the copy after running the sho contollers command for both routers

    Router1
    LANCE unit 0, idb 0x8DFC8, ds 0x8FAA8, regaddr = 0x2130000, reset_mask 0x2
    IB at 0x106DAC: mode=0x0000, mcfilter 0000/0000/0100/0000
    station address 00e0.b063.82d8 default station address 00e0.b063.82d8
    buffer size 1524
    RX ring with 16 entries at 0x106DF0
    Rxhead = 0x106E18 (5), Rxp = 0x8FAD8 (5)
    00 pak=0x091168 ds=0x10B98E status=0x80 max_size=1524 pak_size=96
    01 pak=0x090F98 ds=0x10B2D6 status=0x80 max_size=1524 pak_size=96
    02 pak=0x090DC8 ds=0x10AC1E status=0x80 max_size=1524 pak_size=96
    03 pak=0x090BF8 ds=0x10A566 status=0x80 max_size=1524 pak_size=96
    04 pak=0x092C98 ds=0x111E56 status=0x80 max_size=1524 pak_size=251
    05 pak=0x092728 ds=0x110A2E status=0x80 max_size=1524 pak_size=96
    06 pak=0x092388 ds=0x10FCBE status=0x80 max_size=1524 pak_size=251
    07 pak=0x0921B8 ds=0x10F606 status=0x80 max_size=1524 pak_size=96
    08 pak=0x091FE8 ds=0x10EF4E status=0x80 max_size=1524 pak_size=96
    09 pak=0x091E18 ds=0x10E896 status=0x80 max_size=1524 pak_size=96
    10 pak=0x091C48 ds=0x10E1DE status=0x80 max_size=1524 pak_size=96
    11 pak=0x091A78 ds=0x10DB26 status=0x80 max_size=1524 pak_size=96
    12 pak=0x0918A8 ds=0x10D46E status=0x80 max_size=1524 pak_size=96
    13 pak=0x0916D8 ds=0x10CDB6 status=0x80 max_size=1524 pak_size=262
    14 pak=0x091508 ds=0x10C6FE status=0x80 max_size=1524 pak_size=96
    15 pak=0x091338 ds=0x10C046 status=0x80 max_size=1524 pak_size=96
    TX ring with 4 entries at 0x106EA8, tx_count = 0
    --More--





    router2
    LANCE unit 0, idb 0x88168, ds 0x8A090, regaddr = 0x2130000, reset_mask 0x2
    IB at 0x806E60: mode=0x0000, mcfilter 0000/0000/0100/0000
    station address 0000.0c92.cfb1 default station address 0000.0c92.cfb1
    buffer size 1524
    RX ring with 16 entries at 0x806EA0
    Rxhead = 0x806EA0 (0), Rxp = 0x8A0AC (0)
    00 pak=0x08AFFC ds=0x80A63E status=0x80 max_size=1524 pak_size=0
    01 pak=0x08B194 ds=0x80ACFA status=0x80 max_size=1524 pak_size=0
    02 pak=0x08B32C ds=0x80B3B6 status=0x80 max_size=1524 pak_size=0
    03 pak=0x08B4C4 ds=0x80BA72 status=0x80 max_size=1524 pak_size=0
    04 pak=0x08B65C ds=0x80C12E status=0x80 max_size=1524 pak_size=0
    05 pak=0x08B7F4 ds=0x80C7EA status=0x80 max_size=1524 pak_size=0
    06 pak=0x08B98C ds=0x80CEA6 status=0x80 max_size=1524 pak_size=0
    07 pak=0x08BB24 ds=0x80D562 status=0x80 max_size=1524 pak_size=0
    08 pak=0x08BCBC ds=0x80DC1E status=0x80 max_size=1524 pak_size=0
    09 pak=0x08BE54 ds=0x80E2DA status=0x80 max_size=1524 pak_size=0
    10 pak=0x08BFEC ds=0x80E996 status=0x80 max_size=1524 pak_size=0
    11 pak=0x08C184 ds=0x80F052 status=0x80 max_size=1524 pak_size=0
    12 pak=0x08C31C ds=0x80F70E status=0x80 max_size=1524 pak_size=0
    13 pak=0x08C4B4 ds=0x80FDCA status=0x80 max_size=1524 pak_size=0
    14 pak=0x08C64C ds=0x810486 status=0x80 max_size=1524 pak_size=0
    15 pak=0x08C7E4 ds=0x810B42 status=0x80 max_size=1524 pak_size=0
    TX ring with 4 entries at 0x806F58, tx_count = 0
    --More--

    how can tell which one is the DCE? it doesn't say on sho controolers command?
    Faisal79.jpg
  • WebmasterWebmaster Admin Posts: 10,292 Admin
    Run show controllers for the serial interfaces that are connected, ie.: sh contr ser0
  • faisal79faisal79 Member Posts: 47 ■■□□□□□□□□
    router1

    HD unit 0, idb = 0x9A2E4, driver structure at 0x9F068
    buffer size 1524 HD unit 0, X.21 cable
    cpb = 0x12, eda = 0x2140, cda = 0x2000
    RX ring with 16 entries at 0x122000
    00 bd_ptr=0x2000 pak=0x0A16D0 ds=0x12B040 status=80 pak_size=0
    01 bd_ptr=0x2014 pak=0x0A0BF0 ds=0x1287F0 status=80 pak_size=0
    02 bd_ptr=0x2028 pak=0x0A1A70 ds=0x12BDB0 status=80 pak_size=0
    03 bd_ptr=0x203C pak=0x0A0DC0 ds=0x128EA8 status=80 pak_size=0
    04 bd_ptr=0x2050 pak=0x0A0F90 ds=0x129560 status=80 pak_size=0
    05 bd_ptr=0x2064 pak=0x0A1C40 ds=0x12C468 status=80 pak_size=0
    06 bd_ptr=0x2078 pak=0x0A1E10 ds=0x12CB20 status=80 pak_size=0
    07 bd_ptr=0x208C pak=0x09FF40 ds=0x1258E8 status=80 pak_size=0
    08 bd_ptr=0x20A0 pak=0x0A1500 ds=0x12A988 status=80 pak_size=0
    09 bd_ptr=0x20B4 pak=0x0A1330 ds=0x12A2D0 status=80 pak_size=0
    10 bd_ptr=0x20C8 pak=0x0A1160 ds=0x129C18 status=80 pak_size=0
    11 bd_ptr=0x20DC pak=0x0A0A20 ds=0x128138 status=80 pak_size=0
    12 bd_ptr=0x20F0 pak=0x0A0850 ds=0x127A80 status=80 pak_size=0
    13 bd_ptr=0x2104 pak=0x0A0680 ds=0x1273C8 status=80 pak_size=0
    14 bd_ptr=0x2118 pak=0x0A04B0 ds=0x126D10 status=80 pak_size=0
    15 bd_ptr=0x212C pak=0x0A02E0 ds=0x126658 status=80 pak_size=0
    16 bd_ptr=0x2140 pak=0x0A0110 ds=0x125FA0 status=80 pak_size=0
    cpb = 0x12, eda = 0x2800, cda = 0x2800
    TX ring with 2 entries at 0x122800
    --More--
    after show int here is the result for router1
    Serial0 is up, line protocol is down
    Hardware is HD64570
    Internet address is 192.168.10.129/26
    MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
    Encapsulation PPP, loopback set, keepalive set (10 sec)
    LCP Listen
    Closed: IPCP, CDPCP
    Last input 00:00:12, output 00:00:12, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0 (size/max/drops); Total output drops: 0
    Queueing strategy: weighted fair
    Output queue: 0/1000/64/0 (size/max total/threshold/drops)
    Conversations 0/1/256 (active/max active/max total)
    Reserved Conversations 0/0 (allocated/max allocated)
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    139 packets input, 1242 bytes, 0 no buffer
    Received 139 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
    397 packets output, 7100 bytes, 0 underruns
    0 output errors, 0 collisions, 190 interface resets
    0 output buffer failures, 0 output buffers swapped out
    368 carrier transitions
    --More--





    Router2
    HD unit 0, idb = 0x92C14, driver structure at 0x970B0
    buffer size 1524 HD unit 0, X.21 cable, clockrate 64000
    cpb = 0x81, eda = 0x4800, cda = 0x4814
    RX ring with 16 entries at 0x814800
    00 bd_ptr=0x4800 pak=0x098A80 ds=0x81B6E8 status=80 pak_size=18
    01 bd_ptr=0x4814 pak=0x0988E8 ds=0x81B02C status=80 pak_size=0
    02 bd_ptr=0x4828 pak=0x099278 ds=0x81D894 status=80 pak_size=0
    03 bd_ptr=0x483C pak=0x098420 ds=0x819BF8 status=80 pak_size=0
    04 bd_ptr=0x4850 pak=0x0985B8 ds=0x81A2B4 status=80 pak_size=0
    05 bd_ptr=0x4864 pak=0x098DB0 ds=0x81C460 status=80 pak_size=0
    06 bd_ptr=0x4878 pak=0x0980F0 ds=0x818E80 status=80 pak_size=0
    07 bd_ptr=0x488C pak=0x098288 ds=0x81953C status=80 pak_size=0
    08 bd_ptr=0x48A0 pak=0x097DC0 ds=0x818108 status=80 pak_size=0
    09 bd_ptr=0x48B4 pak=0x097F58 ds=0x8187C4 status=80 pak_size=0
    10 bd_ptr=0x48C8 pak=0x098750 ds=0x81A970 status=80 pak_size=0
    11 bd_ptr=0x48DC pak=0x098F48 ds=0x81CB1C status=80 pak_size=0
    12 bd_ptr=0x48F0 pak=0x0990E0 ds=0x81D1D8 status=80 pak_size=0
    13 bd_ptr=0x4904 pak=0x099410 ds=0x81DF50 status=80 pak_size=0
    14 bd_ptr=0x4918 pak=0x0995A8 ds=0x81E60C status=80 pak_size=0
    15 bd_ptr=0x492C pak=0x099740 ds=0x81ECC8 status=80 pak_size=0
    16 bd_ptr=0x4940 pak=0x0998D8 ds=0x81F384 status=80 pak_size=0
    cpb = 0x81, eda = 0x5028, cda = 0x5028
    TX ring with 4 entries at 0x815000
    --More--
    Router2 is the one i configured with the clockrate
    and now
    after show int s0 here is the result
    Serial0 is up, line protocol is down
    Hardware is HD64570
    Internet address is 192.168.10.130 255.255.255.192
    MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
    Encapsulation PPP, loopback set, keepalive set (10 sec)
    LCP Closed
    Closed: ipcp, cdp
    Last input 0:00:06, output 0:00:06, output hang never
    Last clearing of "show interface" counters never
    Output queue 0/40, 0 drops; input queue 0/75, 0 drops
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    116 packets input, 2048 bytes, 0 no buffer
    Received 0 broadcasts, 0 runts, 0 giants
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
    516 packets output, 8475 bytes, 0 underruns
    --More--
    on router 2 LCP IS CLOSED and in router1 its set to Listen


    can i say thanks for ur quick replay really appreciated
    Faisal79.jpg
  • rossonieri#1rossonieri#1 Member Posts: 799 ■■■□□□□□□□
    hello,

    "LCP closed..."

    did you use a PPP authentication?
    if yes -- first unplug the cable from the routers -- set the authentication <remote-name><pass>
    then plug the cable back see what happen.
    make sure the clock rate set.

    cheers.
    the More I know, that is more and More I dont know.
  • malcyboodmalcybood Member Posts: 900 ■■■□□□□□□□
    Have you ran a debug on ppp?

    router#debug ppp authentication

    http://www.cisco.com/warp/public/471/ppp_authen_ts_fl.html

    and

    router#debug ppp negotiation

    http://www.cisco.com/warp/public/471/debug_ppp_negotiation.html

    post the output
  • faisal79faisal79 Member Posts: 47 ■■□□□□□□□□
    ok have tried to reconfigure while the back to back cable was unplugt now the both LCPs are on request

    after running the debug negotiantion here is the result

    ppp: sending CONFREQ, type = 3 (CI_AUTHTYPE), value = C023
    ppp: sending CONFREQ, type = 5 (CI_MAGICNUMBER), value = 1CB2F5
    ppp: config REJ received, type = 3 (CI_AUTHTYPE), value = C023/0
    ppp: sending CONFREQ, type = 3 (CI_AUTHTYPE), value = C023
    ppp: sending CONFREQ, type = 5 (CI_MAGICNUMBER), value = 1CB2F5
    ppp: config REJ received, type = 3 (CI_AUTHTYPE), value = C023/0
    ppp: sending CONFREQ, type = 3 (CI_AUTHTYPE), value = C023
    ppp: sending CONFREQ, type = 5 (CI_MAGICNUMBER), value = 1CB2F5
    ppp: config REJ received, type = 3 (CI_AUTHTYPE), value = C023/0
    ppp: Serial0 closing connection because remote won't authenticate.
    ppp: sending CONFREQ, type = 3 (CI_AUTHTYPE), value = C023
    ppp: sending CONFREQ, type = 5 (CI_MAGICNUMBER), value = 1CB32A
    ppp: sending CONFREQ, type = 3 (CI_AUTHTYPE), value = C023
    ppp: sending CONFREQ, type = 5 (CI_MAGICNUMBER), value = 1CB32A
    ppp: config REJ received, type = 3 (CI_AUTHTYPE), value = C023/0
    ppp: sending CONFREQ, type = 3 (CI_AUTHTYPE), value = C023
    ppp: sending CONFREQ, type = 5 (CI_MAGICNUMBER), value = 1CB32A
    ppp: config REJ received, type = 3 (CI_AUTHTYPE), value = C023/0
    ppp: sending CONFREQ, type = 3 (CI_AUTHTYPE), value = C023
    ppp: sending CONFREQ, type = 5 (CI_MAGICNUMBER), value = 1CB32A
    ppp: config REJ received, type = 3 (CI_AUTHTYPE), value = C023/0
    ppp: sending CONFREQ, type = 3 (CI_AUTHTYPE), value = C023
    ppp: sending CONFREQ, type = 5 (CI_MAGICNUMBER), value = 1CB32A
    ppp: config REJ received, type = 3 (C

    i will be off this weekend for holiday

    thanks guys
    Faisal79.jpg
  • rossonieri#1rossonieri#1 Member Posts: 799 ■■■□□□□□□□
    faisal79 wrote:
    ok have tried to reconfigure while the back to back cable was unplugt now the both LCPs are on request

    after running the debug negotiantion here is the result

    ppp: Serial0 closing connection because remote won't authenticate.

    thanks guys

    this shows that one of the router has wrong username pass config.
    read more how to configure it.

    cheers..
    the More I know, that is more and More I dont know.
  • monkey_ninja3monkey_ninja3 Member Posts: 40 ■■□□□□□□□□
    Hey guys, im totally new to this, but just to expand on ppp, I got a few stupid questions that you could probably answer in your sleep.

    Firstly, on the previous scenario, do the magic numbers show 1CB2F5 and the other auth is 1CB32A indicate the pap has refused access so the NLC cant go ahead?

    I got a sim lab set up, and unless I state PPP, or RIP on them, the two Lans cant ping to each other on the different networks.

    E.g

    Router A can ping Router B
    Router B can ping router A

    pc 1 (connect to router a) can ping router A, but not b or pc 2
    pc 2 (connected to router b) can ping router B, but not router 1 or pc 1

    Now as far as my understanding goes, a routing protocol needs to be enabled for the two different lans to ping each other, even when they're is only 2 routers, right ?

    Please correct me if im wrong.

    But I dont understand why the default HDLC cant let the 2 routers ping each other, when something else is sticking out its other interface.

    E.g1 pc1
    E1<.R1.>s1
    s1<r2 <--router 1 can ping router 2, but router 2
    cant ping router 1


    Eg2 r1s.. s1>
    <s2..r2.e1>--- pc <--this time, router 1 cant ring router 2, but
    router 2 can ping router 1

    So everytime the router has somethin else coming outta its other interface, it cant be pinged by the router, any idea whats going on ??

    Both routers could ping each other initially, just not when their other interface is being used - and when both routers are using both interfaces, they cant ping each other at all..
  • Darthn3ssDarthn3ss Member Posts: 1,096
    sounds like you might have something configured wrong somewhere? i belive when i connect 2 routers they can ping each other, but not the networks on the other interfaces until a routing protocol or static routes are setup.
    Fantastic. The project manager is inspired.

    In Progress: 70-640, 70-685
  • monkey_ninja3monkey_ninja3 Member Posts: 40 ■■□□□□□□□□
    thanks dude, thats clarified a simple concept for me .. I started again from scratch and now it works .. must have messed up a configuration like you said icon_redface.gif

    NinjaMonkey
Sign In or Register to comment.