Community discussions

MikroTik App
 
syadnom
Forum Veteran
Forum Veteran
Topic Author
Posts: 794
Joined: Thu Jan 27, 2011 7:29 am

iBGP and filter rules to change distance

Fri Dec 30, 2011 11:38 pm

I am using BGP internally to distribute routes. I have multiple paths to some radios. I have been trying to figure out how to have one peer on the prefered route advertise a lower distance than the second peer.

On the core router I get both routes:

10.10.0.0/24 > 10.9.9.2 distance 200
10.10.0.0/24 > 10.9.8.2 distance 200

I want something like:
10.10.0.0/24 > 10.9.9.2 distance 200
10.10.0.0/24 > 10.9.8.2 distance 205
 
vik1988
Member Candidate
Member Candidate
Posts: 235
Joined: Sun Oct 25, 2009 2:18 pm
Location: India

Re: iBGP and filter rules to change distance

Sat Mar 10, 2012 2:08 pm

hi,

you can add routing filter


/routing filter
add action=passthrough chain=test disabled=no invert-match=no set-check-gateway=ping set-distance=205
add action=passthrough chain=test1 disabled=no invert-match=no set-check-gateway=ping set-distance=200

and add test and test1 in in-filter of bgp peers.

Who is online

Users browsing this forum: No registered users and 19 guests