Hello.
Two OSPF areas (0 and 1) are connected with ABR (Area Border Router). Every area has it's own default gateway (DG), that should be propagate only in a scope of this area.
Information about networks in area 0 should be propagate to area 1. Information about networks in area 1 should be propagate to area 0. Information about DG from area 0 should not be propagate to area 1. Information about DG from area 1 should not be propagate to area 0.
Example diagram (use monospace font):
(Internet) | | | (cloud of routers from AREA0) | | | R_AREA0 ABR R_AREA1 | | | | (cloud of routers from AREA1) | | | | (Internet)
I try to use filter-list on ABR, but it do not work as I would like to. Information about particular internal networks is easy to filter, but DG are always distribute between areas and this makes a problem.
DG is propagate through command "default-information originate" and it's seen by other routers as "OSPF external type 2". I've read somewhere that external routes can't be filter by filter-list in ABR. That explains why DG routes are propagate between areas. But I would like to know, if there is possibility to resolve the problem.
Part of routing table in cloud of routers from AREA1 (notice E2 route) O*E2 0.0.0.0/0 [110/1] via 192.168.167.6, 01:15:55, FastEthernet0/0
Part of configuration from ABR:
router ospf 1 area 0 filter-list prefix area1nets in area 1 filter-list prefix area0nets in network 192.168.0.0 0.0.127.255 area 0 network 192.168.128.0 0.0.127.255 area 1
ip prefix-list area0nets seq 5 permit 192.168.12.0/24 ip prefix-list area0nets seq 10 permit 192.168.24.0/24 ip prefix-list area0nets seq 15 permit 192.168.23.0/24 ip prefix-list area0nets seq 20 permit 192.168.34.0/24 ip prefix-list area0nets seq 25 deny 0.0.0.0/0 ! ip prefix-list area1nets seq 5 permit 192.168.146.0/24 ip prefix-list area1nets seq 10 permit 192.168.156.0/24 ip prefix-list area1nets seq 15 permit 192.168.167.0/24 ip prefix-list area1nets seq 20 deny 0.0.0.0/0