Re: redistribution clarification

From: Nick (seajay76@nate.com)
Date: Sat Jan 21 2006 - 00:27:43 GMT-3


Hi!!

Here is the test configuration.

## R1 ##
router eigrp 10
 network 12.12.12.1 0.0.0.0
 network 1.1.1.1 0.0.0.0

## R2 ##
int loo0
 ip add 2.2.2.2 255.255.255.0
!
router eigrp 10
 network 12.12.12.2 0.0.0.0
!
router ospf 10
 red con metric-type type-2
 red eigrp 10 metric-type type-1
 network 23.23.23.2 0.0.0.0 area 0

## R3 ##
router ospf 10
 network 23.23.23.3 0.0.0.0 area 0

When seen from R3, the RT should look like this.

R3#sh ip route
........
O E2 12.12.12.024
O E2 2.2.2.0/24

So, you might think add a route-map to the redistribute command,

so that it can redistribute only certain interfaces. Like this...

router ospf 10
 red con metric-type type-2 route-map LOOPBACK_ONLY
 red eigrp 10 metric-type type-1
 network 23.23.23.2 0.0.0.0 area 0
!
route-map LOOPBACK_ONLY permit 10
 match interface loopback0

However if this is done, RT on R3 will look like this.

R3#sh ip route
........
O E2 2.2.2.0/24
........

The 12.12.12.0/24 is missing!!!

This is because the route-map dropped the 12.12.12.0/24 from the redistribute mini process

under the OSPF main process.(refer to the process order above.)

The reason is the order of processing.

[OSPF MAIN PROCESS]

 (1) NETWORK mini process(network command)

 (2) REDISTRIBUTION mini process(redistribution command)
     a. connected network(if dropped here, it's not considered in b.)
     b. other routing protocol

Doesn't it look like a route-map structure? :)

HTH, Ajaz

Nick

----- Original Message -----
From: "ajaz nawaz" <ajaz.nawaz@gmail.com>
To: "Cisco certification" <ccielab@groupstudy.com>
Sent: Saturday, January 21, 2006 4:16 AM
Subject: redistribution clarification

> r1-----eigrp------r2-------ospf----------r3
>
> why does r2 redistribute a connected link from it's RT into ospf when being
> told just to redistribute eigrp?
> you can see external ospf route on r3 for the r1-r2 connected network. I was
> always under the impression that any redistribution information is taken
> from the RT.
>
> tia
> --
> Ajaz Nawaz
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Wed Feb 01 2006 - 07:45:50 GMT-3