I am not sure if I it is my mistake or it is a bug. I have create a very simple scenario to test it: one router as ASBR with default-originate in backbone area. One ABR that belongs to areas backbone and areaA. And finally one IR in areaA.
Code: Select all
# ASBR
/routing ospf instance
add disabled=no name=ospf-instance-1 originate-default=always redistribute=\
connected
/routing ospf area
add disabled=no instance=ospf-instance-1 name=backbone
/ip address
add address=10.0.0.1/24 interface=ether2 network=10.0.0.0
/routing ospf interface-template
add area=backbone disabled=no networks=10.0.0.0/8
/system identity
set name=ASBR
Code: Select all
/routing ospf instance
add disabled=no name=ospf-instance-1
/routing ospf area
add area-id=0.0.0.1 disabled=no instance=ospf-instance-1 name=a type=stub
add disabled=no instance=ospf-instance-1 name=backbone
/ip address
add address=10.0.0.101/24 interface=ether1 network=10.0.0.0
add address=172.16.1.101/24 interface=ether2 network=172.16.1.0
/routing ospf interface-template
add area=a disabled=no interfaces=ether2 networks=172.16.1.0/24 type=ptp
add area=backbone disabled=no networks=10.0.0.0/8
/system identity
set name=ABR
Code: Select all
/routing ospf instance
add disabled=no name=ospf-instance-1
/routing ospf area
add area-id=0.0.0.1 disabled=no instance=ospf-instance-1 name=a type=stub
/ip address
add address=172.16.1.201/24 interface=ether2 network=172.16.1.0
/routing ospf interface-template
add area=a disabled=no interfaces=ether2 networks=172.16.1.0/24 type=ptp
/system identity
set name=IR
Code: Select all
[admin@IR] > ip/route/print
Flags: D - DYNAMIC; A - ACTIVE; c, o, y - COPY
Columns: DST-ADDRESS, GATEWAY, DISTANCE
DST-ADDRESS GATEWAY DISTANCE
DAo 10.0.0.0/24 172.16.1.101%ether2 110
DAc 172.16.1.0/24 ether2 0
As it can be seen, default route is not installed, but it should be.