Add static routes in Windows

Steps to add static routes in windows
This post will help you to manage multiple gateways in a PC. Eg: if you have two gateways 10.6.10.1 and 10.6.10.20. And you need to add static route to a diffrent network 192.169.10.0/255.255.255.0. through gateway 10.6.10.20.


Steps to followStep1: Login as Administrator and add all required gateways to NIC settings (use automatic metric)


Step2: run command prompt (or run as administrator in a normal user account)


Step3: To display the current route table.
C:\>route print
(verify the gateways added in step 1 is displayed in Gateway column)


Step4:add route to destnation network(192.168.10.0 255.255.255.0) through gateway 10.6.10.20
follow below format:
C:\>route<space>add<space><destination n/w><space>mask<space><destination n/w mask><space><gateway>
eg: route add 192.168.10.0 mask 255.255.255.0 10.6.10.20


Step5: To verify the added route in routing table
C:\>route print
Done, now connect to your destination network...

0 comments:

Related Posts Plugin for WordPress, Blogger...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons