Solaris 10 static routes with metrics



Hi all,

I have what I think is a simple question.. but I can't find the answer.
On a Solaris 10 server, I want to add two routes to the same
destination, but over two different gateways. This is in case one of
the gateways (router) goes down - the server will know to use the
secondary router to get to my remote network.
I thought I could add 2 routes like this

route add net 192.168.1.0 80.1.5.1 (Standard route)
route add net 192.168.1.0 80.1.5.2 2 (backup route with 2 being the
metric)

When I do a route -v add net..... I see the message "old usage of
trailing number, assuming route via gateway". So, it seems yuo cannot
add a metric this way.

Can someone advise what I am doing wrong - how can I a) see the metrics
assigned to each route in teh routing table and b) how can I add a
static route with metrics?

Cheers

Grant

.