I have 3 routers, R1, R2 and R3 (all of them are running v6.49.1):
R1 in area 0.0.0.1
R2 (ABR) in area 0.0.0.1 and 0.0.0.0
R3 in 0.0.0.0, redistributing connected routes.
In R2 I want to filter the connected route distributed by R3 into area 0.0.0.1 but it doesnt seems working.
R1's config:
Code: Select all
/interface bridge
add name=lo
/routing ospf area
set [ find default=yes ] disabled=yes
add area-id=0.0.0.1 name=area1
/routing ospf instance
set [ find default=yes ] router-id=192.168.1.1
/ip address
add address=192.168.1.1/24 interface=lo network=192.168.1.0
add address=192.168.12.1/24 interface=ether2 network=192.168.12.0
/routing ospf interface
add interface=lo network-type=broadcast passive=yes
/routing ospf network
add area=area1 network=192.168.1.0/24
add area=area1 network=192.168.12.0/24
/system identity
set name=R1
R2's config:
Code: Select all
/interface bridge
add name=lo
/routing ospf area
add area-id=0.0.0.1 name=area1
/routing ospf instance
set [ find default=yes ] in-filter=ospf-in out-filter=ospf-out router-id=\
192.168.2.1
/ip address
add address=192.168.2.1/24 interface=lo network=192.168.2.0
add address=192.168.12.2/24 interface=ether2 network=192.168.12.0
add address=192.168.23.2/24 interface=ether3 network=192.168.23.0
/routing filter
add action=discard chain=ospf-out prefix=172.16.1.0/24
/routing ospf interface
add interface=lo network-type=broadcast passive=yes
/routing ospf network
add area=backbone network=192.168.2.0/24
add area=area1 network=192.168.12.0/24
add area=backbone network=192.168.23.0/24
/system identity
set name=R2
R3's config:
Code: Select all
/interface bridge
add name=lo
add name=test
/routing ospf instance
set [ find default=yes ] redistribute-connected=as-type-1 router-id=192.168.3.1
/ip address
add address=192.168.3.1/24 interface=lo network=192.168.3.0
add address=192.168.23.3/24 interface=ether3 network=192.168.23.0
add address=172.16.1.1/24 interface=test network=172.16.1.0
/routing ospf interface
add interface=lo network-type=broadcast passive=yes
/routing ospf network
add area=backbone network=192.168.3.0/24
add area=backbone network=192.168.23.0/24
/system identity
set name=R3
Thanks!