From: san (san.study@gmail.com)
Date: Sun May 01 2005 - 00:13:47 GMT-3
Hi,
Can some one clarify me with the operation of "default-information
originate" with RIP. I see two different behaviour. Can you say how
its supposed to behave.
R8-----ospf-------R2-----RIP V2 -------R4------
router rip
network R1-R2-n/w
default-information originate
1. It will originate the default routes to RIP neighbor, if its
present in rip database only ? (by means of other neighbors or
redistributed from other protocols ? )
2. If the above case is correct, default route learnt via OSPF on the
same router cannot be redistributed to rip neighbor ? Is this correct
?
3. Does it differ in case of V1 & V2 ?
4. My observations, not sure whats the difference. Below is what i
think might be the difference to update or not to the neighbor. May
be there could be someother factor too which i dont know. Shed me
some light. I can get the debugs upon request.
Instance 1:
-------------
Assumes R2's database shows as the below, (R8 sends default
infomation , R2 learns as O E2). Then in this case, R4 receives the
default route from R2 irrespective of whether
default-information-originate is used or not.
R2:
---- R2#sh ip rip data 0.0.0.0/0 auto-summary 0.0.0.0/0 redistributed [2] via 8.8.8.8, <<<<<<<<<<<<< Via or Nexthop is "non-0.0.0.0."R2#sh ip route (partial) O*E2 0.0.0.0/0 [110/1] via 110.50.13.58, 02:12:49, Ethernet0/0 R2#
R2#b router router ospf 100 router-id 2.2.2.2 log-adjacency-changes area 10 virtual-link 1.1.1.1 redistribute rip metric 5 subnets network 21.21.21.0 0.0.0.255 area 10 network 110.50.13.48 0.0.0.15 area 20 default-information originate ! router rip version 2 redistribute ospf 100 metric 2 passive-interface default no passive-interface Serial1/0 network 110.0.0.0 default-information originate distance 100 0.0.0.0 255.255.255.0 22 no auto-summary !
Instance 2: --------------- Assume R6's RIP database show as below. Then in this case, R6 does not send the default route in rip routing updates irrespective of whether default-information originate is used or not. ((similar behaviour from R6..Failure case))
R6#sh ip rip data 0.0.0.0/0 auto-summary 0.0.0.0/0 redistributed [0] via 0.0.0.0, <<<<<<<<<<<<<<< Via is 0.0.0.0
router ospf 100 router-id 6.6.6.6 log-adjacency-changes redistribute rip metric 5 subnets route-map rip-to-ospf network 16.16.16.0 0.0.0.255 area 0 network 110.50.31.0 0.0.0.255 area 0 ! router rip version 2 redistribute ospf 100 metric 1 route-map ospf-to-rip passive-interface default no passive-interface Ethernet0/0 network 110.0.0.0 default-information originate no auto-summary ! R6#sir 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 110.50.31.1 to network 0.0.0.0
16.0.0.0/8 is variably subnetted, 2 subnets, 2 masks O E2 16.0.0.0/8 [110/5] via 110.50.31.1, 02:09:06, Serial0/0 C 16.16.16.0/24 is directly connected, Loopback1 18.0.0.0/8 is variably subnetted, 2 subnets, 2 masks O IA 18.18.18.18/32 [110/11186] via 110.50.31.1, 02:09:06, Serial0/0 O E2 18.0.0.0/8 [110/5] via 110.50.31.1, 02:09:06, Serial0/0 21.0.0.0/32 is subnetted, 2 subnets O IA 21.21.21.1 [110/64] via 110.50.31.1, 02:09:06, Serial0/0 O IA 21.21.21.2 [110/11175] via 110.50.31.1, 02:09:07, Serial0/0 110.0.0.0/8 is variably subnetted, 7 subnets, 3 masks O E2 110.50.13.80/29 [110/5] via 110.50.31.1, 02:09:07, Serial0/0 C 110.50.13.64/28 is directly connected, Ethernet0/0 C 110.50.31.0/24 is directly connected, Serial0/0 O IA 110.50.13.48/28 [110/11185] via 110.50.31.1, 02:09:09, Serial0/0 C 110.50.46.0/24 is directly connected, BRI0/0 O E2 110.50.32.0/24 [110/5] via 110.50.31.1, 02:09:09, Serial0/0 O E2 110.50.33.0/24 [110/5] via 110.50.31.1, 02:09:09, Serial0/0 144.144.0.0/16 is variably subnetted, 2 subnets, 2 masks O E2 144.144.0.0/16 [110/5] via 110.50.31.1, 02:09:09, Serial0/0 O E2 144.144.144.0/24 [110/5] via 110.50.31.1, 02:09:09, Serial0/0 13.0.0.0/8 is variably subnetted, 2 subnets, 2 masks O E2 13.12.0.0/14 [110/10] via 110.50.31.1, 02:09:09, Serial0/0 O E2 13.0.0.0/8 [110/5] via 110.50.31.1, 02:09:09, Serial0/0 14.0.0.0/8 is variably subnetted, 2 subnets, 2 masks O E2 14.14.14.0/24 [110/5] via 110.50.31.1, 02:09:09, Serial0/0 O E2 14.0.0.0/8 [110/5] via 110.50.31.1, 02:09:09, Serial0/0 15.0.0.0/8 is variably subnetted, 2 subnets, 2 masks O E2 15.0.0.0/8 [110/5] via 110.50.31.1, 02:09:09, Serial0/0 R 15.15.15.0/24 [120/1] via 110.50.13.75, 00:00:27, Ethernet0/0 O*E2 0.0.0.0/0 [110/1] via 110.50.31.1, 02:09:10, Serial0/0 R6#
Thanks in Advance /SAN
This archive was generated by hypermail 2.1.4 : Fri Jun 03 2005 - 10:11:56 GMT-3