Hello,
First of all, if You don't have a 0/0 route or have a 0/0 route with discard nexthop, then upon disappearing of more specific routes the packets will be rejected (no 0/0) or discarded (0/0 discard).
Secondly, You can use below workaround with "resolve" (assuming tunnel1.1 maps into st0.1):
[edit routing-options static]
+ route 217.72.233.1/32 {
+ qualified-next-hop st0.1 {
+ preference 20;
+ }
+ qualified-next-hop 169.254.0.0 {
+ preference 40;
+ }
+ resolve;
+ }
+ route 169.254.0.0/32 discard;
Instead of 169.254.0.0 You can use any other unreachable IP address.
The end result:
aarseniev@rtr> show route 217.72.233.1/32
Jul 24 18:40:20
inet.0: 6 destinations, 7 routes (6 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
217.72.233.1/32 *[Static/20] 00:04:30
> via st0.1
[Static/40] 00:07:28, metric2 0
to Discard
HTH
Thanks
Alex