2 Mar
2011
2 Mar
'11
10:32 a.m.
On 2.3.2011 10:36, Mathias Wolkert wrote:
Hi
As said, I'm new to BIRD and struggling a bit with the config syntax.
I'll try to explain what I want to do.
I have a few prefixes, lets say 10.1.1.0/24, 10.2.2.0/24, 10.3.3.0/24. I want to announce these (and only these) in a BGP session, but with a modified next hop.
How would I do this?
Add this export filter to you BGP session: export filter { if net ~ [10.1.1.0/24, 10.2.2.0/24, 10.3.3.0/24] then { bgp_next_hop = X.X.X.X; accept; } else reject; }; (I did not check syntax, maybe some ';' is missing. Ondrej
Any help is much appreciated.
/Tias