From: George Cassels \(gcassels\) (gcassels@cisco.com)
Date: Sun Jun 26 2005 - 20:19:43 GMT-3
So Tim I did up the config you talked about with NSSA.
R1----------------R2---------------R4
area 2 NSSA Area 0
I did not think the area range command would work because these are
external routes and the area range command as I understand it only work
on internal routes, but I wanted to try before I said anything. I tried
the range and it did not work. All three routes that I redistributed
loopbacks on R1 showed up on R4. I then changed the command on R2 to a
summary address command and the routes showed up as the agg address on
R4. See configs below.
hostname R1
!
boot-start-marker
boot-end-marker
!
!
clock timezone EST -5
no aaa new-model
ip subnet-zero
!
!
!
!
interface Loopback0
ip address 200.0.0.1 255.255.255.255
!
interface Loopback1
ip address 1.1.1.1 255.255.255.0
!
interface Loopback2
ip address 1.1.2.1 255.255.255.0
!
interface Loopback3
ip address 1.1.3.1 255.255.255.0
!
interface Ethernet0/0
ip address 150.50.17.1 255.255.255.0
!
interface Ethernet1/0
ip address 150.50.200.1 255.255.255.0
no keepalive
!
router ospf 1
log-adjacency-changes
area 2 nssa
redistribute connected subnets route-map con
network 150.50.17.0 0.0.0.255 area 2
!
ip classless
no ip http server
!
!
!
route-map con permit 10
match interface Loopback1 Loopback2 Loopback3
hostname R2
!
boot-start-marker
boot-end-marker
!
!
clock timezone EST -5
no aaa new-model
ip subnet-zero
!
!
!
!
interface Loopback0
ip address 200.0.0.2 255.255.255.255
!
interface Ethernet0/0
ip address 150.50.17.2 255.255.255.0
!
interface Serial1/0
no ip address
encapsulation frame-relay
no fair-queue
no arp frame-relay
no frame-relay inverse-arp
!
interface Serial1/0.4 point-to-point
ip address 150.50.24.2 255.255.255.0
no arp frame-relay
frame-relay interface-dlci 104
!
router ospf 1
log-adjacency-changes
area 2 nssa
summary-address 1.1.0.0 255.255.252.0
network 150.50.17.0 0.0.0.255 area 2
network 150.50.24.0 0.0.0.255 area 0
network 150.50.100.0 0.0.0.255 area 0
R4 routing table
R4#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
1.0.0.0/22 is subnetted, 1 subnets
O E2 1.1.0.0 [110/20] via 150.50.24.2, 00:00:07, Serial1/0.4
Hope this helps,
George
This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:44 GMT-3