Community discussions

MikroTik App
 
keryax
just joined
Topic Author
Posts: 7
Joined: Tue Jul 03, 2018 3:34 pm

OSPF redistribute static works only same area? ROS 7.1.1

Tue Jan 04, 2022 11:14 pm

Hello. I am experiencing some difficulties after upgrading to version 7.1.1

I put together a test lab with CHR and test on it.

Network schematics:
Screenshot_20220105_000214.png
I expect to see the network 10.123.123.0/24 at R0 and R1, which I redistribute at R2

The problem is that I can't see the route at R0 but I can see it at R1.
Routing table on R0:
[admin@R0] > /ip/route/print
DST-ADDRESS GATEWAY DISTANCE
DAd 0.0.0.0/0 172.16.200.1 1
DAc 10.0.0.0/32 loopback0 0
DAo 10.0.0.1/32 10.1.0.2%ether1 110
DAo 10.0.0.2/32 10.1.0.2%ether1 110
DAc 10.1.0.0/30 ether1 0
DAo 10.1.0.4/30 10.1.0.2%ether1 110
DAc 172.16.200.0/24 ether2 0
Routing table on R1:
[admin@R1] > /ip/route/print
DST-ADDRESS GATEWAY DISTANCE
DAd 0.0.0.0/0 172.16.200.1 1
DAo 10.0.0.0/32 10.1.0.1%ether1 110
DAc 10.0.0.1/32 loopback0 0
DAo 10.0.0.2/32 10.1.0.6%ether3 110
DAc 10.1.0.0/30 ether1 0
DAc 10.1.0.4/30 ether3 0
DAo 10.123.123.0/24 10.1.0.6%ether3 110
DAc 172.16.200.0/24 ether2 0
But I see the loopback routes everywhere. Is this a bug in the ROS or in the configuration?

R0 config:
/interface bridge
add name=loopback0
/interface ethernet
set [ find default-name=ether1 ] comment=TO_R1
set [ find default-name=ether2 ] comment=WAN disable-running-check=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing ospf instance
add name=default router-id=10.0.0.0
/routing ospf area
add instance=default name=backbone
/ip address
add address=10.0.0.0 interface=loopback0 network=10.0.0.0
add address=10.1.0.1/30 interface=ether1 network=10.1.0.0
/ip dhcp-client
add interface=ether2
/routing ospf interface-template
add area=backbone interfaces=loopback0 passive
add area=backbone interfaces=ether1
/system identity
set name=R0


R1 config:


/interface bridge
add name=loopback0
/interface ethernet
set [ find default-name=ether1 ] comment=TO_R0
set [ find default-name=ether2 ] comment=WAN disable-running-check=no
set [ find default-name=ether3 ] comment=TO_R2 disable-running-check=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing ospf instance
add name=default router-id=10.0.0.1
/routing ospf area
add instance=default name=backbone
add area-id=10.0.0.2 instance=default name=test nssa-translator=candidate type=nssa
/ip address
add address=10.0.0.1 interface=loopback0 network=10.0.0.1
add address=10.1.0.2/30 interface=ether1 network=10.1.0.0
add address=10.1.0.5/30 interface=ether3 network=10.1.0.4
/ip dhcp-client
add interface=ether2
/routing ospf interface-template
add area=backbone interfaces=loopback0 passive
add area=backbone interfaces=ether1
add area=test interfaces=ether3
/system identity
set name=R1



R2 config


/interface bridge
add name=loopback0
/interface ethernet
set [ find default-name=ether1 ] comment=TO_R1
set [ find default-name=ether2 ] comment=WAN disable-running-check=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing ospf instance
add name=default redistribute=static router-id=10.0.0.2
/routing ospf area
add area-id=10.0.0.2 instance=default name=test nssa-translator=candidate type=nssa
/ip address
add address=10.0.0.2 interface=loopback0 network=10.0.0.2
add address=10.1.0.6/30 interface=ether1 network=10.1.0.4
/ip dhcp-client
add interface=ether2
/ip route
add blackhole dst-address=10.123.123.0/24
/routing ospf interface-template
add area=test interfaces=loopback0 passive
add area=test interfaces=ether1
/system identity
set name=R2

You do not have the required permissions to view the files attached to this post.
 
User avatar
smyers119
Member Candidate
Member Candidate
Posts: 232
Joined: Sat Feb 27, 2021 8:16 pm
Location: USA

Re: OSPF redistribute static works only same area? ROS 7.1.1  [SOLVED]

Wed Jan 05, 2022 1:50 am

Redistribution into an NSSA area creates a special type of link-state advertisement (LSA) known as type 7, which can only exist in an NSSA area.
 
keryax
just joined
Topic Author
Posts: 7
Joined: Tue Jul 03, 2018 3:34 pm

Re: OSPF redistribute static works only same area? ROS 7.1.1

Wed Jan 05, 2022 10:16 am

Redistribution into an NSSA area creates a special type of link-state advertisement (LSA) known as type 7, which can only exist in an NSSA area.
Thank you, i've changed area type to default.

Who is online

Users browsing this forum: No registered users and 19 guests