• Add a static IP route in windows

    I have some problems trying to reach our internal networks while connected through VPN (virtual private network) ,to solve this problem ,you have to add a static routing for your internal subnets and keep this updated after computer rebooted.

    1. Open Command Prompt (run as administrator).
    2. At the command prompt, type:
      route add destination mask subnetmask gateway metric costmetric if interfaceFor Ex.
      route add mask

      To make a static route persistent, you can either enter route add commands in a batch file that is run during system startup or use the -p option when adding routes.
      route add mask -p

      Routes added by using the -p option are stored in the Windows registry under the following key:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpip ParametersPersistentRoutes


    Categories: Windows

    Comments are currently closed.