BGP - send routes to the next router

I have a bgp peer, which send me some routes, and I mark them with some routing-mark in routing filters. now I need to redistribute these routes to the second router. I established BGP session between them, I see all these routes in BGP Advertisements for my second router, but second router do not receive them (they are even not sent). from my investigations, seems like all is redistributed when I do not set ‘Routing-Mark’ in routing filters…

the question is: What Am I Doing Wrong?..

Ive tried this same thing and cannot figure it out. I want to redistribute a list of bogon prefixes that have a route-mark on them. Seems like it should support it because of the ability to even set a route mark on the way out, but a packet sniff showed me they weren’t even being advertised.

Original ticket for this issue: 2007031566000107 REALLY OLD… should open a new one and maybe get it fixed. I would still love to be able to propagate all my bogons and other filter lists via BGP.

Sam

one more thing: seems like routes are redistributed from one peer to another even if ‘Client to client reflection’ and ‘Route Reflection’ are off…

Routes that are not in main routing table will not be advertised, because there can be identical prefixes with different gateways in each routing table.
If you have routes in other routing table than main then you will have to enable mpls package, enable vrf and use bgp to distribute vpnv4 routes.

huh… a quick example, please?.. haven’t worked with MPLS…

In wiki you can find examples how to sue VRF and BGP:
http://wiki.mikrotik.com/wiki/Virtual_Routing_and_Forwarding

i think you can use “out-filter” and on the filter ‘matcher’ you set the routing mark of the route list.

Have you considered using bgp communities instead of routing-marks? If all you are using your routing-mark for is applying policy, you really should consider bgp communities, since that’s what they are meant to do!

I need to have additional routing table, I don’t think communities can help me…

Well, if you have more than one routing table, you should look into MPLS with VRF.