Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot Ping Between Two Routers

Status
Not open for further replies.

mgai6966

Technical User
Joined
Jul 12, 2003
Messages
5
Location
US
I have two 2501 routers connected back to back via DCE/DTE cable. On both routers the serial line is up and the line protocol is up. I have the clock rate set on the DCE side, and I still cannot ping between the two routers. If I change the encapsulation from HDLC to PPP I can ping, but when I add in another router configure it and configure a routing protocol I still cannot ping. I have done this over and over again and I am stuck. Below is the configuration for the two back to back routers.

Router_B>en
Router_B#sh int s0
Serial0 is up, line protocol is up
Hardware is HD64570
Internet address is 192.168.20.1/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set
Keepalive set (10 sec)
Last input 00:00:00, output 00:00:02, output hang never
Last clearing of "show interface" counters 00:32:27
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
196 packets input, 12227 bytes, 0 no buffer
Received 196 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
189 packets output, 11690 bytes, 0 underruns
0 output errors, 0 collisions, 5 interface resets
0 output buffer failures, 0 output buffers swapped out
35 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up

Router_C>en
Router_C#sh int s0
Serial0 is up, line protocol is up
Hardware is HD64570
Internet address is 192.168.30.1/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set
Keepalive set (10 sec)
Last input 00:00:02, output 00:00:09, output hang never
Last clearing of "show interface" counters 00:31:57
Queueing strategy: fifo
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
188 packets input, 11183 bytes, 0 no buffer
Received 188 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
203 packets output, 13133 bytes, 0 underruns
0 output errors, 0 collisions, 3 interface resets
0 output buffer failures, 0 output buffers swapped out
1 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
 
you may have to change the ip addresses as the interfaces are on different subnets or you may have to use a routing protocol....
 
As already said you have two seperate subnets:-

192.168.20.1 / 24
192.168.30.1 / 24

You need the two interfaces on the same subnet:-

as follows:-

192.168.20.1 / 24
192.168.20.2 / 24

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top