Community discussions

MikroTik App
 
sakibmahmud
just joined
Topic Author
Posts: 1
Joined: Wed Dec 02, 2020 7:20 pm

Manually set BGP distance

Tue Jun 08, 2021 10:25 am

I have connected to two BGP peers and getting the same IP prefixes. Now, I want to manually set the distance for the all prefixes of specific instance. I tried several filters to reduce distance 200 from 15 but failed. Please help me with this. Thank you.

Please check the attached image.

Image
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Manually set BGP distance

Tue Jun 08, 2021 7:50 pm

these prefix are dynamic and you can not modify manually it,

add a bgp input filter than auto change the distance for specific BGP peer, when imported on memory
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: Manually set BGP distance

Sat Jun 12, 2021 3:55 pm

Just curious - why not change weight or localpref to accomplish this?
 
User avatar
feranmi
just joined
Posts: 14
Joined: Tue Aug 20, 2019 11:11 am
Location: Surulere, Lagos

Re: Manually set BGP distance

Fri Jul 30, 2021 7:02 pm

are you trying to do a load balance? if yes, then as_path prepend can be applied

Who is online

Users browsing this forum: No registered users and 19 guests