Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15133

Forwarding Protocols • Re: BGP Filters translate from ros6 to ros7 not working

$
0
0
Macosoft, I think your last 3 rules should be:
Code:
add chain=from_rds disabled=no rule="if (dst-len>-1) {set distance 50; accept}"add chain=to_rds disabled=no rule="if (dst-len>-1) {reject}" comment="Should not be needed - default is to reject"add chain=to_telekom disabled=no rule="if (dst-len>-1) {reject}" comment="Should not be needed - default is to reject"
Let me know if that works for you.

Edited: I noticed that the first version did not cover the default route. Fixed by changing "0" with "-1".
I tried with your modified rules but with no luck.
When I disable this rule:
chain=from_telekom disabled=no rule="if (dst == 0.0.0.0/0) { set bgp-weight 100; set bgp-local-pref 120; accept; }"
I dont have internet on the router either. Seems like that it's working only bgp from one provider.

Statistics: Posted by macosoft — Thu Jan 18, 2024 4:23 am



Viewing all articles
Browse latest Browse all 15133

Trending Articles