Sending default route in IGRP for subnets

From: Ng, Kim Seng David (David) (ksng@xxxxxxxxx)
Date: Tue Feb 05 2002 - 11:30:01 GMT-3


   
                        OSPF IGRP
        R1---------------------R2------------------------R3
                172.16.1.0/24 172.16.20.0/24

Hi Group,

        Need your help for the above config....

Objective: To advertise a IGRP default route from R2 into R3 to get to
destination networks in R1

Routing table for R2:

Gateway of last resort is 172.16.1.2 to network 172.16.0.0

 * 172.16.0.0/16 is variably subnetted, 13 subnets, 5 masks
C 172.16.3.192/26 is directly connected, Loopback4
O 172.16.10.17/32 [110/65] via 172.16.1.2, 00:16:55, Serial0
C 172.16.20.0/24 is directly connected, Serial1
I 172.16.21.0/24 [100/8576] via 172.16.20.2, 00:01:13, Serial1
I 172.16.22.0/24 [100/8976] via 172.16.20.2, 00:01:13, Serial1
O 172.16.10.24/29 [110/74] via 172.16.1.2, 00:16:55, Serial0
C 172.16.4.0/26 is directly connected, Loopback1
S* 172.16.0.0/16 [1/0] via 172.16.1.2
C 172.16.1.0/24 is directly connected, Serial0
O 172.16.3.1/32 [110/65] via 172.16.1.2, 00:16:56, Serial0
C 172.16.2.0/24 is directly connected, Loopback0
C 172.16.10.8/29 is directly connected, Ethernet0
O 172.16.4.65/32 [110/65] via 172.16.1.2, 00:16:56, Serial0

Routing table for R3:

Gateway of last resort is not set

     172.16.0.0/16 is subnetted, 5 subnets
C 172.16.20.0 is directly connected, Serial0
C 172.16.21.0 is directly connected, Ethernet0
C 172.16.22.0 is directly connected, Loopback0
I 172.16.1.0 [100/10476] via 172.16.20.1, 00:00:49, Serial0
I 172.16.2.0 [100/8976] via 172.16.20.1, 00:00:49, Serial0

As you can see, I have created a default route on R2 but somehow this
default route is not injected by R2 to R3. Therefore, R3 does not know
how to get to R1 networks. I did a "debug ip igrp transaction" on R2 and
R3 and verified that the default route was never advertised by R2 to R3.
I had ip classless enable on R2 and R3.

The following is part of R2 config:

router ospf 1
 redistribute igrp 100 subnets
 network 172.16.1.0 0.0.0.255 area 0
 network 172.16.2.0 0.0.0.255 area 0
 network 172.16.4.0 0.0.0.63 area 0
 network 172.16.10.8 0.0.0.7 area 0
!
router igrp 100
 redistribute static
 redistribute ospf 1
 passive-interface Ethernet0
 passive-interface Loopback0
 passive-interface Loopback1
 passive-interface Serial0
 network 172.16.0.0
 default-metric 9600 0 255 1 1500
!
ip classless
ip default-network 172.16.0.0
ip route 172.16.0.0 255.255.0.0 172.16.1.2

Is it something to do with 'ip default-network' having the same classful
network as the igrp 'network' command??

Thanks in advance
David



This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 13:46:12 GMT-3