Adding A Route

 

  • Browse to C:WindowsSystem32
  • Right-click on cmd.exe and choose “Run as Administrator”
  • Add “route –p add “destination IP/Subnet” mask “subnet mask” “gateway IP” (route –p add 4.2.2.2 mask 255.255.255.255 192.168.1.1)
    • The –P makes it permanent. Without it, after rebooting, the route will be deleted.
    • The 255.255.255.255 subnet mask means all other routes will not use this path.
  • Use route print to verify the route was added.

Leave a Reply