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:
http://wiki.mikrotik.com/wiki/Manual:Vi ... escription
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.)
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
Refer to these docs for a bit more info on multiple routing tables in Linux and VRFs, if needed.
IT consultant. Network manager. Packet junkie.