Community discussions

MikroTik App
 
sang
just joined
Topic Author
Posts: 2
Joined: Tue Oct 11, 2011 3:03 pm

Help with BGP auto fail over!

Tue Oct 11, 2011 4:16 pm

Hello friends! I kindly need your help with bgp auto failover configuration. I will do this on production routers :) So the set-up is as follow:

1. An mpls cloud at the centre AS 11111
2. MT router1 to the left AS 100 connecting to the cloud, /30 IP
3. MT router2 to the right AS 100 connecting to the cloud, /30 IP
4. A point-to-point link from router1 to router2, /30 IP

Now to you guys- help configure bgp fail-over such that link via AS 11111 are primary while the ptp link is secondary. I appreciate any further ideas.

My configuration did not work. The ptp link is taking over as primary when it should not! I'm guess some of you have resolved a similar problem.

Cheers

Sang
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Help with BGP auto fail over!

Tue Oct 11, 2011 4:24 pm

Unless I'm missing something here all you'll need to do is apply a routing filter to the peers for links with AS100 and assign a weight to routes learned through it. The default weight is 0, any other weight wins. Weight is local to the router only and not passed to any peers, so there's no need to balance this out between R1 and R2 - they'll simply prefer all routes learned via AS100 to anything they learn from one another.
 
sang
just joined
Topic Author
Posts: 2
Joined: Tue Oct 11, 2011 3:03 pm

Re: Help with BGP auto fail over!

Wed Oct 12, 2011 11:54 am

Thanks fewi,

will implement the weight, test and update you.

sang

Who is online

Users browsing this forum: Bing [Bot], Guntis, Maggiore81, rudivd, Semrush [Bot] and 89 guests