RE: Classfull rip takes too many interfaces

From: JOSE ANGEL MARTINEZ DE LA VARA (jamartinez@xxxxxxxxxxxxxxxx)
Date: Fri Feb 01 2002 - 08:19:49 GMT-3


   
I have received many suggestions in this list, and after all perhaps I'm
looking for something too tricky. I appologize to you Rick because of
sending the answers to all questions from our list-mates but there are too
many and do not want to send 10 emails to the list at the same time.

I see that routes can bee filtered out with 'no auto-summary', passive
interfaces and a distribute-list out in the right interface. But I cannot do
that if I want to allow the redistributed routes to be advertised when
needed.

I like the solution of adding another ospf process to redistribute only the
right subnetwork into rip but I think there is a problem. If you put no
network statement in router rip conf mode then no interfaces will be
included and no advertisements will be sent (don't know if you can add a
neighbor statement without network).

I had a look at rfc#1723 (RIPv2) but I don't know what you want me to see.

I'll try to mix ripv2 and version 1 announcements. If someone knows how to
filter route updates out an interface with route-maps, please tell me how.

Many thanks

Jose Angel

-----Mensaje original-----
De: Bauer, Rick [mailto:BAUERR@toysrus.com]
Enviado el: jueves, 31 de enero de 2002 18:02
Para: 'JOSE ANGEL MARTINEZ DE LA VARA'; 'ccielab@groupstudy.com'
Asunto: RE: Classfull rip takes too many interfaces

Try no auto-summary and an access list to block rip updates going out the
interfaces or redistributer connected with a route-map permitting only the
interfaces you want.

-----Original Message-----
From: JOSE ANGEL MARTINEZ DE LA VARA
[mailto:jamartinez@landata.payma.es]
Sent: Thursday, January 31, 2002 11:34 AM
To: 'Richard Wheat'
Cc: 'ccielab@groupstudy.com'
Subject: RE: Classfull rip takes too many interfaces

Yes, I appologize. I'm spanish and its rather dificult for me to explain
these things in english. I'll try again.

Because of the nature of rip v1 as a classfull protocol, when we enter a
network command it just remmembers the major network. That means if we enter
'network 10.0.1.0' it shows in the running config 'network 10.0.0.0' and the
router runs rip on every interface with ip address under the major network.
It means that rip will run on the interface with ip address of 10.0.1.1
(that falls into the network of the original rip network statement) AND rip
will run on the interfaces with ip of 10.0.0.1 and 10.0.2.1.

In other words, rip runs on every interface with ip falling into the major
network, not just the one you want to run it on. How can I avoid that? I
cannot use rip version 2 because version 1 is a requirement. I cannot use
passive interfaces on the interfaces I do not want to participate in rip and
distribute-list out int the right interface to take those networks out
because I have to permit those networks being advertised if learnt from a
neightbor (or redistributed from another routing process).

The only way I think it could be done is using route-maps so I can filter
route advertisements based on the originator of the route being the rip
process or not.

Hope that cleans up this mess.

Thanks

Jose Angel

-----Mensaje original-----
De: Richard Wheat [mailto:rwheat@ami.com.au]
Enviado el: jueves, 31 de enero de 2002 17:17
Para: JOSE ANGEL MARTINEZ DE LA VARA
Cc: ccielab@groupstudy.com
Asunto: Re: Classfull rip takes too many interfaces

I cannot see a way to do what you ask, except to use rip v2. Can you
explain a
little more about the requirements? Why do you need all the routes to be
advertised by RIP but with different metrics? I take it you can't just use
an
offset-list?

Richard.

JOSE ANGEL MARTINEZ DE LA VARA wrote:

> I do not want to filter the networks coming from ospf into rip. My problem
> is that rip includes eth1 and eth0 in the process because of the network
> statement converted into classfull and it shouldn't.
>
> Perhaps it could be easier to explain if we forget about ospf. Just use
the
> code in my first email and remove the redistribution and ospf:
>
> interface ethernet 0
> ip address 10.0.0.1 255.255.255.0
> !
> interface ethernet 1
> ip address 10.0.1.1 255.255.255.0
> !
> interface ethernet 2
> ip address 10.0.2.1 255.255.255.0
> !
> router rip
> passive-interface default
> no passive-interface ethernet 2
> network 10.0.2.0
> !
>
> With this I get advertisements on eth2 that include the networks on all
> ethernet interfaces (all of them, not just the major network). And I do
not
> this to happen and cannot filter with distribute-list out and an
access-list
> because I want to remove those networks from the rip process itself but
not
> the posibility to advertise them when redistributed from another protocol.
>
> Any other suggestion?
>
> Or even simpler: How can I filter routing updates (not redistribution)
with
> route-maps?
>
> Many thanks
>
> Jose Angel
>
> -----Mensaje original-----
> De: Jim Newton [mailto:jnewton@InternetNOC.com]
> Enviado el: jueves, 31 de enero de 2002 15:44
> Para: JOSE ANGEL MARTINEZ DE LA VARA; ccielab@groupstudy.com
> Asunto: RE: Classfull rip takes too many interfaces
>
> Use a route-map on the redistribution that only allows the network that
you
> want from rip to be redistributed.
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
JOSE
> ANGEL MARTINEZ DE LA VARA
> Sent: Thursday, January 31, 2002 8:22 AM
> To: 'ccielab@groupstudy.com'
> Subject: Classfull rip takes too many interfaces
>
> Hi,
>
> Perhaps this look too simple, but I would really thank you if you spend a
> little of your expensive time with me. Thanks in advance.
>
> I enter the following code on my router:
>
> interface ethernet 0
> ip address 10.0.0.1 255.255.255.0
> !
> interface ethernet 1
> ip address 10.0.1.1 255.255.255.0
> !
> interface ethernet 2
> ip address 10.0.2.1 255.255.255.0
> !
> router ospf 1
> network 10.0.0.0 0.0.0.255 area 0
> network 10.0.1.0 0.0.0.255 area 1
> !
> router rip
> passive-interface default
> no passive-interface ethernet 2
> network 10.0.2.0
> redistribute ospf 1 metric 3
> !
>
> What I get doing this is a rip process advertising all three subnets as
rip
> learnt and metric of 1. What I want is a rip advertisement with one rip
> route (metric 1) and the two others as redistributed into from ospf
(metric
> 3). I can see the diference because at the other end of ethernet 2 there
is
> another router that shows all three networks with a hop count of 1 instead
> of 3 (the metric used while redistributing).
>
> QUESTION: How can I make a rip proccess ignore those interfaces that fall
> into the classfull network statement but I do not want to advertise (and
> cannot filter with a distribute-list out)?
>
> Many thanks.
>
> Jose Angel
>
> PS: I know that the network statement in rip is converted into a classfull
> network because I'm using rip version 1.
>
> --------------------------------------
> Josi Angel Martmnez de la Vara
> Ingeniero de Sistemas.
> CCNP & CCDP. CCIE candidate.
> Landata Payma Ingenierma
> Email: jamartinez@landata.payma.es



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