Please consider adding possibility for adding prefixes received via BGP to address-list. This will help in making some fancy shaper/filter rules. This will be a good alternative over QPPB on Cisco.
I’m not sure but it could be posible to do it using routing-marks. Still using address-lists will be easier.
yep, and the main reason we still don’t use that is: it supports only dst-address checking against the routing table. but src-address is important too. would you add the same matcher for src-address?.. maybe in v5 beta? =)
Path Prepending, and setting communities is done on the filter. These things usually for outgoing so on the outfilter make a rule which matches the prefixes/routes you want this to happen to and use the ‘BGP Actions’ tab in winbox to set communities or path prepending. I do both of these, here is an example of setting a community on any exported route that has “PROVIDER_RTBH” on it:
/routing filter
add action=accept chain=PROVIDER1-OUT comment=RTBH prefix=0.0.0.0/0 prefix-length=32 route-comment=PROVIDER1_RTBH set-bgp-communities=12345:666This is just example - so I can add /32 routes into routing table as blackhole route with comment PROVIDER1_RTBH and it will then export that route with the community so my provider knows to blackhole it.