How to configure multiple gateways for WinXP system to connect to different places

  

Our online environment is often replaced. Companies, homes, cafes, libraries, etc., every time you go to a WinXP system to configure a gateway, it is very troublesome, and many users do not know how to configure more Gateways, multiple gateways under WinXP system need certain steps, unfamiliar friends go down and see.

First of all, in the WinXP installation directory, write the routing program "route.bat"; file content:

route add target 1 mask subnet mask gateway 1

route add target 2 mask subnet mask gateway 2

route add 0.0.0.0 mask 0.0.0.0 default gateway

where target 1 is the first network number of the route, target 2 is the second network number of the route. The subnet mask is the subnet mask of the two networks.

Secondly, each time you start Windows, the routing program "route.bat" is automatically executed, and the shortcut to the program "route.bat" is added to the "Start" column of the menu. The specific setting steps are: click “ start → set → taskbar and start menu & rdquo;, custom start menu program.

Click “Add”, enter “C:\\Windows\ oute.bat” and press Enter. Here we assume that the Windows installation directory is "C:\\Windows". Then double-click the "Start" folder, enter the name of the program in the "Start" menu and click the "Next" button to select the program icon. Finally, modify the properties of the shortcut to the program "route.bat"; click “start →program →start”, right click on <route.bat”, select properties, select “minimize” and&ldquo ; close when exiting & rdquo;

There is another way: select the file you want to add to the "Start" item, then press the Microsoft logo button on the keyboard, select it in a place, and then pass this step It can be placed anywhere!

With the above settings, you can meet the needs of WinXP users to configure multiple gateways. It looks complicated, but it is quite easy to operate. As long as we prepare the route.bat file to the computer, the rest of the operation can be easily solved by step-by-step.

Copyright © Windows knowledge All Rights Reserved