Re: RIP OSPF mutual redistribution

From: xander (xander@xxxxxx)
Date: Wed Apr 11 2001 - 16:15:41 GMT-3


   
Hello Alejandro,

You need to add metric value to your classfull routing process with
which they will be redistributed from classless process.

So. There are two ways doing it properly.
1) Use 'default-metric ...'
2) Use 'metric' parameter for 'redistribute' command

for instance:

router rip
redistribute ospf 1 metric 5

OR

router igrp
default-metric 10 100 255 1 1500
redistribute ospf 1

AC> Hi,

AC> I have two routers connected through a serial interface, I call them
AC> 1750LAB and 3600

AC> The 1750LAB is running OSPF and RIP, it has many routes learned from
AC> other OSPF routers and even external routes from other ASBR.

AC> Well between 1750LAB and 3600 I configured RIP, v1. they share a subnet
AC> from 172.16.0.0, 172.16.36.0/24.

AC> I expected that 3600 would receive routes to all subnets from the same
AC> mayor network with mask 24, but the 1750 LAB only send in the RIP updates
AC> those networks directly connected to it or from the other router which is
AC> connected to it through a subnet with a mask 24. anybody knows why?

AC> Above I put the show ip Route for the two Routers and the relevant
AC> configuration:

AC> 1750LAB#

AC> interface Serial1
AC> ip address 172.16.36.1 255.255.255.0
AC> no ip directed-broadcast
AC> clockrate 128000
AC> !
AC> router ospf 1
AC> summary-address 172.16.25.0 255.255.255.0
AC> summary-address 172.16.17.0 255.255.255.0
AC> redistribute rip subnets
AC> network 172.16.2.1 0.0.0.0 area 2
AC> network 172.16.17.1 0.0.0.0 area 0
AC> network 172.16.22.1 0.0.0.0 area 0
AC> network 172.16.25.1 0.0.0.0 area 0
AC> network 192.168.17.0 0.0.0.255 area 2
AC> neighbor 172.16.25.2 priority 1
AC> default-metric 25
AC> area 0 authentication message-digest
AC> area 2 virtual-link 172.16.21.1 message-digest-key 1 md5 virtual
AC> !
AC> router rip
AC> redistribute ospf 1
AC> passive-interface Async5
AC> passive-interface Dialer0
AC> passive-interface FastEthernet0
AC> passive-interface Serial0
AC> network 172.16.0.0
AC> distance 100

AC> 1750LAB#sh ip ro

AC> 172.16.0.0/16 is variably subnetted, 12 subnets, 3 masks
AC> C 172.16.36.0/24 is directly connected, Serial1
AC> O 172.16.25.0/24 is a summary, 04:19:25, Null0
AC> C 172.16.25.0/25 is directly connected, Serial0
AC> O E2 172.16.26.0/24 [110/25] via 172.16.25.2, 04:19:51, Serial0
AC> O E2 172.16.27.0/24 [110/25] via 172.16.25.2, 04:19:51, Serial0
AC> O IA 172.16.21.0/24 [110/2] via 192.168.17.3, 04:19:51, FastEthernet0
AC> C 172.16.22.0/24 is directly connected, Loopback0
AC> O 172.16.17.0/24 is a summary, 04:19:25, Null0
AC> C 172.16.17.0/29 is directly connected, Dialer0
AC> O IA 172.16.5.0/24 [110/782] via 172.16.25.2, 04:19:51, Serial0
AC> R 172.16.6.0/24 [100/1] via 172.16.36.3, 00:00:22, Serial1
AC> C 172.16.2.0/24 is directly connected, FastEthernet0
AC> C 192.168.17.0/24 is directly connected, FastEthernet0

AC> 3600#
AC> interface Serial0/0
AC> ip address 172.16.36.3 255.255.255.0
AC> no ip directed-broadcast
AC> no ip mroute-cache
AC> no fair-queue
AC> !
AC> router rip
AC> network 172.16.0.0

AC> 3600#sh ip ro

AC> Gateway of last resort is not set

AC> 172.16.0.0/24 is subnetted, 4 subnets
AC> C 172.16.36.0 is directly connected, Serial0/0
AC> R 172.16.22.0 [120/1] via 172.16.36.1, 00:00:03, Serial0/0
AC> C 172.16.6.0 is directly connected, Loopback0
AC> R 172.16.2.0 [120/1] via 172.16.36.1, 00:00:03, Serial0/0

AC> Also I have checked with the command show ip protocols and everithing
AC> seems OK_

AC> 1750LAB#sh ip pro
AC> Routing Protocol is "ospf 1"
AC> Sending updates every 0 seconds
AC> Invalid after 0 seconds, hold down 0, flushed after 0
AC> Outgoing update filter list for all interfaces is
AC> Incoming update filter list for all interfaces is
AC> Default redistribution metric is 25
AC> Redistributing: ospf 1, rip
AC> Address Summarization:
AC> Routing for Networks:
AC> 172.16.2.1/32
AC> 172.16.17.1/32
AC> 172.16.22.1/32
AC> 172.16.25.1/32
AC> 192.168.17.0
AC> Routing Information Sources:
AC> Gateway Distance Last Update
AC> (this router) 110 04:22:41
AC> 172.16.21.1 110 04:23:07
AC> 172.16.5.1 110 04:23:07
AC> Distance: (default is 110)

AC> Routing Protocol is "rip"
AC> Sending updates every 30 seconds, next due in 21 seconds
AC> Invalid after 180 seconds, hold down 180, flushed after 240
AC> Outgoing update filter list for all interfaces is
AC> Incoming update filter list for all interfaces is
AC> Redistributing: ospf 1 (internal, external 1, external 2)

AC> Redistributing: rip
AC> Default version control: send version 1, receive any version
AC> Interface Send Recv Triggered RIP Key-chain
AC> Loopback0 1 1 2
AC> Serial1 1 1 2
AC> Routing for Networks:
AC> 172.16.0.0
AC> Passive Interface(s):
AC> Async5
AC> Dialer0
AC> FastEthernet0
AC> Passive Interface(s):
AC> Serial0
AC> Routing Information Sources:
AC> Gateway Distance Last Update
AC> 172.16.36.3 100 00:00:01
AC> Distance: (default is 100)

AC> Any Ideas?

AC> Regards Alejandro

--
 WBW, xander
 mailto:xander@adt.ru
 CCNA, CCNP+VoiceAccess, CCIE very soon :-)

...



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