RE: Redistribute ospf1-> ospf2->rip

From: Bill Hill (bhill@xxxxxxxxxx)
Date: Wed Jan 09 2002 - 19:29:47 GMT-3


   
Not sure if you have Bruce Caslow's book but this exact problem is in one of hi
s spot the issues. Chapter 12 number 1.

Here it is....

A router is running RIP and OSPF. Both routing protocols are using 172.16.0.0
address space. The router also has twp 172.16.0.0 subnets connected. RIP redi
stribution did not inject the routes into OSPF. Redistribute connected injecte
d them in. Why?

Answer...

Even though the two directly-connected subnets are defined as RIP subnets, they
 are listed as connected subnets on the router. Therefore, redistribute connec
ted must be used to redistribute the routes into OSPF.

HTH.
-Bill

-----Original Message-----
From: Jeongwoo Park [mailto:Jpark@wams.com]
Sent: Wednesday, January 09, 2002 5:28 AM
To: 'ccielab@groupstudy.com'
Cc: 'scfeldberg@hotmail.com'
Subject: Redistribute ospf1-> ospf2->rip

Hi all
Here is the scenario.
                                 Loopbacks
R1(e0)-----------(e0)R2------172.16.1.1/28
                                    172.16.1.17/28
                                    172.16.1.33/28
What I want to do is ultimately to redistribute these three loopback
networks into rip.
R2 is ASBR running ospf and rip. R1 is running only rip.
As the people on this list recommended, I first created ospf 2 and
redistributed ospf 1 into ospf 2. And during this redistribution from ospf2
to ospf1, I summarized three loopback networks to the classful address (
172.16.0.0/16) And I redistributed ospf 2 into rip.
NOT WORKING :-(
Here is my config
R2;
!
!
!
interface Loopback1
 ip address 172.16.1.1 255.255.255.240
!
interface Loopback2
 ip address 172.16.1.17 255.255.255.240
!
interface Loopback3
 ip address 172.16.1.33 255.255.255.240
!
router ospf 1
 log-adjacency-changes
 redistribute rip
 network 172.16.0.0 0.0.255.255 area 0
!
router ospf 2
 log-adjacency-changes
 summary-address 172.16.0.0 255.255.0.0
 redistribute ospf 1
!
router rip
 redistribute ospf 2
 network 192.168.1.0
!
ip route 172.16.0.0 255.255.0.0 Null0
no ip http server
!
!
line con 0
 password 7 120E0333
 login
 transport input none
line vty 0 4
 exec-timeout 0 0
 password 7 xxxxxx
 login
!
end

R1;
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable secret 5 $1$ZMs8$bNzuexNNx77K24cGqgx6B0
!
!
!
!
!
!
ip subnet-zero
!
ip name-server 192.168.1.6
no ip finger
isdn switch-type basic-ni
!
!
!
interface Loopback1
 ip address 192.168.3.20 255.255.255.0
!
interface Ethernet0
 ip address 192.168.1.249 255.255.255.0
!
!
router rip
 network 192.168.1.0
 network 192.168.3.0
!
ip http server
ip classless
!
!
line con 0
 password xxx
 transport input none
 stopbits 1
line vty 0 4
 exec-timeout 0 0
 password xxx
 login
!
end

R1's routing table;
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 not set

C 192.168.1.0/24 is directly connected, Ethernet0
C 192.168.3.0/24 is directly connected, Loopback1

As you can see, those three loopbacks didn't show up in this routing table,
which means it is not working.

Can anyone point out what is wrong?
I will appreciate your reply.

JP



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