Re: RIP distribute-list prefix

From: Pierre-Alex GUANEL (paguanel@hotmail.com)
Date: Sun Oct 22 2006 - 02:54:28 ART


If you cannot use auto-summary or ip summary-address then I would summurize
in the protocol that exists between R1 and R2 whatever that is , then
redistribute the summary on R2 in RIP so that R3 can get it.

Here is your case scenario using OSPF.

===================
 Please note that I have changed the name of the routers.
==================

lo0---R2------10.2.4.0/24-----R4--------212.4.6.0/24------R6

OSPF 0 is running between R2 and R4.
RIP is running between R4 and R6

I have NOT put lo0 in the OSPF process.

Here is the configurations:

!r2

int lo 0
ip addr 10.255.255.255.2 255.255.255.255

router ospf 100
router-id 150.1.2.2
!
passive default
no passive fa 0/0
network 10.2.4.0 0.0.0.255 area 0
!
redistribute connected route-map lo0
!
summary-address 10.0.0.0 255.0.0.0
!

route-map lo0 permit 10
match int lo 0

!r4

router rip
version 2
!
passive default
no passive e 0/1
network 212.4.6.0
!
no auto
!
distribute-list 1 out ! this is necessary so that R4 does not send via RIP
its connected interface e0/0

!
access-list 1 permit 10.0.0.0

!

router rip
redistribute ospf 100 metric 1!r4

R4#debug ip rip

R4#
*Mar 1 02:04:14.724: RIP: sending v2 update to 224.0.0.9 via Ethernet0/1
(212.4.6.4)
*Mar 1 02:04:14.724: RIP: build update entries
*Mar 1 02:04:14.724: 10.0.0.0/8 via 0.0.0.0, metric 1, tag 0

r6#
r6#sh ip route rip
R 10.0.0.0/8 [120/1] via 212.4.6.4, 00:00:07, Ethernet0/1 ! only 1 update
is sent which is the summary desired

Pierre-Alex

----- Original Message -----
From: "Liu_Liao" <liu_liao@yahoo.com.tw>
To: "WorkerBee" <ciscobee@gmail.com>
Cc: <ccielab@groupstudy.com>
Sent: Saturday, October 21, 2006 5:52 PM
Subject: Re: RIP distribute-list prefix

> Hi All
> If I don't want use auto-summary or ip summary-address?
> How to do
>
> Tks!
>
>
> WorkerBee fe0:
>
> > You should use the interface command to do RIP summarization:
> >
> > interface E0/0
> > ip summary-address rip 172.16.0.0 255.255.0.0
> >
> >
> >
> > On 10/21/06, liu_liao@yahoo.com.tw <liu_liao@yahoo.com.tw> wrote:
> >
> >> Hi All
> >> I want update one classB to R3 by the RIP.
> >> R1 <--> R2 (RIP version2)
> >> router rip
> >> version 2
> >> network 192.168.100.0
> >> distribute-list prefix only_classB_2_R2 out Ethernet0/0
> >> no auto-summary
> >> !
> >> ip prefix-list only_classB_2_R2 seq 10 permit 172.16.0.0/16
> >>
> >> I can't see any rip update on R2,but I remove the distribute-list
> >> then the rip update ok.
> >>
> >> Debug messages
> >> 04:33:50: RIP: sending update with long TTL
> >> 04:33:50: RIP: sending v2 update to 192.168.100.254 via Ethernet0/0
> >> (192.168.100.1)
> >> 04:33:50: RIP: build update entries - suppressing null update
> >>
> >> _______________________________________________________________________
> >> Subscription information may be found at:
> >> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Wed Nov 01 2006 - 07:29:06 ART