Community discussions

MikroTik App
 
tr00g33k
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Sun Mar 29, 2015 3:58 pm

BGP Set In Nexthop and Set Check Gateway PING

Thu Aug 12, 2021 12:54 am

Hi,

I have some specific configuration on IX. We have peering with IX but no direct peering with other through IX.
We have a problem when one of the IX member (lets say AS6500) have two peers one is on the other side of the country (assume ip 10.10.10.101) and one realy close to us (10.10.10.100). Routes from IX for AS6500 are sent to us with gateway 10.10.10.101 as this is best route selected on IX side by the router id :).
Because of that we have problems with routes to this AS6500 as we have 5x times latency than if we would route to the peer close to us 10.10.10.100. So we did this:
 chain=IX-IN bgp-as-path=6500 invert-match=no action=accept set-in-nexthop=10.10.10.100 set-check-gateway=ping set-bgp-weight=30 set-bgp-prepend-path="" 
All the AS6500 routes we force to send to our nearest peer 10.10.10.100, but ofcourse, where is the fun if this would solve all our problems. We have problem that time to time 10.10.10.100 disconnects from IX, IX know, they know, but nobody care, except us, because even if the 10.10.10.100 goes down MikroTik still add all the route for AS6500 with nexthop 10.10.10.100, like it would not check gateway with ping, is this set-check-gateway=ping even meant to be used like that ?

Any advice ?

Who is online

Users browsing this forum: No registered users and 16 guests