I'm introducing virtual routers (routing instances) into our EX4200 configuration so that I can better control how traffic flows between the VLANs.
The main config has this section to define the static routes:
routing-options {
graceful-restart;
rib inet6.0 {
static {
route ::/0 next-hop 2001:630:280::1;
}
}
static {
route 0.0.0.0/0 next-hop 193.63.211.1;
}
}
and the configuration for the private VLAN has been set up like this:
VR_Private {
instance-type virtual-router;
interface vlan.90;
interface vlan.91;
interface vlan.101;
interface vlan.102;
interface vlan.103;
interface vlan.104;
interface vlan.211;
routing-options {
static {
route 0.0.0.0/0 next-hop 193.63.211.1;
}
}
However, I don't seem to be able to find a way of defining the IPv6 static route to 2001:630:280::1. I've tried copying the rib statement but I get an error when I commit the configuration:
'rib inet6.0'
RT: rib inet6.0 is not in matching routing instance
Can someone please tell me how I define static routes in a routing instance?
Many thanks.
Philip