RIPv2 summary-address problem.

From: Phuong Nguyen Van (nvanphuong@gmail.com)
Date: Mon Apr 23 2007 - 08:55:04 ART


Hi GS,
I have problem with summary-address in RIPv2. I have 2 scenarios here:

*[1]*

My topology: R1 (f0/0) connect directly to R2 (Fa0/0), 2 routers run only
RIPv2 (send & receive) with no auto-summary.
I want to summary all loopback addresses on R1 in to one entry and
advertises it to R2; so, my configuration like this:
**
*R1*
!
*interface Loopback1
 ip address 172.1.0.1 255.255.255.0
!
interface Loopback2
 ip address 172.1.1.1 255.255.255.0
!
interface Loopback3
 ip address 172.1.2.1 255.255.255.0
!
interface Loopback4
 ip address 172.1.3.1 255.255.255.0
!
interface FastEthernet0/0
 description To R2
 ip address 150.50.17.1 255.255.255.0
 no ip split-horizon
 ip summary-address rip 172.1.0.0 255.255.252.0
!
router rip
 version 2
 network 150.50.0.0
 network 172.1.0.0
 no auto-summary
! *
------------------------------
*R2
**!
interface FastEthernet0/0
 description To R1
 ip address 150.50.17.2 255.255.255.0
!
!
router rip
 version 2
 network 150.50.0.0
 no auto-summary
!*

On R1:
R1#sh ip rip database
...
150.50.17.0/24 directly connected, FastEthernet0/0
172.1.0.0/16 auto-summary
*172.1.0.0/22 int-summary*
172.1.0.0/24 directly connected, Loopback1
172.1.1.0/24 directly connected, Loopback2
172.1.2.0/24 directly connected, Loopback3
172.1.3.0/24 directly connected, Loopback4
 ...
R1#debug ip rip database
RIP database events debugging is on
R1#
*Mar 1 01:53:37.279: *RIP-ERROR: summary route 172.1.0.0/22 not in routing
table.*

-> The result is: R1 doesn't advertise the summary-address to R2; what is
the problem here? What are mistakes in this configuration?

[2]

The topology like in [1]. I don't use command ip summary-address anymore, I
add a route entry to null0.
**
*R1*
*!
interface FastEthernet0/0
 description To R2
 ip address 150.50.17.1 255.255.255.0
! *
*router rip
 version 2
 network 150.50.0.0
 network 172.1.0.0
 no auto-summary
! *
 *ip route 172.1.0.0 255.255.252.0 null0*
------------------------------
*R2
**!
interface FastEthernet0/0
 description To R1
 ip address 150.50.17.2 255.255.255.0
!
router rip
 version 2
 network 150.50.0.0
 no auto-summary
!*
**
-The result is: R2 has route 172.1.0.0/22 in routing table

R2# sh ip route rip
     172.1.0.0/22 is subnetted, 1 subnets
*R 172.1.0.0 [120/1] via 150.50.17.1, 00:00:21, FastEthernet0/0*

--> As I know the *network *command in RIP is to enable RIP on interfaces.
What should I understand in this scenario?

Can anyone help me? Thanks in advance.
Phuong



This archive was generated by hypermail 2.1.4 : Tue May 01 2007 - 08:28:37 ART