Community discussions

 
lz1dsb
Member Candidate
Member Candidate
Topic Author
Posts: 222
Joined: Wed Aug 07, 2013 11:48 am

Set BGP Origin Attribute in RouterOS

Sat Apr 30, 2016 6:29 pm

Has anybody found a way to set the BGP origin attribute in RouterOS via routing filter?
I don't see an option to do that. The only way I was able to that is via a static route where I have an option to set the origin attribute, but such option is not available in a routing filter. It's not that that is something of a crucial importance, but I was wondering whether I'm not missing something...
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5942
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Set BGP Origin Attribute in RouterOS

Mon May 02, 2016 11:38 am

No, there is no option to set origin in filters. You can only force 'igp' by adding bgp network or set specific origin on static routes.
 
lz1dsb
Member Candidate
Member Candidate
Topic Author
Posts: 222
Joined: Wed Aug 07, 2013 11:48 am

Re: Set BGP Origin Attribute in RouterOS

Mon May 02, 2016 5:14 pm

No, there is no option to set origin in filters. You can only force 'igp' by adding bgp network or set specific origin on static routes.
Thank you for confirming this. I was expecting it. I have done this in the past with a static route where the BGP origin is specified. I guess, this is not something that you plan to implement in future releases :)
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5942
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Set BGP Origin Attribute in RouterOS

Mon May 02, 2016 5:25 pm

We are not implementing anything new related to routing in ROSv6
 
mmmigoro
newbie
Posts: 39
Joined: Mon Feb 14, 2011 3:48 pm
Location: PRAHOVA, Romania

Re: Set BGP Origin Attribute in RouterOS

Mon May 02, 2016 9:59 pm

Is there any plan to implement this feature in v7?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5942
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Set BGP Origin Attribute in RouterOS

Tue May 03, 2016 10:14 am

Most likely yes.
 
patrick7
Member Candidate
Member Candidate
Posts: 298
Joined: Sat Jul 20, 2013 2:40 pm

Re: Set BGP Origin Attribute in RouterOS

Wed May 04, 2016 1:39 am

Can you give us any update on v7 alpha/beta/release time frame?
 
lz1dsb
Member Candidate
Member Candidate
Topic Author
Posts: 222
Joined: Wed Aug 07, 2013 11:48 am

Re: Set BGP Origin Attribute in RouterOS

Sun May 29, 2016 1:28 pm

v7 has been expected for more than an year as far as I could remember :)
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4051
Joined: Wed May 11, 2011 6:08 pm

Re: Set BGP Origin Attribute in RouterOS

Tue May 31, 2016 6:16 pm

Out of curiosity, why not just use the network statement to originate the prefix properly?
When given a spoon,
you should not cling to your fork.
The soup will get cold.
 
lz1dsb
Member Candidate
Member Candidate
Topic Author
Posts: 222
Joined: Wed Aug 07, 2013 11:48 am

Re: Set BGP Origin Attribute in RouterOS

Tue Jun 07, 2016 11:45 am

Out of curiosity, why not just use the network statement to originate the prefix properly?
Because the summarization function of BGP didn't work for me and I created an unreachable static route, which than I advertise via "redistribute static". It's crazy I know, but this is the only option that actually worked and I didn't bother to poke with this since I've configured it.
 
patrick7
Member Candidate
Member Candidate
Posts: 298
Joined: Sat Jul 20, 2013 2:40 pm

Re: Set BGP Origin Attribute in RouterOS

Tue Jun 07, 2016 1:09 pm

You can set the bgp origin on static routes.

/ip route set X bgp-origin=(egp igp incomplete)
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4051
Joined: Wed May 11, 2011 6:08 pm

Re: Set BGP Origin Attribute in RouterOS

Fri Jun 10, 2016 7:10 am

... Or you could just create a black hole type route and also add the same prefix to the network list, which would do the same thing, but originate it properly.
When given a spoon,
you should not cling to your fork.
The soup will get cold.

Who is online

Users browsing this forum: No registered users and 11 guests