Hi,
I have EX4550 with JUNOS 12.3R11.2. I configured simple routing between instances. I want route traffic between 192.168.0.0/23 (master/default instance) and 192.168.2.0/24 (RA2 instance). Now I see correct routes in a routing table, but traffic isn’t forwarded directly between instances, but use default route. Do you have ideas why is it use default route instead route from routing table (more specific)? I try similar configuration on GNS3, it works well.
show route terse
inet.0: 8 destinations, 9 routes (8 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
A V Destination P Prf Metric 1 Metric 2 Next hop AS path
* ? 0.0.0.0/0 S 5 >192.168.15.2
* ? 192.168.0.0/23 D 0 >vlan.100
? D 0 >vlan.100
* ? 192.168.0.1/32 L 0 Local
* ? 192.168.0.61/32 L 0 Local
* ? 192.168.2.0/24 D 0 >vlan.200
RA2.inet.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
A V Destination P Prf Metric 1 Metric 2 Next hop AS path
* ? 0.0.0.0/0 S 5 >192.168.2.5
* ? 192.168.0.0/23 D 0 >vlan.100
* ? 192.168.2.0/24 D 0 >vlan.200
* ? 192.168.2.1/32 L 0 Local
routing-options {
nonstop-routing;
static {
route 0.0.0.0/0 next-hop 192.168.15.2;
}
instance-import from_RA2;
policy-options {
prefix-list SNMP {
192.168.2.2/32;
}
policy-statement from_RA2 {
term 1 {
from {
instance RA2;
route-filter 192.168.2.0/24 exact;
}
then accept;
}
term 2 {
then reject;
}
}
policy-statement from_master {
term 1 {
from {
instance master;
route-filter 192.168.0.0/23 exact;
}
then accept;
}
term 2 {
then reject;
}
}
}
routing-instances {
RA2 {
instance-type virtual-router;
interface vlan.200;
routing-options {
static {
route 0.0.0.0/0 next-hop 192.168.2.5;
}
instance-import from_master;
}
}
}