From: Shane Miles (smiles@xxxxxxxxxx)
Date: Fri Aug 10 2001 - 11:16:59 GMT-3
Sorry about the delay. Out of frustration I just reloaded all the
routers and now it works..
-----Original Message-----
From: afiddler [mailto:afiddler@wi.rr.com]
Sent: Sunday, August 05, 2001 6:33 PM
To: Shane Miles
Subject: Re: area range
Did you ever get a response to your question?
I tried out a scenario in which I summarized the 16.0.0.0/8 from a couple of
class C nets, and a 192.168.1.0/24 route from a few /30 networks in my OSPF
domain. I summarized the networks with "area range" commands on my ABR,
then redistributed OSPF into BGP, then BGP into RIPv1. I am able to see
both the 16.0.0.0/8 and 192.168.1.0/24 networks in my RIP routing table.
The routers are set up as follows. I have a 1604 that is running only OSPF
in area 1. A router called 1600_L is the ABR, which connects to area 1 and
also supports area 0. This router has the area range statements in its OSPF
configuration. 1600_L is connected to 1750_L, a router that is
redistributing OSPF into BGP AS 100. 1750_L is connected to an EBGP peer,
2500_2_upper, in AS 200, which is redistributing BGP 200 into RIP. The last
router, 1600_R, is only running RIP. Here are the configs (many extraneous
statements removed to condense the output). Hope this helps.
1604-----1600_L-----1750_L------2500_2_upper------1600_R
hostname 1604
!
interface Loopback0
ip address 192.168.1.1 255.255.255.252
ip ospf network point-to-point
!
interface Loopback1
ip address 192.168.1.5 255.255.255.252
ip ospf network point-to-point
!
interface Loopback2
ip address 192.168.1.9 255.255.255.252
ip ospf network point-to-point
!
interface Loopback3
ip address 16.1.1.1 255.255.255.0
!
interface Loopback4
ip address 16.2.2.2 255.255.255.0
!
interface Ethernet0
ip address 172.25.1.2 255.255.255.0
!
router ospf 1
log-adjacency-changes
network 16.1.1.0 0.0.0.255 area 1
network 16.2.2.0 0.0.0.255 area 1
network 172.25.1.0 0.0.0.255 area 1
network 192.168.1.0 0.0.0.3 area 1
network 192.168.1.4 0.0.0.3 area 1
network 192.168.1.8 0.0.0.3 area 1
!
ip classless
hostname 1600_L
!
interface Loopback0
ip address 172.16.1.1 255.255.255.0
no ip directed-broadcast
ip ospf network point-to-point
!
interface Loopback1
ip address 172.16.2.1 255.255.255.0
no ip directed-broadcast
ip ospf network point-to-point
!
interface Loopback3
ip address 172.16.3.1 255.255.255.0
no ip directed-broadcast
ip ospf network point-to-point
!
interface Loopback4
ip address 10.1.1.1 255.255.255.0
no ip directed-broadcast
ip ospf network point-to-point
!
interface Ethernet0
ip address 172.25.1.1 255.255.255.0
no ip directed-broadcast
!
interface Serial0
ip address 172.17.1.2 255.255.255.0
no ip directed-broadcast
no ip mroute-cache
clockrate 250000
!
router ospf 1
area 1 range 16.0.0.0 255.0.0.0
area 1 range 192.168.1.0 255.255.255.0
network 10.1.1.0 0.0.0.255 area 0
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.3.0 0.0.0.255 area 0
network 172.17.1.0 0.0.0.255 area 0
network 172.25.1.0 0.0.0.255 area 1
!
ip classless
hostname 1750_L
!
interface Serial0
ip address 172.17.1.1 255.255.255.0
no fair-queue
!
interface Serial1
ip address 172.18.1.1 255.255.255.0
!
interface FastEthernet0
no ip address
shutdown
speed auto
!
router ospf 1
log-adjacency-changes
network 172.17.1.0 0.0.0.255 area 0
!
router bgp 100
no synchronization
network 172.18.1.0 mask 255.255.255.0
redistribute ospf 1 metric 50 match internal external 1
neighbor 172.18.1.2 remote-as 200
!
ip classless
1750_L#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
O IA 16.0.0.0/8 [110/792] via 172.17.1.2, 00:12:30, Serial0
172.17.0.0/24 is subnetted, 1 subnets
C 172.17.1.0 is directly connected, Serial0
172.16.0.0/24 is subnetted, 3 subnets
O 172.16.1.0 [110/782] via 172.17.1.2, 00:12:35, Serial0
O 172.16.2.0 [110/782] via 172.17.1.2, 00:12:35, Serial0
O 172.16.3.0 [110/782] via 172.17.1.2, 00:12:35, Serial0
172.18.0.0/24 is subnetted, 1 subnets
C 172.18.1.0 is directly connected, Serial1
172.25.0.0/24 is subnetted, 1 subnets
O IA 172.25.1.0 [110/791] via 172.17.1.2, 00:12:36, Serial0
10.0.0.0/24 is subnetted, 1 subnets
O 10.1.1.0 [110/782] via 172.17.1.2, 00:12:36, Serial0
O IA 192.168.1.0/24 [110/792] via 172.17.1.2, 00:12:32, Serial0
hostname 2500_2_upper
!
interface Ethernet0
no ip address
shutdown
!
interface Ethernet1
no ip address
shutdown
!
interface Serial0
ip address 172.18.1.2 255.255.255.0
no fair-queue
clockrate 250000
!
interface Serial1
ip address 172.19.1.1 255.255.255.0
clockrate 250000
!
router rip
redistribute bgp 200 metric 10
network 172.19.0.0
!
router bgp 200
no synchronization
bgp log-neighbor-changes
network 172.18.1.0 mask 0.0.0.255
network 172.19.1.0 mask 0.0.0.255
neighbor 172.18.1.1 remote-as 100
no auto-summary
!
ip kerberos source-interface any
ip classless
2500_2_upper#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
B 16.0.0.0/8 [20/50] via 172.18.1.1, 00:14:01
B 172.17.0.0/16 [20/0] via 172.18.1.1, 00:27:41
B 172.16.0.0/16 [20/50] via 172.18.1.1, 00:14:01
172.19.0.0/24 is subnetted, 1 subnets
C 172.19.1.0 is directly connected, Serial1
172.18.0.0/24 is subnetted, 1 subnets
C 172.18.1.0 is directly connected, Serial0
R 172.20.0.0/16 [120/1] via 172.19.1.2, 00:00:03, Serial1
B 172.25.0.0/16 [20/50] via 172.18.1.1, 00:14:01
B 10.0.0.0/8 [20/50] via 172.18.1.1, 00:14:01
B 192.168.1.0/24 [20/50] via 172.18.1.1, 00:14:02
2500_2_upper#sh ip bgp
BGP table version is 32, local router ID is 172.19.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 10.0.0.0 172.18.1.1 50 0 100 ?
*> 16.0.0.0 172.18.1.1 50 0 100 ?
*> 172.16.0.0 172.18.1.1 50 0 100 ?
*> 172.17.0.0 172.18.1.1 0 0 100 ?
*> 172.18.1.0/24 172.18.1.1 0 0 100 i
*> 172.25.0.0 172.18.1.1 50 0 100 ?
*> 192.168.1.0 172.18.1.1 50 0 100 ?
hostname 1600_R
!
interface Loopback0
ip address 172.20.1.1 255.255.255.0
no ip directed-broadcast
!
interface Ethernet0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0
ip address 172.19.1.2 255.255.255.0
no ip directed-broadcast
no ip mroute-cache
no fair-queue
!
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!
router rip
network 172.19.0.0
network 172.20.0.0
!
ip classless
1600_R#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
U - per-user static route, o - ODR
Gateway of last resort is not set
R 16.0.0.0/8 [120/10] via 172.19.1.1, 00:00:10, Serial0
R 172.17.0.0/16 [120/10] via 172.19.1.1, 00:00:11, Serial0
R 172.16.0.0/16 [120/10] via 172.19.1.1, 00:00:11, Serial0
172.19.0.0/24 is subnetted, 1 subnets
C 172.19.1.0 is directly connected, Serial0
172.20.0.0/24 is subnetted, 1 subnets
C 172.20.1.0 is directly connected, Loopback0
R 172.25.0.0/16 [120/10] via 172.19.1.1, 00:00:11, Serial0
R 10.0.0.0/8 [120/10] via 172.19.1.1, 00:00:11, Serial0
R 192.168.1.0/24 [120/10] via 172.19.1.1, 00:00:11, Serial0
----- Original Message -----
From: "Shane Miles" <smiles@ftdata.com>
To: <ccielab@groupstudy.com>
Sent: Wednesday, August 01, 2001 2:44 PM
Subject: area range
> What effect does the "area range" command have on redistribution?
> I'm having a weird problem. I have two OSPF areas 0 and 1. I'm
> redistributing OSPF routes into BGP. All routes from area 0 and 1 then
get
> sent to an EBGP peer where I am redistributing into RIPv1. Everything
> works great until I do "area 1 range 16.0.0.0 255.0.0.0". At this point I
> still have good routes all the way to the EBGP peer's route table but for
> some reason it refuses to redistribute it into RIP. I remove the "area
> range" command and it all works again. Why should the area range command
> have this effect at this point. At this point its just BGP redistributing
> into RIPv1 isn't it? Ideas?
>
> --
> Shane P. Miles
> **Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:31:48 GMT-3