Simple redistribution question

From: Holmes Holmes (iamholmes@gmail.com)
Date: Thu Sep 22 2005 - 11:09:08 GMT-3


Hi all -

This is with reference to Doyle's Vol 1, pg 592. I've included details (a
diagram, config and
routing tables) at the end of this mail. Now what I don't understand is, why
does
Bumble have the following route :

R 192.168.1.0/24 <http://192.168.1.0/24> [120/1] via
192.168.2.2<http://192.168.2.2>
,

Since we have done mutual redistribution, shouldn't we have an 'O E2' route
(as in fact Grimwig has), instead of this R route ? My logic being, that
since we have
done mutual redistribution, there is both an OSPF and a RIP route to
192.168.1.0 <http://192.168.1.0>.
(We have a /24 route throughout this network). Since longest prefix doesn't
come
into the picture, shouldn't the lower AD OSPF
192.168.1.0<http://192.168.1.0>route be the preferred route
in the routing table ?

Diagram and relevant details follow :
4.0
Blathers------------Duff
| |
| |
| 3.0 | 5.0
| OSPF |
| |
| |
- -Bumble- - - - -Grimwig- - -
| |
| |
| 2.0 RIP | 6.0
| |
| |
Monks ------------+
|
| 1.0
|

for brevity in the diagram above , x.o = 192.168.x.0

Bumble#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

Gateway of last resort is not set

O 192.168.4.0/24 <http://192.168.4.0/24> [110/20] via
192.168.3.1<http://192.168.3.1>,
00:34:43, Ethernet0/1
O 192.168.5.0/24 <http://192.168.5.0/24> [110/84] via
192.168.3.1<http://192.168.3.1>,
00:34:43, Ethernet0/1
O E2 192.168.6.0/24 <http://192.168.6.0/24> [110/50] via
192.168.3.1<http://192.168.3.1>,
00:34:43, Ethernet0/1
R 192.168.1.0/24 <http://192.168.1.0/24> [120/1] via
192.168.2.2<http://192.168.2.2>,
00:00:11, Ethernet0/0
C 192.168.2.0/24 <http://192.168.2.0/24> is directly connected, Ethernet0/0
C 192.168.3.0/24 <http://192.168.3.0/24> is directly connected, Ethernet0/1
Bumble#
-----------------------------------------------------------------------------
------------------------

Grimwig#sh ip route
Codes: C - connected, S - static, 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

Gateway of last resort is not set

O 192.168.4.0/24 <http://192.168.4.0/24> [110/74] via
192.168.5.1<http://192.168.5.1>,
00:43:14, Serial0
C 192.168.5.0/24 <http://192.168.5.0/24> is directly connected, Serial0
C 192.168.6.0/24 <http://192.168.6.0/24> is directly connected, Ethernet0
O E2 192.168.1.0/24 <http://192.168.1.0/24> [110/50] via
192.168.5.1<http://192.168.5.1>,
00:43:14, Serial0
O E2 192.168.2.0/24 <http://192.168.2.0/24> [110/50] via
192.168.5.1<http://192.168.5.1>,
00:43:14, Serial0
O 192.168.3.0/24 <http://192.168.3.0/24> [110/84] via
192.168.5.1<http://192.168.5.1>,
00:43:14, Serial0
Grimwig#

Many thanks



This archive was generated by hypermail 2.1.4 : Sun Oct 02 2005 - 14:40:16 GMT-3