Question
Block host route OSPF advertised with prefix/access-list
Hello guys,
I have a Fortigate with FOS v5.2.3 running and advertising some local loopback /24s and interface /32s via OSPF to the neighbours.
What I can't figure is to block the advertisement of the /32 addresses by using either router access-list or prefix-list. Whatever I do, the /32s are popping up in the routing table of the other end.
I tried something similar;
config router prefix-list set comments "Deny /32 to the remote" edit "test" config rule edit 1 set action deny set prefix 1.1.1.0 255.255.255.0 unset ge set le 32 next or config router access-list edit "test" set comments "Deny /32 to the remote" config rule edit 1 set action deny set prefix 1.1.1.1 255.255.255.255 set exact-match enable next But still getting the following in the neighbor's routing table. # get router info routing-table ospfO 1.1.1.0/24 [110/110] via 172.16.32.20, wan1, 00:36:17[style="background-color: #ff0000;"]O 1.1.1.1/32 [110/10] via 172.16.32.20, wan1, 00:36:17[/style] Thank you. Regards, Steve
