Community discussions

MikroTik App
 
RcRaCk2k
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Mon May 07, 2012 10:40 pm

Routing-Filter v7.1 common tasks (templates)

Fri Dec 03, 2021 11:57 am

Hi Guys,
i like to configure some common tasks as interpreting BGP-Communitys for LOCAL-PREF modification.
How can i jump from one CHAIN to another and RETURN to the LAST?

Or how about running common functions() with arguments? Like BIRD Routing Daemon is doing?

Also, where can i find a complete reference of available functions?
How can i set the krnt.pref_src (Kernel Preferred Source IP) per Destination-Route-Entity?
 
RcRaCk2k
Member Candidate
Member Candidate
Topic Author
Posts: 115
Joined: Mon May 07, 2012 10:40 pm

Re: Routing-Filter v7.1 common tasks (templates)  [SOLVED]

Fri Dec 03, 2021 12:08 pm

Found the solution...
if( dst==0.0.0.0/0 ) {
  set  pref-src 45.xxx.xx.185;
  accept;
}
Source: https://help.mikrotik.com/docs/pages/vi ... d=74678285

Was a little bit confusing.
Thank you.

Who is online

Users browsing this forum: No registered users and 10 guests