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

From: Mohamed I. Lubbad (mlubbad@xxxxxxxxxxx)
Date: Wed Mar 06 2002 - 03:21:50 GMT-3


   
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:54 GMT-3