I have the s0 interfaces in seperate routing-interfaces because i have 2 ISPs and each ISP has a seperate routing interface. I think it is this way because i have seperate NATs on each ISP. do i need to have my so interfaces in my r1 and r2 routing-interfaces, or can i move them to inet.0 and leave my ISPs in their respective routing-instance? another reason i had the gr interface is because that is in my trust zone whereas i had to move the s0.0 and s0.1 interfaces to the zones associated with other interfaces in my routing-interface.
r1 { instance-type virtual-router; routing-options { static { route 0.0.0.0/0 next-hop 1.1.0.1; route 192.168.12.1/32 next-hop st0.0; rib-group static-int1-to-main; } interface-routes { rib-group inet int1-to-main; } } interface ge-0/0/0.0; interface st0.0; } r2 { instance-type virtual-router; routing-options { static { route 0.0.0.0/0 next-hop 1.1.1.1; route 192.168.12.4/32 next-hop st0.0; rib-group static-int2-to-main; } interface-routes { rib-group inet int2-to-main; } } interface ge-0/0/1.0; interface st0.1; }