Site Search

Joomla Templates and Joomla Extensions by JoomlaVision.Com

Latest Topics

Joomla Templates and Joomla Extensions by JoomlaVision.Com

[VMAX]VMAX Replication Technoledge - IBM Storage Line Product Counterparts 

[VMAX]VMAX Single Point of Failure - Engine 

[VMAX] Understand VMAX Virtualisation layers 

[VMAX]What is new with VMAX? 

[VMAX] EMC VMAX - Some Key Points about VMAX 

Pre 1 2 3 4 5 Next

You are here: Home Networking LAN

[Network Tutorial] How to view and add static routes?

PDFPrintE-mail

You can view the routing table or add static route on a server using route.exe command.
The following command displays all the static and dynamic routes on a system:
Route print

see figure-1 for a sample output
[Network-Tutorial]-How-to-view-and-add-static-routes-1
Figure-1 Route Print output

The syntax for adding a temporary static route is:
ROUTE [-f] [-p] [command [destination] [MASK netmask]  [gateway] [METRIC metric]  [IF interface]
Here is an example:
route ADD 157.0.0.0 MASK 255.0.0.0  157.55.80.1 METRIC 3 IF 2

To delete a route :
Route delete 157.0.0.0