I
I
IMD912020-03-24 11:47:12
linux
IMD91, 2020-03-24 11:47:12

Why doesn't the subnet match the prefix-list?

Good afternoon!
I recently started to deal with dynamic routing. Began to torment quagga and ospf.
The case is:
I need to report all networks in the 10.0.0.0/8 range, such as 10.70.3.0/24 and 10.1.3.0/24.
Accordingly, prefix-list is written in the ospfd config:

spoiler
!
ip prefix-list Local seq 5 permit 10.0.0.0/8 le 32
ip prefix-list Local seq 10 deny any
!
route-map Local permit 10
match ip address prefix-list Local
!

Actually, the problem is that when checking these ranges for compliance with the prefix-list in Zebra using the command
show ip prefix-list Local 10.1.3.0/24 first-match
the network does not match any of the rules.
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IMD91, 2020-03-24
@IMD91

Hang up, the neighboring router receives the correct routes according to the rules, this can be seen if you look at the ospf database. Another thing is that the system does not see these routes, but there is clearly a problem with zebra.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question