Community discussions

MikroTik App
 
User avatar
lcm
Trainer
Trainer
Topic Author
Posts: 57
Joined: Wed Apr 28, 2010 11:56 pm
Location: Brazil
Contact:

BGP Advertisement

Thu Mar 19, 2015 3:01 pm

Guys,

It's a normal behavior, or a winbox bug?

In Advertisement tab of BGP menu, i got a warning about too many advertisemement to show, but i know i have just 2, it's the first bug.

The second one: If i click "ok, click here to see them all" i can see my 2 advertisement, but for just 2 second and the warning show up again.


Thanks for your answer.
 
User avatar
lcm
Trainer
Trainer
Topic Author
Posts: 57
Joined: Wed Apr 28, 2010 11:56 pm
Location: Brazil
Contact:

Tue Mar 24, 2015 5:23 am

Anyone?
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: BGP Advertisement

Wed Mar 25, 2015 11:12 pm

Have you tried showing the same information from the command line interface?

If it shows only two and doesn't give the warning, then I would think it's a winbox bug.
Mikrotik support will probably need to answer this question better than I just did, though.
 
User avatar
lcm
Trainer
Trainer
Topic Author
Posts: 57
Joined: Wed Apr 28, 2010 11:56 pm
Location: Brazil
Contact:

Fri Apr 03, 2015 7:37 am

Yes, probably a winbox bug, as i said on first post, mikrotik guys confirm?
 
wpeople
Member
Member
Posts: 380
Joined: Sat May 26, 2007 6:36 pm

Re: BGP Advertisement

Tue Apr 07, 2015 12:24 am

just an idea: is it possible that you have multiple bgp connection and reflect provider1 (+your prefixes) to provider2?
 
User avatar
lcm
Trainer
Trainer
Topic Author
Posts: 57
Joined: Wed Apr 28, 2010 11:56 pm
Location: Brazil
Contact:

Re: BGP Advertisement

Tue Apr 07, 2015 12:28 am

just an idea: is it possible that you have multiple bgp connection and reflect provider1 (+your prefixes) to provider2?
Thanks for your answer, no, just one BGP peer.
 
joegoldman
Forum Veteran
Forum Veteran
Posts: 767
Joined: Mon May 27, 2013 2:05 am

Re: BGP Advertisement

Tue Apr 07, 2015 1:07 am

I get this problem too, on routers with thousands of routes or routers with ~20 routes, just never shows all the routes and is annoying.

Even when it does work (i.e. CLI) its slow as anything, this is the biggest performance boost required, searching through the route table and the advertisements table, taking 30s + is annoying as hell.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: BGP Advertisement

Tue Apr 07, 2015 1:26 am

Maybe they should add a new action in the /ip route "folder" - something like:

/ip route lookup 12.34.56.192{/mask}

If no mask or /32 mask is specified, it should return the exact route that would be used to reach 12.34.56.192.
(or multiples if ECM routes)
If a valid mask is specified, then only routes of that exact prefix should be returned (if any exist in the routing table)
If mask is /0 is specified, a list of all matching prefixes in the routing table which include the target should be returned.

Routes returned by 'lookup' should have all of the usual attributes that routes returned by 'find' have - protocol, distance, next hop, etc - so you could still use get/set/where, etc.

Of course Winbox would need a nice query window for this functionality, with checkboxes for OSPF, BGP, etc....
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: BGP Advertisement

Tue Apr 07, 2015 5:00 pm

Already possible
/ip route print where dst-address=12.34.56.0/24
/ip route print where 12.34.56.192 in dst-address
/ip route print where dst-address in 12.0.0.0/8

and so on.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: BGP Advertisement

Tue Apr 07, 2015 5:15 pm

Already possible
/ip route print where dst-address=12.34.56.0/24
/ip route print where 12.34.56.192 in dst-address <-- yaaay
/ip route print where dst-address in 12.0.0.0/8

and so on.
I never thought about flipping those around like that.

Works for me - curious how fast it is on a full bgp table. (don't have one to play with though)
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: BGP Advertisement

Tue Apr 07, 2015 5:25 pm

Depends on CPU speed. On Routerboards its quite slow.
 
User avatar
lcm
Trainer
Trainer
Topic Author
Posts: 57
Joined: Wed Apr 28, 2010 11:56 pm
Location: Brazil
Contact:

Re: BGP Advertisement

Tue Apr 07, 2015 5:30 pm

4 min on CCR 1036

with 3 bgp peer
536000 routes active

Already possible
/ip route print where dst-address=12.34.56.0/24
/ip route print where 12.34.56.192 in dst-address <-- yaaay
/ip route print where dst-address in 12.0.0.0/8

and so on.
I never thought about flipping those around like that.

Works for me - curious how fast it is on a full bgp table. (don't have one to play with though)
Last edited by lcm on Tue Apr 07, 2015 5:31 pm, edited 1 time in total.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: BGP Advertisement

Tue Apr 07, 2015 5:31 pm

It seems like you could hook the RIP lookup so that it's packet-fast even on a huge routing table.
(which is why I was thinking to make a "lookup" action in stead of filtering the output from a dump of the routing config + dynamic config)

EDIT- I mean RIB table lookup - what a funny typo it was to see RIP lookup. :?
Last edited by ZeroByte on Wed Apr 08, 2015 12:54 am, edited 1 time in total.
 
User avatar
lcm
Trainer
Trainer
Topic Author
Posts: 57
Joined: Wed Apr 28, 2010 11:56 pm
Location: Brazil
Contact:

Re: BGP Advertisement

Tue Apr 07, 2015 11:52 pm

Depends on CPU speed. On Routerboards its quite slow.
mrz, and what about the Advertisement table described on this thread?

bug confirmed?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: BGP Advertisement

Wed Apr 08, 2015 4:48 pm

Yes, its an old problem wait for v7.

Who is online

Users browsing this forum: No registered users and 19 guests