[nsp] summarizing through area range under ospf

Peter B. Juul peter.juul@uni-c.dk
Mon, 18 Nov 2002 16:32:06 +0100


I want to block routes to RFC1918 address space from entering my OSPF area 0
at a number of locations.

I have configured ospf like this on the locations in question - based on 
documentation on CCO:

router ospf 1835
 log-adjacency-changes
 area 130.225.128.0 range 10.0.0.0 255.0.0.0 not-advertise
 area 130.225.128.0 range 172.16.0.0 255.240.0.0 not-advertise
 area 130.225.128.0 range 192.168.0.0 255.255.0.0 not-advertise
 summary-address 10.0.0.0 255.0.0.0
 summary-address 172.16.0.0 255.240.0.0
 summary-address 192.168.0.0 255.255.0.0
 redistribute connected subnets
 redistribute static metric 1 subnets
 network 130.225.242.0 0.0.0.15 area 0.0.0.0
 network 130.225.242.16 0.0.0.15 area 0.0.0.0
 network 130.225.242.160 0.0.0.15 area 130.225.128.0

However, 1918-space is still distributed in area 0.

I have two routers in each location connecting the area to area 0, so the
neighboring areas are not stubby (or I have misinterpreted what a stubby
area is. Possible.)

What am I doing wrong?

(I have an alternative solution on hand that includes two ospf processes
and route-maps limiting their redistribution amongst each others, but I 
have seen bad voodoo happening in such setups when there are two ways into
an area, so I'd rather not...)

Peter B. Juul, 
Uni·C (PBJ255-RIPE)