I tried disconnecting ISP1 on ge-0/0/0 and after a bit then got:
show services rpm probe-results
Owner: Probe-Server, Test: testsvr
Target address: 1.1.1.1, Probe type: icmp-ping
Destination interface name: ge-0/0/0.0
Test size: 10 probes
Probe results:
Internal error, Thu Mar 19 07:49:45 2020
Results over current test:
Probes sent: 10, Probes received: 2, Loss percentage: 80
Measurement: Round trip time
Samples: 2, Minimum: 2644 usec, Maximum: 9208 usec, Average: 5926 usec,
Peak to peak: 6564 usec, Stddev: 3282 usec, Sum: 11852 usec
Results over last test:
Probes sent: 10, Probes received: 2, Loss percentage: 80
Test completed on Thu Mar 19 07:49:50 2020
Measurement: Round trip time
Samples: 2, Minimum: 2644 usec, Maximum: 9208 usec, Average: 5926 usec,
Peak to peak: 6564 usec, Stddev: 3282 usec, Sum: 11852 usec
Results over all tests:
Probes sent: 1850, Probes received: 1841, Loss percentage: 0
Measurement: Round trip time
Samples: 1841, Minimum: 2485 usec, Maximum: 48585 usec,
Average: 4015 usec, Peak to peak: 46100 usec, Stddev: 5453 usec,
Sum: 7391625 usec
Owner: Probe-Server1, Test: testsvr
Target address: 2.2.2.1, Probe type: icmp-ping
Destination interface name: ge-0/0/1.0
Test size: 10 probes
Probe results:
Response received, Thu Mar 19 07:49:55 2020, No hardware timestamps
Rtt: 2044 usec
Results over current test:
Probes sent: 1, Probes received: 1, Loss percentage: 0
Measurement: Round trip time
Samples: 1, Minimum: 2044 usec, Maximum: 2044 usec, Average: 2044 usec,
Peak to peak: 0 usec, Stddev: 0 usec, Sum: 2044 usec
Results over last test:
Probes sent: 10, Probes received: 10, Loss percentage: 0
Test completed on Thu Mar 19 07:49:45 2020
Measurement: Round trip time
Samples: 10, Minimum: 1845 usec, Maximum: 1969 usec, Average: 1928 usec,
Peak to peak: 124 usec, Stddev: 34 usec, Sum: 19275 usec
Results over all tests:
Probes sent: 1851, Probes received: 1851, Loss percentage: 0
Measurement: Round trip time
Samples: 1851, Minimum: 1756 usec, Maximum: 3600661 usec,
Average: 4064 usec, Peak to peak: 3598905 usec, Stddev: 83622 usec,
Sum: 7521863 usec
and
show services ip-monitoring status
Policy - Server-Tracking (Status: FAIL)
RPM Probes:
Probe name Test Name Address Status
---------------------- --------------- ---------------- ---------
Probe-Server testsvr 1.1.1.1 FAIL
Route-Action:
route-instance route next-hop state
----------------- ----------------- ---------------- -------------
FBF-1 0.0.0.0/0 2.2.2.1 APPLIED
Policy - Server-Tracking1 (Status: PASS)
RPM Probes:
Probe name Test Name Address Status
---------------------- --------------- ---------------- ---------
Probe-Server1 testsvr 2.2.2.1 PASS
Route-Action:
route-instance route next-hop state
----------------- ----------------- ---------------- -------------
FBF-2 0.0.0.0/0 1.1.1.1 NOT-APPLIED
So it looks like RPM is detecting a failure, but I still can't ping the upstream gateway, it seems like my routing instances are either wrong or the wrong one is getting inserted? I'm still trying to get my head around what mistakes I may have made here:
firewall {
filter F1 {
term 1 {
from {
source-address {
192.168.8.100/32;
}
}
then {
routing-instance FBF-2;
}
}
term 2 {
from {
source-address {
0.0.0.0/0;
}
}
then {
routing-instance FBF-1;
}
}
}
}
routing-instances {
FBF-1 {
instance-type forwarding;
routing-options {
static {
route 0.0.0.0/0 next-hop 1.1.1.1;
}
}
}
FBF-2 {
instance-type forwarding;
routing-options {
static {
route 0.0.0.0/0 next-hop 2.2.2.1;
}
}
}
}
I think I'm mixing up something simple? Here are my routes:
show route
inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
1.1.1.2/32 *[Local/0] 03:10:18
Reject
172.16.30.1/32 *[Local/0] 03:10:17
Reject
192.168.8.0/24 *[Direct/0] 03:10:13
> via ge-0/0/2.0
192.168.8.1/32 *[Local/0] 03:10:17
Local via ge-0/0/2.0
2.2.2.0/24 *[Direct/0] 03:10:14
> via ge-0/0/1.0
2.2.2.150/32 *[Local/0] 03:10:18
Local via ge-0/0/1.0
192.168.20.1/32 *[Local/0] 03:10:17
Reject
FBF-1.inet.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[Static/1] 00:09:48, metric2 0
> to 192.168.13.1 via ge-0/0/1.0
1.1.1.2/32 *[Local/0] 00:21:22
Reject
172.16.30.1/32 *[Local/0] 03:10:17
Reject
192.168.8.0/24 *[Direct/0] 03:10:13
> via ge-0/0/2.0
192.168.8.1/32 *[Local/0] 03:10:13
Local via ge-0/0/2.0
2.2.2.0/24 *[Direct/0] 03:10:14
> via ge-0/0/1.0
2.2.2.150/32 *[Local/0] 03:10:14
Local via ge-0/0/1.0
192.168.20.1/32 *[Local/0] 03:10:17
Reject
FBF-2.inet.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[Static/5] 03:10:14
> to 192.168.13.1 via ge-0/0/1.0
1.1.1.2/32 *[Local/0] 00:21:22
Reject
172.16.30.1/32 *[Local/0] 03:10:17
Reject
192.168.8.0/24 *[Direct/0] 03:10:13
> via ge-0/0/2.0
192.168.8.1/32 *[Local/0] 03:10:13
Local via ge-0/0/2.0
2.2.2.0/24 *[Direct/0] 03:10:14
> via ge-0/0/1.0
2.2.2.150/32 *[Local/0] 03:10:14
Local via ge-0/0/1.0
192.168.20.1/32 *[Local/0] 03:10:17
Reject