Sunday, March 28, 2010

Setting persistent static route in Windows

This can come in handy from time to time. When working with servers you sometimes need to set static routes and even keep them persistent across reboots. Here is how you set a persistent static route in Windows.

route add -p [target] mask [netmask] [gateway] metric [cost] if [interface]

0 comments: