General discussion

Locked

Route Command

By k4k ·
What is the function of route command , when i say Route in Command prompt , i get a table what are those ?? could you explain ?


what is Metric ? am seeing this Metric 1 & Metric 2 ?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Route Command

by cportman In reply to Route Command

The route command is used to view your local routing table. You will see a number of entries that are there by default like an entry for 0.0.0.0 and 127.0.0.1 and your ip address. The 0.0.0.0 entry is your default gateway. You can add static routes by entering ROUTE ADD (IP ADDRESS OF DESTINATION NETWORK) (MASK) (GATEWAY TO THAT NETWORK) (METRIC)

Metrics are used to determine the best path to a destination network. The lower the number the better the route. All local networks that you are directly connected to will have a metric of 1. Metrics are usually associated with "hops" - a hop is when i go from one router to another. When you do a tracert it traces the route over a maximum of 30 hops. Try going to a command prompt and entering TRACERT www.novell.com this will show you all the hops it takes to get to Provo Utah. If you have routes that have a metric of two your computer is less likely to use those routes unless those are the only entries to a certain network.

Hope this helps
cp

Collapse -

Route Command

by k4k In reply to Route Command

Poster rated this answer

Collapse -

Route Command

by joshg In reply to Route Command

The first guy has good info. We use the ROUTE command for our WAN routes. The problem with ROUTE is if you use just the ROUTE add command then the route is added only for that session. I have a batch file set in startup that runs and adds the routes as the server is started. This can also be done using ROUTE ADD -P (makes route permanent) no need for a batch file at starup.

Collapse -

Route Command

by k4k In reply to Route Command

Poster rated this answer

Collapse -

Route Command

by k4k In reply to Route Command

This question was closed by the author

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Operating Systems Forums