Simple RIP -> OSPF redistribution?

From: Ryan Hoffman (ryan.hoffman@xxxxxxxxx)
Date: Wed Aug 23 2000 - 08:25:43 GMT-3


   
As anyone else seen the same thing I am? r9 sends 192.168.1.0 to r11. r11
won't put it in it's routing table. If I remove the lo0 on r11
(192.168.1.0/25), r11 then accepts this and puts it in it's routing table as
192.168.1.0/24 as expected. I can then readd the l0 on r11 and both routes
for 192.168.1.x stay in r11's routing table. However, when a clear ip route
is done on r11, the /24 disappears. I've added 'network 192.168.1.0' to
r11's 'router rip' but this didn't help. Is there a trick to fixing this,
or must I ensure that subnets of major networks aren't discontiguous with
RIP?

r9 e0---e1 r11

r9
==
interface Loopback0
 ip address 192.168.1.129 255.255.255.128
!
interface Loopback1
 ip address 192.168.0.129 255.255.255.128
!
interface Ethernet0
 ip address 192.168.0.1 255.255.255.128
!
router rip
 network 192.168.0.0
 network 192.168.1.0

r11
===
interface Loopback0
 ip address 192.168.1.1 255.255.255.128
!
interface Ethernet0
 ip address 192.168.2.1 255.255.255.128
 media-type 10BaseT
!
interface Ethernet1
 ip address 192.168.0.2 255.255.255.128
 media-type 10BaseT
!
router ospf 1
 redistribute rip subnets
 network 192.168.2.0 0.0.0.127 area 0
!
router rip
 network 192.168.0.0

r11#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, * - candidate
default
       U - per-user static route, o - ODR

Gateway of last resort is not set

     192.168.0.0/25 is subnetted, 2 subnets
C 192.168.0.0 is directly connected, Ethernet1
R 192.168.0.128 [120/1] via 192.168.0.1, 00:00:15, Ethernet1
     192.168.1.0/25 is subnetted, 1 subnets
C 192.168.1.0 is directly connected, Loopback0
     192.168.2.0/25 is subnetted, 1 subnets
C 192.168.2.0 is directly connected, Ethernet0
r11#debug rip
*Mar 1 16:06:16: RIP: received v1 update from 192.168.0.1 on Ethernet1
*Mar 1 16:06:16: 192.168.0.128 in 1 hops
*Mar 1 16:06:16: 192.168.1.0 in 1 hops



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:29 GMT-3