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…
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.
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.
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!