Hi
I have made an installaion at a customer, that has 2 internet connections
I use track-ip and and 2 route statements for gateway of last resort with different metric.
set interface ethernet0/1.y monitor track-ip ip
set interface ethernet0/1.y monitor track-ip threshold 5
set interface ethernet0/1.y monitor track-ip ip 1.1.1.1 weight 50
unset interface ethernet0/1.y monitor track-ip dynamic
set route 0.0.0.0/0 interface ethernet0/1.y gateway 1.1.1.1 metric 10
set route 0.0.0.0/0 interface ethernet0/1.x gateway 1.2.1.1 metric 20
If the firewall fails to reach the track-ip it renders the first route inactive and uses the second route.
Regards
Hans