Add permanent static route in Windows 7
What is a Routing Table?
A routing table is table that contains dictates who and what interface traffic should be sent to depending on the destination IP address. It is the primary component in the configuration of routers to ensure internetwork connectivity as packets are routed to their destination. For a Windows machine it is used to override the default gateway configured so you can introduce multiple networks and have the two networks be able to communicate with each other.
Display Current Routes
On the command prompt window type route print
This will display all the routes currently available on your system
Add a permanent route
Syntax: route -p add <destination subnet> mask <Destination subnet mask> <Your gateway>
route -p add 10.1.0.0 mask 255.255.255.0 10.0.0.254
here -p is for permanent route.
to delete a route the command is
route delete <destination subnet>
eg.
route delete 172.16.8.0