Filter out OSPF route?
-
Hello, can anyone tell me how to filter out a route using pfsense and Quagga? I have a configuration that is working just fine, but just need to prevent two routes from entering the routing table.
my config is pretty basic at this point.
router ospf ospf router-id 10.10.15.1 network 10.10.15.0/24 area 0.0.0.0 area 0.0.0.0 authentication message-digest
I'd like to prevent the router from learning the following two routes..
10.10.152.0/28 10.10.48.32/28
Regards,
Adam Tyler -
On the FRR Global Settings tab, add entries in the Route Handling area for those subnets with Do Not Accept checked.
-
@jimp I found that area under global config, but it doesn't seem to make any difference. Routes I am trying to prevent still seem to display in both OSPF and Zebra tables...
It's strange, even with the "Disable Acceptance" box checked, it still seems to just add a network statement under the OSPF process.
Take a peek...
-
Sure they show there but they are not active. They have no
>
so not selected. They have no*
so not in the FIB. Check the actual system routing table, they should not be present there. -
@jimp Crap! I missed that * detail, thanks!
On a Cisco device you are able to run the command "show ip route" and it lists all routes that actually exist in the active routing table. Is there something similar for the pfsense?
Regards,
Adam Tyler -
Diagnostics > Routes
netstat -rn
-
@Derelict Thank you.