RE: It is in the routing table, but Can't ping it

From: Church, Chuck (cchurch@xxxxxxxx)
Date: Wed Mar 06 2002 - 11:43:56 GMT-3


   
Mohamed,

        Your routing table on R1 shows a subint s0.1 as a next hop, but your
config shows no subinterface. If that's not the problem, have you debugged
ip packet or frame packet to see what's happening at the lower levels?

Chuck Church
Sr. Network Engineer
CCIE #8776, MCNE, MCSE
US Tennis Association
70 W. Red Oak Lane
White Plains, NY 10604
914-696-7199

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Mohamed I. Lubbad
Sent: Wednesday, March 06, 2002 5:26 AM
To: Tshon
Cc: Jeongwoo Park; ccielab@groupstudy.com
Subject: Re: It is in the routing table, but Can't ping it

Sorry Guys I have pasted R3's routing table twice. Here are the tables:

R1 running c2600-d-mz.113-8.T1.bin:
Gateway of last resort is not set
     172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
R 172.16.20.0/24 [120/2] via 172.16.4.1, 00:00:01, Serial0/0.1
R 172.16.20.1/32 [120/2] via 172.16.4.1, 00:00:01, Serial0/0.1
C 172.16.4.0/24 is directly connected, Serial0/0.1
R 172.16.5.0/24 [120/1] via 172.16.4.1, 00:00:01, Serial0/0.1
C 172.16.6.0/24 is directly connected, Loopback0
C 172.16.7.0/24 is directly connected, Loopback1
R 172.16.1.0/24 [120/2] via 172.16.4.1, 00:00:01, Serial0/0.1

R2 running c3640-jos56i-mz_120-4_T.bin:
Gateway of last resort is not set
     172.16.0.0/16 is variably subnetted, 8 subnets, 3 masks
O E2 172.16.20.0/24 [110/20] via 172.16.1.2, Serial1/1
O 172.16.20.1/32 [110/65] via 172.16.1.2, Serial1/1
C 172.16.4.0/24 is directly connected, Serial1/0
C 172.16.5.0/24 is directly connected, Loopback0
R 172.16.6.0/24 [120/1] via 172.16.4.2, Serial1/0
R 172.16.7.0/24 [120/1] via 172.16.4.2, Serial1/0
O 172.16.1.0/24 is a summary, Null0
C 172.16.1.0/30 is directly connected, Serial1/1

R3 running c2500-ins-l.120-21.bin:
Gateway of last resort is not set
     172.16.0.0/16 is variably subnetted, 9 subnets, 3 masks
O 172.16.20.0/24 is a summary, 04:18:04, Null0
C 172.16.20.0/28 is directly connected, Loopback0
O E2 172.16.4.0/24 [110/30] via 172.16.1.1, 00:00:05, Serial1
C 172.16.20.16/28 is directly connected, Loopback1
O E2 172.16.5.0/24 [110/30] via 172.16.1.1, 00:00:05, Serial1
O E2 172.16.6.0/24 [110/30] via 172.16.1.1, 00:00:05, Serial1
O E2 172.16.7.0/24 [110/30] via 172.16.1.1, 00:00:05, Serial1
O E2 172.16.1.0/24 [110/30] via 172.16.1.1, 00:00:05, Serial1
C 172.16.1.0/30 is directly connected, Serial1

On R3, the line :
 O E2 172.16.4.0/24 [110/30] via 172.16.1.1, 00:19:28, Serial1

 Is coming from RIP redistributed into OSPf as 172.16.4.0 isn't in R2's OSPF
process.

Here you are the successful pings from R3:
R3#ping 172.16.6.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.6.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 88/88/88 ms
R3#ping 172.16.7.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.7.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 88/88/88 ms
R3#ping 172.16.5.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.5.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/31/40 ms
R3#ping 172.16.4.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.4.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
R3#ping 172.16.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/31/32 ms
R3#

Sorry Again

  Mohamed I. Lubbad

----- Original Message -----
From: "Tshon" <tshon@netzero.net>
To: "Mohamed I. Lubbad" <mlubbad@hotmail.com>
Cc: "Jeongwoo Park" <Jpark@wams.com>; <ccielab@groupstudy.com>
Sent: Wednesday, March 06, 2002 11:00
Subject: Re: It is in the routing table, but Can't ping it

