Create an IPv4 routing table group so that interface routes are installed into two routing tables, inet.0 and inet.2:
- [edit]
- routing-options {
-
- interface-routes {
- rib-group if-rg;
- }
-
- rib-groups if-rg {
- import-rib [ inet.0 inet.2 ];
- }
- }
Create an IPv6 routing table group so that interface routes are installed into two routing tables, inet6.0 and inet6.2:
- [edit]
- routing-options {
-
- interface-routes {
- rib-group inet6 if-rg;
- }
-
- rib-groups if-rg {
- import-rib [ inet6.0 inet6.2 ];
- }
- }