Nov 25, 2009
Adding a TCP/IP route to the Windows Routing Table
The Routing table dictates where all packets go when they leave your system. On most environments, all packets that leave your system will be forwarded over to your router or hub, and from there out to the internet.
In some circumstances, you may have a testing network configured to duplicate another environment, or you may be configuring a more complex network topology that requires the use of additional routes. Adding routes to your machine is a useful testing tool for some of these situations.
Syntax
ROUTE ADD “network” MASK “subnet mask” “gateway”
Example
ROUTE ADD 192.168.88.0 MASK 255.255.255.0 192.168.7.130
Syntax above will route any IP trafic from network 192.168.88.0/24 to gateway 192.168.7.130. So if computer try to connect IP 192.168.88.67, the traffic will forward to gateway 192.168.7.130.
The route add change will only stick across reboots if you add it with the -p flag, as in the following:
ROUTE -p ADD 192.168.88.0 MASK 255.255.255.0 192.168.7.130










































Related articles:
Top incoming search term for this post
windows routing,- windows route,- routing table,- iproute windows,-