26 Nov
2009
26 Nov
'09
11:06 p.m.
On Fri, Nov 27, 2009 at 12:00:08AM +0100, Ondrej Zajicek wrote:
On Thu, Nov 26, 2009 at 04:32:04PM -0600, Otto Solares wrote:
Could you please describe prefering prefixes over one link with an example please? I happen to need this but haven't figured out yet.
This can be easily done using BGP as a routing protocol - just use two BGP sessions, each over one link, export prefixes to both of them and set MED attribute accordingly.
Ok.
Somethink like:
filter prefer_some_prefixes { if (net ~ [100.100.100.0/24, 200.200.200/24, ... ]) then bgp_med = 10; else bgp_med = 20; }
used as an export filter in one session and with reverse values in the other session.
Excellent! Thank you. - Otto