Router 2 is receiving routes from Router 1 though and I can’t understand why. Shouldn’t a discard rule prevent a router from sending its routes to any other routers?
I don’t understand, what would I match in the rule? Should I put packet marks on OSPF traffic?
I thought the routing filters could tell which chain to use based on which instance the route advertisements were received or sent on. What is the point in setting an “in filter” or “out filter” on an OSPF instance if you have to mark the packets to be filtered anyway?
So, let me try to explain....
Using Filters for filtering routes in & routers out when configuring OSPF is optional.
If you are going to use Filters, you need to define the 'content / rule' of the filter.
What you originally posted is a partial statement about an ospf-out chain with no rule to match anything, thus it is acting as if you did not have a filter defined, i.e. allow everything..