From: Gustavo Novais (gustavo.novais@novabase.pt)
Date: Sat Nov 19 2005 - 15:40:22 GMT-3
Gustavo Novais
Hi, I should have posted that too...
The config is as follows
router ospf 1
log-adjacency-changes
summary-address 30.0.0.0 255.252.0.0
redistribute rip subnets route-map RIP2OSPF
(network statement stuff)
!
router rip
version 2
redistribute ospf 1 metric 3
network 204.12.1.0
no auto-summary
!
access-list 30 permit 30.0.0.0
access-list 31 permit 30.2.0.0
access-list 31 permit 30.3.0.0
access-list 31 permit 30.1.0.0
!
route-map RIP2OSPF_v2 permit 10
match ip address 30
set metric-type type-1
!
route-map RIP2OSPF_v2 permit 20
match ip address 31
set metric-type type-2
!
With this config I get summary as E2, when I wanted to set less or more routes E1 or E2 I just add or remove statements on ACL 30 and 31
Thanks
Gustavo
-----Original Message-----
From: Venkataramanaiah.R [mailto:vramanaiah@gmail.com]
Sent: sabado, 19 de Novembro de 2005 18:35
To: Gustavo Novais
Cc: GS
Subject: Re: OSPF summary address democratic?
Hello Gustavo,
I cant find any docs, but I am just guessing whether it has
anything to do with the order in which you setting the metric type in
the route-map..
Could you please share with us the route-maps that you are
using in both the cases..
I am also thinking whether the majority wins as well.. :-)
-Venkat
On 11/19/05, Gustavo Novais <gustavo.novais@novabase.pt> wrote:
> Hello
>
>
>
> Doing some tests with how routes are summarized on OSPF
>
>
>
> I have 4 external routes that I wish to aggregate. I redistribute into
> OSPF, changing their metric-type (some are E1, some are E2)
>
>
>
> When I do summary address, which will be the route-type of this
> aggregate?
>
>
>
> I was not able to reach a definitive answer to this, because when I
> marked 2 routes E1 and two routes E2, the summary was a E1, and if I did
> 1 route E1 and three routes E2, the summary will be E2?
>
>
>
> I will post my tests (I'm doing load balancing, but nevermind that):
>
>
>
> 2 routes E1 and 2 routes E2 - Before summary address
>
>
>
> Sh ip route:
>
> 30.0.0.0/16 is subnetted, 4 subnets
>
> O E1 30.2.0.0 [110/84] via 141.1.54.4, 00:00:10, Serial0/0
>
> [110/84] via 141.1.145.4, 00:00:10, FastEthernet0/0
>
> O E2 30.3.0.0 [110/20] via 141.1.54.4, 00:00:10, Serial0/0
>
> [110/20] via 141.1.145.4, 00:00:10, FastEthernet0/0
>
> O E1 30.0.0.0 [110/84] via 141.1.54.4, 00:00:06, Serial0/0
>
> [110/84] via 141.1.145.4, 00:00:06, FastEthernet0/0
>
> O E2 30.1.0.0 [110/20] via 141.1.54.4, 00:00:11, Serial0/0
>
> [110/20] via 141.1.145.4, 00:00:11, FastEthernet0/0
>
>
>
> After summary address:
>
>
>
> O E1 30.0.0.0 [110/84] via 141.1.54.4, 00:00:07, Serial0/0
>
> [110/84] via 141.1.145.4, 00:00:07, FastEthernet0/0
>
>
>
> 1 Route E1 and 3 routes E2 - Before summary address
>
>
>
> Sh ip route:
>
>
>
> 30.0.0.0/16 is subnetted, 4 subnets
>
> O E2 30.2.0.0 [110/20] via 141.1.54.4, 00:00:14, Serial0/0
>
> [110/20] via 141.1.145.4, 00:00:14, FastEthernet0/0
>
> O E2 30.3.0.0 [110/20] via 141.1.54.4, 00:00:14, Serial0/0
>
> [110/20] via 141.1.145.4, 00:00:14, FastEthernet0/0
>
> O E1 30.0.0.0 [110/84] via 141.1.54.4, 00:00:26, Serial0/0
>
> [110/84] via 141.1.145.4, 00:00:26, FastEthernet0/0
>
> O E2 30.1.0.0 [110/20] via 141.1.54.4, 00:00:14, Serial0/0
>
> [110/20] via 141.1.145.4, 00:00:14, FastEthernet0/0
>
>
>
> After summary address:
>
>
>
> 30.0.0.0/14 is subnetted, 1 subnets
>
> O E2 30.0.0.0 [110/20] via 141.1.54.4, 00:00:20, Serial0/0
>
> [110/20] via 141.1.145.4, 00:00:20, FastEthernet0/0
>
>
>
>
>
> I was expecting that some kind of preference was given to E1 routes, but
> apparently only when untying the number of routes.
>
> Can anybody shed some light/document on this?
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Thu Dec 01 2005 - 09:12:07 GMT-3