Ditch the Rib groups and join the future. Use the instance-import command under your VR routing options. You then reference a policy-statement that has all the logic you want.
For example this will grab my default route from my main table and bring it into whereever i apply this policy-statement
FW> show configuration policy-options policy-statement Get-1-Static
term one {
from {
instance master;
protocol static;
route-filter 0.0.0.0/0 exact;
}
then accept;
}
term LAST {
then reject;
}
[edit routing-instances My-New-VR]
instance-type virtual-router;
interface reth0.1
interface reth0.2
interface reth0.3
interface reth0.4
routing-options {
instance-import Get-1-Static;
}
You can still use policy-statments with Rib groups and achieve the same thing. I just dont like Rib groups once i saw how logical instance-import was.