> what version of ios are you using...... your router should be confused...
>
> can you show a successful ping?
>
> issues on R2 and R3
>
> O E2 172.16.1.0/24 [110/30] via 172.16.1.1, 00:12:07, Serial1
> C 172.16.1.0/30 is directly connected, Serial1
>
> O E2 172.16.4.0/24 [110/30] via 172.16.1.1, 00:19:28, Serial1
>
>
>
> Mohamed I. Lubbad wrote:
>
> >I have just copied and pasted your config on my routers and it is working
> >fine, here are the routing tables:
> >
> >R1:
> >Gateway of last resort is not set
> > 172.16.0.0/16 is variably subnetted, 7 subnets, 2 masks
> >R 172.16.20.0/24 [120/2] via 172.16.4.1, 00:00:16, Serial0/0.1
> >R 172.16.20.1/32 [120/2] via 172.16.4.1, 00:00:16, Serial0/0.1
> >C 172.16.4.0/24 is directly connected, Serial0/0.1
> >R 172.16.5.0/24 [120/1] via 172.16.4.1, 00:00:16, Serial0/0.1
> >C 172.16.6.0/24 is directly connected, Loopback0
> >C 172.16.7.0/24 is directly connected, Loopback1
> >R 172.16.1.0/24 [120/2] via 172.16.4.1, 00:00:16, Serial0/0.1
> >
> >R2:
> >Gateway of last resort is not set
> > 172.16.0.0/16 is variably subnetted, 9 subnets, 3 masks
> >O 172.16.20.0/24 is a summary, 00:16:02, Null0
> >C 172.16.20.0/28 is directly connected, Loopback0
> >O E2 172.16.4.0/24 [110/30] via 172.16.1.1, 00:19:28, Serial1
> >C 172.16.20.16/28 is directly connected, Loopback1
> >O E2 172.16.5.0/24 [110/30] via 172.16.1.1, 00:19:28, Serial1
> >O E2 172.16.6.0/24 [110/30] via 172.16.1.1, 00:19:28, Serial1
> >O E2 172.16.7.0/24 [110/30] via 172.16.1.1, 00:19:28, Serial1
> >O E2 172.16.1.0/24 [110/30] via 172.16.1.1, 00:12:07, Serial1
> >C 172.16.1.0/30 is directly connected, Serial1
> >
> >R3:
> >Gateway of last resort is not set
> > 172.16.0.0/16 is variably subnetted, 9 subnets, 3 masks
> >O 172.16.20.0/24 is a summary, 00:16:34, Null0
> >C 172.16.20.0/28 is directly connected, Loopback0
> >O E2 172.16.4.0/24 [110/30] via 172.16.1.1, 00:20:00, Serial1
> >C 172.16.20.16/28 is directly connected, Loopback1
> >O E2 172.16.5.0/24 [110/30] via 172.16.1.1, 00:20:00, Serial1
> >O E2 172.16.6.0/24 [110/30] via 172.16.1.1, 00:20:00, Serial1
> >O E2 172.16.7.0/24 [110/30] via 172.16.1.1, 00:20:00, Serial1
> >O E2 172.16.1.0/24 [110/30] via 172.16.1.1, 00:12:39, Serial1
> >C 172.16.1.0/30 is directly connected, Serial1
> >
> >
> >
> > Mohamed Lubbad
> >
> >
> >----- Original Message -----
> >From: "Jeongwoo Park" <Jpark@wams.com>
> >To: <ccielab@groupstudy.com>
> >Sent: Wednesday, March 06, 2002 05:06
> >Subject: It is in the routing table, but Can't ping it
> >
> >
> >>Here is the layout.
> >>R1----R2-----R3.
> >>On R3 I have the routes 172.16.6.1 and 172.16.7.1,which are R1's
loopback
> >>interfaces.
> >>But I can't ping those interfaces from R3.
> >>
> >>Here is config.
> >>R1#wr t
> >>#######
> >>Current configuration:
> >>!
> >>version 10.2
> >>service tcp-small-servers
> >>
> >>hostname R1
> >>!
> >>enable password wams
> >>!
> >>ip subnet-zero
> >>!
> >>interface Loopback0
> >>ip address 172.16.6.1 255.255.255.0
> >>!
> >>interface Loopback1
> >>ip address 172.16.7.1 255.255.255.0
> >>!
> >>interface Ethernet0
> >>no ip address
> >>shutdown
> >>!
> >>interface Ethernet1
> >>no ip address
> >>shutdown
> >>!
> >>interface Serial0
> >>ip address 172.16.4.2 255.255.255.0
> >>shutdown
> >>!
> >>interface Serial1
> >>ip address 172.16.4.2 255.255.255.0
> >>!
> >>router rip
> >>network 172.16.0.0
> >>!
> >>ip host R2 172.16.5.1
> >>ip host R3 172.16.20.1
> >>ip classless
> >>!
> >>line con 0
> >>line aux 0
> >>transport input all
> >>line vty 0 4
> >>exec-timeout 0 0
> >>password wams
> >>login
> >>telnet transparent
> >>line vty 5 15
> >>login
> >>!
> >>end
> >>
> >>R2#wr t
> >>Building configuration...
> >>
> >>Current configuration : 1081 bytes
> >>!
> >>version 12.1
> >>service timestamps debug uptime
> >>service timestamps log uptime
> >>no service password-encryption
> >>!
> >>hostname R2
> >>!
> >>!
> >>!
> >>!
> >>!
> >>!
> >>ip subnet-zero
> >>ip host R3 172.16.20.1
> >>ip host R1 172.16.6.1
> >>!
> >>!
> >>!
> >>!
> >>interface Loopback0
> >> ip address 172.16.5.1 255.255.255.0
> >>!
> >>interface Ethernet0
> >> no ip address
> >> shutdown
> >>!
> >>interface Serial0
> >> ip address 172.16.1.1 255.255.255.252
> >> no fair-queue
> >> clockrate 500000
> >>!
> >>interface Serial1
> >> ip address 172.16.4.1 255.255.255.0
> >> clockrate 500000
> >>!
> >>interface BRI0
> >> no ip address
> >> shutdown
> >> isdn x25 static-tei 0
> >>!
> >>router ospf 1
> >> log-adjacency-changes
> >> summary-address 172.16.1.0 255.255.255.0
> >> summary-address 172.16.20.0 255.255.255.0
> >> redistribute rip metric 30 subnets
> >> network 172.16.1.0 0.0.0.3 area 0
> >>!
> >>router rip
> >> redistribute ospf 1
> >> passive-interface Serial0
> >> network 172.16.0.0
> >> default-metric 2
> >>!
> >>ip classless
> >>ip http server
> >>!
> >>alias exec r sh ip route
> >>!
> >>line con 0
> >> exec-timeout 0 0
> >> password wams
> >>line aux 0
> >>line vty 0 2
> >> exec-timeout 0 0
> >> privilege level 15
> >> password wams
> >> login
> >>line vty 3 4
> >> privilege level 15
> >> password wams
> >> login
> >>!
> >>end
> >>
> >>R3#wr t
> >>Building configuration...
> >>
> >>Current configuration : 915 bytes
> >>!
> >>version 12.2
> >>service timestamps debug uptime
> >>service timestamps log uptime
> >>no service password-encryption
> >>!
> >>hostname R3
> >>!
> >>enable password wams
> >>!
> >>ip subnet-zero
> >>!
> >>!
> >>no ip domain-lookup
> >>ip host R2 172.16.5.1
> >>ip host R1 172.16.6.1
> >>!
> >>!
> >>!
> >>!
> >>interface Loopback0
> >> ip address 172.16.20.1 255.255.255.240
> >>!
> >>interface Loopback1
> >> ip address 172.16.20.17 255.255.255.240
> >>!
> >>interface Ethernet0/0
> >> no ip address
> >> shutdown
> >> half-duplex
> >>!
> >>interface Serial0/0
> >> ip address 172.16.1.2 255.255.255.252
> >>!
> >>interface Ethernet0/1
> >> no ip address
> >> shutdown
> >> half-duplex
> >>!
> >>router ospf 1
> >> log-adjacency-changes
> >> summary-address 172.16.20.0 255.255.255.0
> >> redistribute connected subnets
> >> network 172.16.1.0 0.0.0.3 area 0
> >> network 172.16.20.0 0.0.0.15 area 0
> >>!
> >>ip classless
> >>ip http server
> >>!
> >>alias exec r sh ip route
> >>!
> >>line con 0
> >>line aux 0
> >> transport input all
> >>line vty 0 4
> >> exec-timeout 0 0
> >> password wams
> >> login
> >>line vty 5 15
> >> login
> >>!
> >>end
> >>
> >>R3's routing table
> >>R3#sh ip rou
> >>Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
> >> D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
> >> N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> >> E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
> >> i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS
inter
> >>area
> >> * - candidate default, U - per-user static route, o - ODR
> >> P - periodic downloaded static route
> >>
> >>Gateway of last resort is not set
> >>
> >> 172.16.0.0/16 is variably subnetted, 8 subnets, 3 masks
> >>O 172.16.20.0/24 is a summary, 00:35:06, Null0
> >>C 172.16.20.0/28 is directly connected, Loopback0
> >>O E2 172.16.4.0/24 [110/30] via 172.16.1.1, 00:29:00, Serial0/0
> >>C 172.16.20.16/28 is directly connected, Loopback1
> >>O E2 172.16.5.0/24 [110/30] via 172.16.1.1, 00:29:00, Serial0/0
> >>O E2 172.16.6.0/24 [110/30] via 172.16.1.1, 00:29:00, Serial0/0
> >>O E2 172.16.7.0/24 [110/30] via 172.16.1.1, 00:29:00, Serial0/0
> >>C 172.16.1.0/30 is directly connected, Serial0/0
> >>R3#
> >>R3#ping 172.16.6.1
> >>
> >>Type escape sequence to abort.
> >>Sending 5, 100-byte ICMP Echos to 172.16.6.1, timeout is 2 seconds:
> >>.....
> >>Success rate is 0 percent (0/5)
> >>R3#
> >>
> >>Thanks in adv.
> >>
> >>JP



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:55 GMT-3