Hi,
Got a doubt regarding, how router selects a particular
route from the routing table. I have a route to 192.168.16.192/26
through 192.168.15.130 and 192.168.15.134. If a packet
comes with the destination address as 192.168.16.1, what will
happen ??. I think, since I have subnet zero possible, 192.168.16.1
will fall into 192.168.16.0/26 network and will use the
above mentioned route. But it is using the default route ???
Any idea ??..or is that I am missing something very basic ??
logs are attached.
Appreciate your comments
Joseph
R1#sh ip route
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 192.168.0.66 to network 0.0.0.0
192.168.15.0/30 is subnetted, 2 subnets
C 192.168.15.132 is directly connected, Serial3/0
C 192.168.15.128 is directly connected, Serial2/0
O E2 20.0.0.0/8 [110/30] via 192.168.0.66, 02:35:56, Ethernet1/0
192.168.0.0/26 is subnetted, 2 subnets
C 192.168.0.64 is directly connected, Ethernet1/0
C 192.168.0.128 is directly connected, Ethernet0/0
192.168.16.0/26 is subnetted, 1 subnets
D 192.168.16.192 [90/2195456] via 192.168.15.130, 00:04:05, Serial2/0
[90/2195456] via 192.168.15.134, 00:04:05, Serial3/0
O192.168.1.0/24 [110/20] via 192.168.0.130, 02:35:56, Ethernet0/0
[110/20] via 192.168.0.66, 02:35:56, Ethernet1/0
S* 0.0.0.0/0 [1/0] via 192.168.0.66
R1#
R1#
R1#
R1#deb ip pa
IP packet debugging is on
R1#
R1#ping 192.168.16.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.16.1, timeout is 2 seconds:
U
*May 30 07:34:15.475: ICMP: dst (192.168.0.65) host unreachable rcv from
192.168.0.66.U
*May 30 07:34:17.515: ICMP: dst (192.168.0.65) host unreachable rcv from
192.168.0.66.U
Success rate is 0 percent (0/5)
R1#
*May 30 07:34:19.555: ICMP: dst (192.168.0.65) host unreachable rcv from
192.168.0.66
R1#
R1#
R1#
R1#sh run | inc sub
ip subnet-zero
R1#
R1#
R1#sh run | inc cl
clock timezone IST 5 30
ip classless
R1#
R1#
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=45490&t=45490
--
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]