Adding a static route

I'm trying to add a static route, which I can see
with the command ping.

The problem is that I don't know the metric

when using the command

route add name_route new_address metric ??

Any idea,,,. thanks in advance...
cblazqueAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

harrysCommented:
In normal cases you dont need to set the metric. Just set it to 1...

cu harrys
0
dgrimesCommented:
Are you sure you need to specify the metric? Usually a metric is specified when there is more than one route to a destination. The metric would be used to perfer one route over another. With only one gateway to a destination, you should specify 1 as the metric. I think this is the default.

Have you tried creating the route without specifying a metric? Are you able to reach your destination? If the route is to a different network, you may need to use the -net option and specify a mask.
0
langkjerCommented:
You don't need to use metric... use: route add [-net|-host] <address> <gateway>

I hope it helps...
  Andre Langkjer.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.