Community discussions

 
bda
Member Candidate
Member Candidate
Topic Author
Posts: 126
Joined: Fri Sep 03, 2010 11:07 am
Location: Russia,Moscow

Please describe "routing-table=" statement

Sat Sep 04, 2010 8:51 am

Dear developers, describe please "routing-table=" statement, and how it impact on mp-bgp. There is no clear detail description in wiki.

Should the default bgp instance be in some routing table? And what about vrf`s? Every vrf in separate routing table? Why winbox does not have this property for vrf?
God bless UNIX!
 
blake
Member
Member
Posts: 426
Joined: Mon May 31, 2010 10:46 pm
Location: Arizona

Re: Please describe "routing-table=" statement

Sat Sep 04, 2010 9:55 am

The default BGP instance is in the main routing table (routing-table=main). You are allowed to create additional routing tables for the purpose of policy routing. VRFs are each their own routing table. Although, MikroTik's VRF implementation doesn't create 'real' VRF's like Cisco or Juniper. It is actually just policy routing with a few differences:
Routes in VRF tables resolve next-hops in their own route table by default, while policy routes always use the main route table.

Route lookup is different. For policy routing: after route lookup has been done in policy-route table, and no route was found, route lookup proceeds to the main route table. For VRFs: if lookup is done, and no route is found in VRF route table, the lookup fails with "network unreachable" error. (You can still override this behavior with custom route lookup rules, as they have precedence.)
http://wiki.mikrotik.com/wiki/Manual:Vi ... escription

The routing-table parameter under /routing bgp instance lets you specify which table you want that particular BGP instance to bind to. It uses the same tables you established under /ip route or /ip route vrf with the routing-mark argument.

Refer to these docs for a bit more info on multiple routing tables in Linux and VRFs, if needed.

http://linux-ip.net/html/routing-tables.html
http://en.wikipedia.org/wiki/VRF
Last edited by blake on Sat Sep 04, 2010 10:28 pm, edited 1 time in total.
IT consultant. Network manager. Packet junkie.
1-928-328-1509
 
bda
Member Candidate
Member Candidate
Topic Author
Posts: 126
Joined: Fri Sep 03, 2010 11:07 am
Location: Russia,Moscow

Re: Please describe "routing-table=" statement

Sat Sep 04, 2010 7:27 pm

Thanks for detailed explanation! But than we can do it for bgp instance via winbox?
God bless UNIX!
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 5934
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Please describe "routing-table=" statement

Sun Sep 05, 2010 12:08 pm

Yes you can configure it in winbox.
Routing->BGP->VRFs(tab)
 
bda
Member Candidate
Member Candidate
Topic Author
Posts: 126
Joined: Fri Sep 03, 2010 11:07 am
Location: Russia,Moscow

Re: Please describe "routing-table=" statement

Sun Sep 05, 2010 1:46 pm

Yes you can configure it in winbox.
Routing->BGP->VRFs(tab)
But I cant specify routing table parameter for bgp instance via winbox. Is it right?
God bless UNIX!
 
bda
Member Candidate
Member Candidate
Topic Author
Posts: 126
Joined: Fri Sep 03, 2010 11:07 am
Location: Russia,Moscow

Re: Please describe "routing-table=" statement

Mon Sep 06, 2010 12:42 pm

Yes you can configure it in winbox.
Routing->BGP->VRFs(tab)
But I cant specify routing table parameter for bgp instance via winbox. Is it right?
Dear developers, could you describe situation with routing table parameter and winbox, please... Sorry for bumping this post...
God bless UNIX!
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8308
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Please describe "routing-table=" statement

Mon Sep 06, 2010 6:59 pm

some new parameters are available only in Terminal. later they are being added to WinBox
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
bda
Member Candidate
Member Candidate
Topic Author
Posts: 126
Joined: Fri Sep 03, 2010 11:07 am
Location: Russia,Moscow

Re: Please describe "routing-table=" statement

Tue Sep 07, 2010 10:59 pm

some new parameters are available only in Terminal. later they are being added to WinBox
Ok, thanks. Understood.
God bless UNIX!

Who is online

Users browsing this forum: No registered users and 9 guests